Search found 5 matches

by Npl
Sat Sep 12, 2009 9:33 am
Forum: PSP Development
Topic: where to put patches for the toolchain? got a little one
Replies: 3
Views: 1830

you were right, patch dint work well. I redit the patch(-patch) and a fresh checkout now patches, compiles and works fine. I added the svn-diff between code-tags, but since i dont trust that fully, I uploaded a zip which contains both the svn-diff and the whole modified patch. Index: patches...
by Npl
Fri Sep 11, 2009 10:07 am
Forum: PSP Development
Topic: where to put patches for the toolchain? got a little one
Replies: 3
Views: 1830

where to put patches for the toolchain? got a little one

This patch adds support for __builtin_bswap32 . Index: patches/gcc-4.3.2-PSP.patch =================================================================== --- patches/gcc-4.3.2-PSP.patch (Revision 2469) +++ patches/gcc-4.3.2-PSP.patch (Arbeitskopie) @@ -118,13 +11...
by Npl
Thu Aug 24, 2006 11:13 pm
Forum: PS2 Development
Topic: Easiest way to dissassemble an (pure) binary?
Replies: 3
Views: 2406

I played with doing this at one stage, and what I did was dump ps2's kernel memory to a file and ran ee-objdump over it. I can't recall the exact cmdline options I used, but IIRC: -b sets the file format, ee-objdump -i will list all available. I dont have the toolchain with me now, but my i686-objd...
by Npl
Thu Aug 24, 2006 4:35 am
Forum: PS2 Development
Topic: Fast mirror image
Replies: 3
Views: 2493

Having uneeded multiplications in your code is generally a bad idea, using forward differences solves that. Also its better to use a pointer that advances instead of calculating offsets, saves instructions. if (SDL_MUSTLOCK(src)) SDL_LockSurface(src); ...
by Npl
Thu Aug 24, 2006 3:38 am
Forum: PS2 Development
Topic: Easiest way to dissassemble an (pure) binary?
Replies: 3
Views: 2406

Easiest way to dissassemble an (pure) binary?

Im fooling around with exceptions ATM and Im interested in what exactly the syscalls would do. For this I´m dissassembling Rom0-Modules, but I havent found an easy way to do so. 1. via bin2s & objdump - works, but I dont like how the binary is shifted down a few bytes. Makes tracing absolute adr...