| View previous topic :: View next topic |
| Author |
Message |
Allelujah
Joined: 16 Jul 2008 Posts: 10
|
Posted: Fri Sep 05, 2008 3:03 pm Post subject: The ominipotent PRX.. |
|
|
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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Fri Sep 05, 2008 3:12 pm Post subject: |
|
|
| no |
|
| Back to top |
|
 |
Allelujah
Joined: 16 Jul 2008 Posts: 10
|
Posted: Fri Sep 05, 2008 3:15 pm Post subject: |
|
|
| I see, thanks.. i just want to confirm the posibilities :) |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat Sep 06, 2008 3:00 am Post subject: |
|
|
| 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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sat Sep 06, 2008 3:09 am Post subject: |
|
|
| WEll yes you _can_ have a module which exists in all modes, but you cannot have one which doesn't reinitialize :) |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat Sep 06, 2008 4:14 am Post subject: |
|
|
| oh, yes, excuse me, I haven't read very well the post, sorry... |
|
| Back to top |
|
 |
Allelujah
Joined: 16 Jul 2008 Posts: 10
|
Posted: Sat Sep 06, 2008 6:49 am Post subject: |
|
|
@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 |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Sat Sep 06, 2008 8:15 pm Post subject: |
|
|
| Yes yes, I know, sorry |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sat Sep 06, 2008 10:42 pm Post subject: |
|
|
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 |
|
 |
|