Page 1 of 1
Removable Hardware designations
Posted: Sat Jun 16, 2007 1:24 pm
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.
Posted: Sat Jun 16, 2007 1:32 pm
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.
Posted: Sat Jun 16, 2007 10:19 pm
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.
Posted: Sun Jun 17, 2007 4:33 am
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