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 

Assign Flash To Folder

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



Joined: 14 Mar 2006
Posts: 6

PostPosted: Tue Mar 14, 2006 5:18 am    Post subject: Assign Flash To Folder Reply with quote

i have used this code:

[code]
sceIoUnassign("flash0:");
sceIoAssign("flash0:","msstor0p1:/flash0","fatms0:",IOASSIGN_RDWR,NULL,0);
sceIoUnassign("flash1:");
sceIoAssign("flash1:","msstor0p1:/flash0","fatms0:",IOASSIGN_RDWR,NULL,0);
[/code]

but my app assign at flash 0 & 1 the root of memory stick...because...I can solve this problem???

help ;)
Back to top
View user's profile Send private message
harleyg



Joined: 05 Oct 2005
Posts: 123

PostPosted: Tue Mar 14, 2006 6:05 am    Post subject: Reply with quote

you need
Code:

sceIoUnassign("flash0:");
sceIoAssign("flash0:","msstor0p1:","fatms0:/flash0",IOASSIGN_RDWR,NULL,0);
sceIoUnassign("flash1:");
sceIoAssign("flash1:","msstor0p1:","fatms0:/flash1",IOASSIGN_RDWR,NULL,0);
 
Back to top
View user's profile Send private message
Mirko-psp



Joined: 14 Mar 2006
Posts: 6

PostPosted: Tue Mar 14, 2006 3:39 pm    Post subject: Reply with quote

don't work :(
Back to top
View user's profile Send private message
hubevolution



Joined: 17 Mar 2004
Posts: 32

PostPosted: Wed Mar 15, 2006 1:13 am    Post subject: Reply with quote

are you using this code on 1.50 or 2.01+ ?
Back to top
View user's profile Send private message
Mirko-psp



Joined: 14 Mar 2006
Posts: 6

PostPosted: Wed Mar 15, 2006 1:23 am    Post subject: Reply with quote

1.50-...

this code work but assign the flash at the root of memory..

i want assign a folder!!!
Back to top
View user's profile Send private message
lS[UMD/2kdlSU]



Joined: 26 Oct 2005
Posts: 8
Location: Shiga, Japan

PostPosted: Wed Mar 15, 2006 11:21 pm    Post subject: Reply with quote

Second argument of sceIoAssign must be BLOCK DEVICE, not folder.
And third argument must be FILE SYSTEM DRIVER. This is also not folder.

sceIoAssign function only makes connection between block device and file system.
SO, You need to write ORIGINAL DRIVER like MPH Firmware Launcher.

the source of mph firmware launcher can be found:
http://mphwebsite.tuxfamily.org/index.php?program=15
_________________
lS[UMD/2kdlSU] - now working as 67...
----------------------------------------------
site: jap | eng
jap blog: here
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
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