Load a prx module in the psp slim extra ram?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
theHobbit
Posts: 65
Joined: Sat Sep 30, 2006 5:26 am

Load a prx module in the psp slim extra ram?

Post by theHobbit »

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.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

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.
theHobbit
Posts: 65
Joined: Sat Sep 30, 2006 5:26 am

Post by theHobbit »

Oh, thanks I will try that!
theHobbit
Posts: 65
Joined: Sat Sep 30, 2006 5:26 am

Post by theHobbit »

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.
theHobbit
Posts: 65
Joined: Sat Sep 30, 2006 5:26 am

Post by theHobbit »

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?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
Post Reply