elf to irx
-
- Posts: 22
- Joined: Sat Feb 24, 2007 7:20 am
elf to irx
any idea how? just change file extension?
hello no.
Either you do a .elf (made with ee gcc) that loads .irx (made with iop gcc) or a .elf that holds the binary image of the irx inside itself (best way to learn that last case is to study SMS source, a video player).
svn checkout svn://svn.pspdev.org/ps2ware/trunk/SMS
If you want to compile yourself a irx, see ps2sdk irx skeleton (if you are beginner just reuse SMS irx's or existing ones, so you just focus on learning the inter-dependencies between them and how initialize them by reading SMS source).
Either you do a .elf (made with ee gcc) that loads .irx (made with iop gcc) or a .elf that holds the binary image of the irx inside itself (best way to learn that last case is to study SMS source, a video player).
svn checkout svn://svn.pspdev.org/ps2ware/trunk/SMS
If you want to compile yourself a irx, see ps2sdk irx skeleton (if you are beginner just reuse SMS irx's or existing ones, so you just focus on learning the inter-dependencies between them and how initialize them by reading SMS source).
the easiest example is maybe the PS2SDK itself...
Start by having a look at the PAD sample, Since PADMAN is an IRX but located in ROM, you'll have a example of loading...
and then look at the usb mass sample (mass_example.c)
Once you are ok with the principle, take a look to something more complex... (like SMS if you want)
Start by having a look at the PAD sample, Since PADMAN is an IRX but located in ROM, you'll have a example of loading...
and then look at the usb mass sample (mass_example.c)
Once you are ok with the principle, take a look to something more complex... (like SMS if you want)