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 

The ominipotent PRX..

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



Joined: 16 Jul 2008
Posts: 10

PostPosted: Fri Sep 05, 2008 3:03 pm    Post subject: The ominipotent PRX.. Reply with quote

I know that the thread title is a little bit crazy but it's related to my current work :). Ok, we all know that whenever we load game or vsh.. the PSP is being reset together with all the loaded modules.

Is it possible to keep a module alive?

For example, keeping USBHostFS running without the need to reinitialize it while switching from vsh to game, back and forth..


Last edited by Allelujah on Fri Sep 05, 2008 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Sep 05, 2008 3:12 pm    Post subject: Reply with quote

no
Back to top
View user's profile Send private message
Allelujah



Joined: 16 Jul 2008
Posts: 10

PostPosted: Fri Sep 05, 2008 3:15 pm    Post subject: Reply with quote

I see, thanks.. i just want to confirm the posibilities :)
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Sep 06, 2008 3:00 am    Post subject: Reply with quote

You can write your prx in the bootconf ( in the flash) but is dangerous, this will automatically reload your prx when you launch a game or something else!
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Sep 06, 2008 3:09 am    Post subject: Reply with quote

WEll yes you _can_ have a module which exists in all modes, but you cannot have one which doesn't reinitialize :)
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Sep 06, 2008 4:14 am    Post subject: Reply with quote

oh, yes, excuse me, I haven't read very well the post, sorry...
Back to top
View user's profile Send private message
Allelujah



Joined: 16 Jul 2008
Posts: 10

PostPosted: Sat Sep 06, 2008 6:49 am    Post subject: Reply with quote

@ne0h

Thanks for the reply, but Tyranid was right since writing on bootconf is the same as being re-initialized.

Getting to the point, I just want to keep USBHostFS driver alive after switching from vsh->game & game->vsh.

Files on host0:/ is accessible read & write, but the moment i try to load executables it says 0x80010002 which is no file or directory but it was previously verified exists before execution.

Anyway, it's impossible though.

After reading some old post. It seems that i have to remap host0: to another device & some patching is needed.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Sep 06, 2008 8:15 pm    Post subject: Reply with quote

Yes yes, I know, sorry
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sat Sep 06, 2008 10:42 pm    Post subject: Reply with quote

You can keep a module alive by starting you application (it will boot into game mode) and loading the game manually from your app.

You'll need to do some advanced crap like loading your stuff into kernel memory or volatile memory if kernel mem runs out and unloading the user memory part to make room for the game etc.
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