 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Thu Aug 11, 2005 8:45 pm Post subject: PSPDev Launcher / OS Support |
|
|
Hi Folks,
I was just wondering. It should be possible to start up an OS again after you exit your program, right?
So say that I run PSPDev Launcher, and then boot up an elf, say p-sprint, and then if I had code in p-sprint to boot up PSPDev Launcher upon exit, that would work, right?
I was thinking that we could easily make something a standard where you set a file on your PSP to become the default program to start after you've finished, something which devers then could easily support.
We could simply add a routine that reads the path to the OS program from a config file, and if it finds one, boots that, else exits. (This would make the system compatible with future OS versions that can catch out an application themselves. )
It would really be nice, and also save a lot of devtime - boot up PSPDev, enable USB mode, copy test.elf, boot up test.elf, exit test.elf to PSPDev, enable USB mode, copy test.elf, etc. ;)
A. |
|
| Back to top |
|
 |
liquid8d
Joined: 30 Jun 2005 Posts: 66
|
Posted: Fri Aug 12, 2005 7:06 am Post subject: |
|
|
If the elf is run from a thread, you shouldn't need to call the program on exit... I'm looking into this..
LiQuiD8d |
|
| Back to top |
|
 |
JJPeerless
Joined: 20 Jun 2005 Posts: 82
|
Posted: Fri Aug 12, 2005 12:13 pm Post subject: |
|
|
uhh guys, have you seen my post on pspupdates, maxconsole, psp-spot, etc.. of my discordia 'os' its really just a shell tho..
which does basically what you guys are talking about
http://www.pspupdates.com/2005_08_10_archive.html
scroll down a bit to see the post
and heres the latest look of the gui as of today..
still far from being released..but getting there
www.teamdiscordia.com/screenshot.png
the cursor is the crosshair, the icons are managed by a data file..they can be saved and loaded, they can be selected like in windows, they can be dragged/moved around, double click to execute them, new home button look, you can see in the video.. usb support is working, and it also detects when the umd is in the drive.. more to come |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Fri Aug 12, 2005 6:42 pm Post subject: |
|
|
| I know, and I appreciate what you're doing. But I was wondering what method is used to return to the OS. Would you share that with us? Is it necessary to start the OS from the software or do you start a thread from the OS and hook up something into the callback for the home button so that it returns to your OS? |
|
| Back to top |
|
 |
|
|
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
|