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 

After excuting an eboot -> get back to your app

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



Joined: 24 Aug 2007
Posts: 88

PostPosted: Sun Mar 23, 2008 7:56 am    Post subject: After excuting an eboot -> get back to your app Reply with quote

Hii

I was searching around here, but can't find it.

My question : When i have excute an eboot in my app, and i exit that app, how code i to get back in my app?
So like in irshell, when exit homebrew/game, you will get back to irshell

Tnx in advance
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Sun Mar 23, 2008 8:43 am    Post subject: Reply with quote

You must patch the sceKernelExitGame function, but forget that, you don't even know how to use libraries..
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Sun Mar 23, 2008 4:21 pm    Post subject: Reply with quote

I now that. But i cant find any thread about it how to code it.

Someone. .
Help me

ty
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Sun Mar 23, 2008 8:00 pm    Post subject: Reply with quote

You can make a MIPS bootstrap or C one, there is no "thread", you must create it by yourself or ask someone who already made one.
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Sun Mar 23, 2008 8:02 pm    Post subject: Reply with quote

Ok thanks for the help Pirata Nervo !


You're the best :p
Back to top
View user's profile Send private message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Mon Mar 24, 2008 7:53 pm    Post subject: Reply with quote

As already told you, you have to patch the sceKernelExitGame function.
Have a look at this very useful tutorial http://ps2dev.org/psp/Tutorials/PSP_Modules,_Exports,_Imports_and_Patches
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
Cpasjuste



Joined: 29 May 2005
Posts: 214

PostPosted: Mon Mar 24, 2008 8:08 pm    Post subject: Reply with quote

You can also take a look at the great tyranid psplinkusb sources, the function is located in the psplink.c source file.
Back to top
View user's profile Send private message
PiCkDaT



Joined: 04 Oct 2007
Posts: 69

PostPosted: Mon Mar 24, 2008 10:22 pm    Post subject: Reply with quote

hmm, I would like to implement this too.. thanks for the help on where to find the function. I will have to look into this for mine and homemisters new release of LuaPlayerHM. We need to do this since LuaPlayer takes up too much memory to run another EBOOT(Theres a runeboot function in LuaPlayerHM.. which btw needs fixing)

but I see a problem.. this will only work in kernel mode right? LuaPlayerHM uses user mode so 2.00+ can run..... hmm... this shall need some fixing
_________________
Enlighten me, Reveal my fate -- Follow - Breaking Benjamin
Back to top
View user's profile Send private message AIM Address
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