Removable Hardware designations

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

Moderators: cheriff, Herben

Post Reply
xjen0vax
Posts: 1
Joined: Sat Jun 16, 2007 1:11 pm

Removable Hardware designations

Post by xjen0vax »

I'm looking for the drive designations for PS2 hardware. I know cdrom is "cdrom0:/", but I need to know the USB slots, the HDD, and the Memory card slots, as well as any others there may be.
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

usb is mass:/
network from ps2link is host:/
memory cards are mc0:/ and mc1:/
hard drive is hdd0:/
Depending on the cd driver you are using, it can also be cdfs:/

These all require that the appropriate IOP modules be loaded.
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

Post by cosmito »

Don't forget if you want to access the USB (mass:/) you also need the file USBD.IRX be present on the same path of your .ELF.
dlanor
Posts: 258
Joined: Thu Oct 28, 2004 6:28 pm
Location: Stockholm, Sweden

Post by dlanor »

There's also a big difference between some commercial drivers and the homebrew stuff we use in our own programs. That's part of the explanation for the existence of "cdfs:" as alternative to "cdrom0:", and also for the existence of "mass:" as alternative to "mass0:".

As regards USBD.IRX, some homebrew coders prefer to embed that file as well as many other IRXs into the ELF itself. That does waste some EE RAM space, but has the advantage of letting such ELFs load their IRXs without depending on any external files.

Best regards: dlanor
Post Reply