elf to irx

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
jaymacdonald
Posts: 22
Joined: Sat Feb 24, 2007 7:20 am

elf to irx

Post by jaymacdonald »

any idea how? just change file extension?
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

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).
User avatar
evilo
Posts: 230
Joined: Thu Apr 22, 2004 8:40 pm
Contact:

Post by evilo »

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)
jaymacdonald
Posts: 22
Joined: Sat Feb 24, 2007 7:20 am

Post by jaymacdonald »

mass_example.c? where can i find this?
Post Reply