questions on unsolo's spe loader code

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

Post Reply
someone
Idiot
Posts: 71
Joined: Tue Sep 13, 2005 9:03 pm

questions on unsolo's spe loader code

Post by someone »

Hello i was taking a look into the code of the SPE Loader and I would be glad if you could answer soem wuestions i have. First of all in the Makefile why -e 0x80 is used? Is it something like a directive to the linker to load all of the executable in address 0x80? Another thing that bugs me is when SPE run this code in spe_loader.c runme(&functions,args);, how do we know that this is the main() function we are reffering and not some (for example) random .data section bytes( main is always stated first in the executable?? )?

Ok i have some other questions too but this is enough for now.

Thank you
Post Reply