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 

Api for rename or Mount your drive :)

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



Joined: 14 May 2005
Posts: 12

PostPosted: Wed Jun 15, 2005 11:17 pm    Post subject: Api for rename or Mount your drive :) Reply with quote

hi i've just found an api for mount or change the name of your drive .

Code:

STUB_START   "IoFileMgrForUser",0x40010000,0x000D0005
STUB_FUNC    0xb2a628c1 sceIoAssign
STUB_END 


Code:

int sceIoAssign(const char *name , const char *name2 ,const char *name3 ,int mode , int NULL_P , int unknown );


Code:

#define MS0_DEF_FOR_USE     "NEWms0:"
#define FATMS_DEF           "fatms0:"
#define DEVELOPER_DEF       "msstor0p1:/"   

#define O_RDWR      0x0003

// used like that :)
sceIoAssign(MS0_DEF_FOR_USE, DEVELOPER_DEF, FATMS_DEF, O_RDWR, NULL, 0);


Now you can use NEWms0: in drive or umdX if you whant :) .


Yoshihiro
_________________
Back to top
View user's profile Send private message
MindWall



Joined: 10 May 2005
Posts: 70

PostPosted: Wed Jun 15, 2005 11:43 pm    Post subject: Reply with quote

nice....! =)

next step is to mount isos or wads to drives ;)
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 -> PSP 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