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 

Is it possible?

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



Joined: 13 Apr 2007
Posts: 48

PostPosted: Sat May 19, 2007 8:12 pm    Post subject: Is it possible? Reply with quote

Is it possible to execute an eboot from my application?
And if yes , how can i make my application to still work on the background?
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sun May 20, 2007 6:04 am    Post subject: Reply with quote

if the main application that is launching the eboot is in usermode
then its entry address will be 0x89.. when you launch your eboot
you must change its entry address ahead of your main apps memory
space that it is occupying, set which address and other fields using the
member variables of the LoadModuleOption before loading the eboot

and tip: do not forget how large your main apps heap size is as your
other eboot can fall into this area and screw things up ...so remember
to setup a small as possible heap size for your main app using the macro
PSP_HEAP_SIZE_KB(xxxx)

if you are brave enough then do as i do and make your main app in kmode
memory space and then load your other eboot in usermode space
alot of good things can be done with just threads and it is wise to remember
http://svn.ps2dev.org/filedetails.php?repname=psp&path=%2Ftrunk%2Fpspsdk%2Fsrc%2Fkernel%2Fpspthreadman_kernel.h&rev=0&sc=0[/url]
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
nDEV



Joined: 13 Apr 2007
Posts: 48

PostPosted: Sun May 20, 2007 7:09 am    Post subject: Reply with quote

wah..
Thanks for the information , but , i dont think im ready for this yet :X
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