Main Menu

WIP4 current progress.

Started by FOL, Today at 10:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FOL

I'm still hard at this. Learning so much as I go.
I have done every single fix / trick old pspuae did.

All testing has been done with bubblebobble (it has some blitter in it), using standard A500 config, immediate blits, 0 FS (render every frame).

In beginning, I was getting around 17 - 20 fps. After all the old pspuae stuff, it then got to around 23 - 25 fps.
I then started getting annoyed, spent all week on it. So I started doing some research on net. Stumbled across, "how to disable vsync on psp", I was like, hang on, I read it was hardcoded to screen hardware. Turns out its not, so I set about disabling it.

After vsync disabled, I saw fps shoot up to around 35 - 36. I was like, great. However CPU was still being hammered and showing 150% (in beginning, it was 200%+ all the time). I profiled code and already optimised all the hot paths. Still cant shift that 150% even with auto frameskip.
I then thought, lets disable audio, fps then at solid 44. Bare in mind, this is still using render every frame.

So answer is clear move AUDIO off main CPU. Spent all weekend on this. Last night, I was thinking. After some more research, I stumbled upon the ME CORE PROJECT. A team had started trying to unlock the ME CPU, as in sony kernel functions etc etc. Also this new project, gives you access to both cpu shared buffers, dmaplus and a lot of other cool stuff.

Now, this is when I realised, I was not using ME correctly in past experiments. I was only scratching the surface.
I have baked kernel support in, now working on using new ME CORE libs to move paula properly to ME. Past experiments, I was creating a thread for me on main cpu, so it was still running from main CPU in a way, meaning same overhead. Just gave cool stuff like perfect sound and menu mp3 player.

Will keep at it, in process of rewriting me audio code to use kernel functions, fingers crossed, :).
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire