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 

Load prx in service mode

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



Joined: 01 Mar 2008
Posts: 28

PostPosted: Mon Jun 09, 2008 10:03 am    Post subject: Load prx in service mode Reply with quote

Hello,

i've created a little app that required kernel mode, so i made a prx.
But then i tried using service mode and thats what i want to create it for. but i try,

Code:

SceUID mod = pspSdkLoadStartModule("kernel.prx", PSP_MEMORY_PARTITION_KERNEL);
if (mod < 0) { printf(" ! Error 0x%08X loading/starting prx.\n", mod); }


Im running in vsh mode and i get the error 0x8002032C (No Cwd ??) <- probably coz im using a 3.XX kernel prx on a 1.50 based thing

But yea, i dont wont to put it into a single app because when i did, i changed it to kernel mode and added the kernel functions then i wouldnt even load :S.

Is it possible to load a 3.XX prx (elf, unencrypt) to get the prx to load.?

If you have an idea please let me know,

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



Joined: 09 Oct 2007
Posts: 409

PostPosted: Mon Jun 09, 2008 6:03 pm    Post subject: Reply with quote

try giving the full path instead of giving kernel.prx only
_________________

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



Joined: 01 Mar 2008
Posts: 28

PostPosted: Tue Jun 10, 2008 9:05 pm    Post subject: Reply with quote

thanks it worked, id never would have guessed that i had to use the full path :s *gets embarrassed*

in 3.xx it must ave changed to either what i was using and the full path?. lol


thanks again.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Jun 11, 2008 12:50 am    Post subject: Reply with quote

That's one thing I wish would get cleared up on a future rev of the firmware - that inconsistency on when the working directory has been set and when it hasn't. It should ALWAYS be set.
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