Main Menu

PSPUAEv2 (wip4) Progress

Started by FOL, 11 Aug, 2026, 09:27 AM

Previous topic - Next topic

FOL

Been quiet lately, due to attending Kickstart 03.
Back to it though, had the kickstart fully booting breakthrough with JIT. However its slow and has other issues.
So I will go back to focusing on main WIP4 source and work on JIT source at a slower pace.

Main goal now is to optimise and tweak it as much as I can to give speed increases.
Currently working on menu and CDROM support. CDROM support works, but its on its own thread which is block stalling main and audio threads when it accesses disc images.

Also, even though you can select CDTV, CDROM support is stubbed out in main source. So, will be adding code to make it follow same emulation path as CD32 (which works fine). Still loads to do, I thought, gfx, audio, menu done. Nope, lots of little tiny things. While audio part of paula is on ME, its still playing certain tracker music in games etc etc. in wrong order. Lotus and Turrican are perfect, as I used them to original test. Carrier Command randomly plays blocks in wrong order and very quickly. This also effect CD32 Kickstart screen, with no audio at all.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

Just inligned and fast pathed all Blitter code. That should help with speed testing now.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

Blitter code helped. Im now seeing CPU below 100%, for the first time ever. However, I must have botched the FPS limiter as its capping at 25FPS. Will see if I can fix tonight.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

Fixed, and also optimised the genlinetoscreen and linetoscreen code. That was doing 3 calls every time, its now doing 1 call and reusing instead of constantly reloading data.

Currently working on CDTV support. We know CD32 works through CDROM emu (Akiko talks to it fine), just trying to get CDTV DMAC to talk to it now. Almost there, thanks to Toni Wilen and his CDTV source.

Left to do, fix audio contining when emu pauses or resets. Also there is more timing issues, Im guessing as some games audio are jumbled up and to fast. I fixed it for Lotus and Turrican.
Finish menu, its almost finished. Add save states and configs support.
Get HDF and Folders up and running (have never tried) hoping it just runs like CD32 did.
I also going to profile last big speed killer, thats Chipset (custom).
I am also going to try and locate the edram 2mb mem for ME. Its not documented, so can use it yet.
I hope I find it, as, thats CPU to CPU via DMA, which will help with audio even more, as it means it never touched shared RAM at all, removed overhead.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

Got CDTV mostly working. Took longer than expected.
It still needs work as some iso images have weird block sizes.

HDF and Folder support is done.

Currently working through finding EDRAM for audio DSP.

Also hit an issue with PSP-1000 (PHAT). Spent hours getting size for eboot low, as possible. PHAT max out at 10MB.
Guards are in place to stop certain mem configs, so PHAT can only ever have 5.5MB or 10MB.
Same with HDF, PHAT can only NON RDB.

QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

EDRAM found. ME is now basically paula using all DMA transfers. So it never touches main ram or bus.
CPU just feeds the initial data via DMA into ME. ME then creates audio, mixes and spits it out through speakers.
Took me a while, but have it working on both PHAT and all other models.

Now testing if CDDA is viable, as ME is doing paula, not sure it will be able to do CDDA at same time.
I may look at VME/DSP later, but most of it is undocumented.

I also started work on added FAME/C 68k, for 020, planning on looking at how uae4all does 020 games and building on that.
So end result, we should have FAME/C for both 000 and 020. I may have to do 2 seperate releases as adding to one release means PHAT, will only be able to use only 5.5MB FAST.
QuoteResolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire