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 

PSPDev Launcher / OS Support

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



Joined: 12 Jul 2005
Posts: 426

PostPosted: Thu Aug 11, 2005 8:45 pm    Post subject: PSPDev Launcher / OS Support Reply with quote

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
View user's profile Send private message
liquid8d



Joined: 30 Jun 2005
Posts: 66

PostPosted: Fri Aug 12, 2005 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
JJPeerless



Joined: 20 Jun 2005
Posts: 82

PostPosted: Fri Aug 12, 2005 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Fri Aug 12, 2005 6:42 pm    Post subject: Reply with quote

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
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