hi, sorry for the nobbish question but i'm still learning...
i'm working on a port of mame4all for the psp,actually for my enjoy only, the exe as in all mame versions is very huge (~8.5Mb) and fill a lot of memory,so most of the bigger roms can't work(8Mbit+), i'm not totally sure why they can't work but i think they fill all the memory before the end of loading,small roms works without problems.
i'm on 3.10oe, are there some tricks to close all the vsh or any other memory eating process while the emulator runs? i'm not disturbed if i need to reset the psp on exiting.
i've tried a search before writing but the only useful thing i've found is a post about more 4mb ram usable with 1.5 kernel, still this apply to 3.10oe?
hints to gain maximum free memory
in pspsuspend.h, you have sceKernelVolatileMemLock that gives you 4MB extra RAM (that get invalidated if you put in sleep mode)
Alas, I couldn't make it work : I have a link error and don't know where the symbol is exported (-lpspsuspend ?).
If someone have an idea how to get it link with the PSPSDK ? (using DevKitPSP R9).
Cheers;
Alas, I couldn't make it work : I have a link error and don't know where the symbol is exported (-lpspsuspend ?).
If someone have an idea how to get it link with the PSPSDK ? (using DevKitPSP R9).
Cheers;
Tbh you are going about it the wrong way, you shouldn't be looking to "steal" more ram but recode mame to use less ;) The PSP has a general purpose module system, you could build the core mame code into your main executable and then make each driver a separate module. Would reduce code size massively, but hey each to their own :)