forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Removable Hardware designations

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
xjen0vax



Joined: 16 Jun 2007
Posts: 1

PostPosted: Sat Jun 16, 2007 1:24 pm    Post subject: Removable Hardware designations Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
ubergeek42



Joined: 13 Jul 2005
Posts: 83

PostPosted: Sat Jun 16, 2007 1:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address MSN Messenger
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Sat Jun 16, 2007 10:19 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
dlanor



Joined: 28 Oct 2004
Posts: 269
Location: Stockholm, Sweden

PostPosted: Sun Jun 17, 2007 4:33 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group