| View previous topic :: View next topic |
| Author |
Message |
theHobbit
Joined: 30 Sep 2006 Posts: 65
|
Posted: Sat Feb 23, 2008 12:42 am Post subject: Load a prx module in the psp slim extra ram? |
|
|
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 |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Sat Feb 23, 2008 4:34 am Post subject: |
|
|
| 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 |
|
 |
theHobbit
Joined: 30 Sep 2006 Posts: 65
|
Posted: Sat Feb 23, 2008 9:39 am Post subject: |
|
|
| Oh, thanks I will try that! |
|
| Back to top |
|
 |
theHobbit
Joined: 30 Sep 2006 Posts: 65
|
Posted: Sat Feb 23, 2008 11:29 am Post subject: |
|
|
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 |
|
 |
theHobbit
Joined: 30 Sep 2006 Posts: 65
|
Posted: Sat Feb 23, 2008 12:56 pm Post subject: |
|
|
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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sat Feb 23, 2008 4:12 pm Post subject: |
|
|
| 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 |
|
 |
|