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 a prx module in the psp slim extra ram?

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



Joined: 30 Sep 2006
Posts: 65

PostPosted: Sat Feb 23, 2008 12:42 am    Post subject: Load a prx module in the psp slim extra ram? Reply with quote

Hi, just wondering, is it posibble to load a prx in the slim extra ram?
I'm using sceKernelLoadModule but it seems it has access only to the
KERNEL and USER partitions. Has the pspsdk been updated to use the extra ram in the slim? Well hope anyone can help.
Back to top
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Sat Feb 23, 2008 4:34 am    Post subject: Reply with quote

If you use the PSP_LARGE_MEMORY = 1, the extra area will be added to user memory and you will be able to load user prx's there transparently. Of course kernel prx's is a different matter.
Back to top
View user's profile Send private message
theHobbit



Joined: 30 Sep 2006
Posts: 65

PostPosted: Sat Feb 23, 2008 9:39 am    Post subject: Reply with quote

Oh, thanks I will try that!
Back to top
View user's profile Send private message
theHobbit



Joined: 30 Sep 2006
Posts: 65

PostPosted: Sat Feb 23, 2008 11:29 am    Post subject: Reply with quote

Ok, I compiled my app with PSP_LARGE_MEMORY=1 in the makefile,
but sceKernelTotalFreeMemSize returns the same amount of memory than before (around 8 MB after loading some modules). Do I have to use the m33 sdk for this to work?

I'm loading the prx in the PSP_MEMORY_PARTITION_USER.
Back to top
View user's profile Send private message
theHobbit



Joined: 30 Sep 2006
Posts: 65

PostPosted: Sat Feb 23, 2008 12:56 pm    Post subject: Reply with quote

Hi, me again, i tried the ramsample from the m33 sdk and i'm only getting around 24 MB of free memory. I'm using firmware 3.90 m33.
Also i have the latest revision of the pspsdk. Can someone tell what's wrong?
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Feb 23, 2008 4:12 pm    Post subject: Reply with quote

Of course large memory only works when using stuff through an EBOOT, how are you running your app? For example if you dev in PSPLINK you need to add it to PSPLINKS eboot as well.
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