| View previous topic :: View next topic |
| Author |
Message |
jaymacdonald
Joined: 24 Feb 2007 Posts: 22
|
Posted: Sat Feb 24, 2007 8:34 am Post subject: elf to irx |
|
|
| any idea how? just change file extension? |
|
| Back to top |
|
 |
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Sat Feb 24, 2007 7:07 pm Post subject: |
|
|
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). |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
Posted: Sat Feb 24, 2007 8:16 pm Post subject: |
|
|
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) _________________ http://psxdev.info/evilo/ |
|
| Back to top |
|
 |
jaymacdonald
Joined: 24 Feb 2007 Posts: 22
|
Posted: Sat Feb 24, 2007 11:59 pm Post subject: |
|
|
| mass_example.c? where can i find this? |
|
| Back to top |
|
 |
|