30/04/2007, 08:54 AM
QJ.net Wrote:Halfway there. Getting Daedalus R11 off the ground and into a handheld has a lot to do with memory saving and optimization, StrmnNrmn revealed a week ago. Well, one week later, he's been thumbing down those screws hard, and the results show:
* Streamlining the N64-format-to-PSP-format texture conversion process has halved the memory resources required for each texture, StrmnNrmn reports. Slightly faster than the previous approach, too.
* A "very simple one-line change" to the texture cache code makes the cache "100% leak-free" and a surprising 4-5% speedup.
* Last significant change to report is that he set a hard limit to how much memory the texture cache used. "This change means that if the limit is ever reached, I just display white textures until some texture memory is freed up a little later. Previously Daedalus would just keep allocating RAM until it ran out of memory and crashed, so the new solution is much nicer."
With these changes, StrmnNrmn says he "can permanently allocate 8MB for the Expansion Pak, and not worry about running out of memory." And also, with a few things left to do, he hopes to see R11 fly by the weekend.
- Source: [QJ.net]