Should really start doing change logs. As I have done stuff I have forgotten now.
Current changes from 090 Beta 4;
- Completely move Paula to PSP ME CPU
--Audio, mixing and interpolation
--Ring buffer added, which dynamically fills and empties
-- Changed alot of the audio code in a way it aligns with 32bit
-- added left audio word and right audio word together in one word (means both channels are sent as one, instead of sperately)
-- There is a lot more, just forgotten. Will have to check my comments, to remember all.
Result of this, is a decent speed increase and audio is smooth. Im definately seeing FPS increase in Games and Demo's (obviously on stuff it struggles on it will still sound dodgy)
Using PSP's MP3 function to play MP3's while in menu. Figured as audio is on ME, its silent in menu. So tap into paula audio stuff to output MP3's. So setup a switch. Using emulator, you get Paula. When in menu, you get PSP MP3 decoder.
Works very well, been tweaking it for a week now, as I did with Paula move to ME. PSP can't handle MP3 above 128k bit rate, so you will need to conver them, else they will get skipped until it finds MP3 it likes.
- Build auto switching MP3 player for PSPUAE menu
-- Hardware MP3 decoding
-- Stream from files in /MUSIC/MP3/ folder
-- Buffers for both MP3 and PCM
-- auto switched outputs through paula output line
-- Auto scan /MUSIC/MP3/ folder
-- Create a playlist from scanned folder and play it
-- On every fresh launch of PSPUAE, it randomises playlist
-- Pause playback and resume, when entering and leaving menu
Left to do on player;
Gapless play back and few of tweaks.
-CPU optimisations;
-- Undo Rics sync copper without cpu code and put it back as it should be, EVENT triggers copper. Then apply his improvement on wget, as wput already has improvement
-- Mentioned before, limit the amount of times CPU polls "is there an event yet", this gives a decent speed increase, by itself
No good at writing change logs. So it gives jist of what I have done.
I'm going to experiment with setting Audio as main system clock and sync everything to that. If it works, compatability should be as it is now and it will take that pressure off CPU, giving us more speed.
Is anyone still interested in PSP and PSPUAE? are any of my beta testers still about?