Welcome, Guest. Please login or register.

Author Topic: E-UAE WIP4 running on Sony PSP  (Read 3820 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #14 from previous page: July 23, 2026, 12:05:47 PM »
I'm currently working on 3 sources. the old pspuae, I mentioned here. Current WIP4, which I just improved input detection, added CDstack, so instead of real HW passthrough, it will passthrough cue, iso, cdda. Also started on GUI, its in the styling of 3.1. Last source I have been working on is a JIT test source. Had major breakthrough on that front last night. Gone from exception error before kickstart to full jit kickstart boot to a pink screen. Once jit is working, I will also see if I can back port it to old pspuae.

It needs a fair bit of tweaking, just wanted to get something together. Still needs audio runoff fixed. When you enter menu, main UAE cpu stops, the paula (now on ME) continues running its buffer. So you still hear around a second of sound.

Paused while I finish JIT. I want every feature going to be used working before continuing menu.
added stubbed menu (well some things work, like reset, quit etc etc). Just wanted to  some type of layout setup.

Just working on last part of JIT (said that so many times before, ;D), its now fully booting kickstart, but kickstart hits a privilege loop. Still trying to track it down. CPU just spins waiting for an event that doesn't happen because CPU's privilege level is always returning check incorrectly (putting it into a never ending loop).

Attached screenshots may not look perfect, as I said, needs tweaking. Plus I dont have proper screenshot system setup yet.
« Last Edit: July 23, 2026, 12:12:26 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #15 on: July 26, 2026, 02:30:19 PM »
Still working on JIT, fixed, the resident modules not being loaded. That was cause of first pink screen.
Got it further, then hit last missing instruction stubs. Added all remaining missing instructions and it got further to another pink screen.
That turned out to be unaligned mem issue. Its now currently, fully booting kikstart and then going into a constant reset loop. No crashing, no exception.
Its currently hitting serial poll and then resetting from custom chipset, so trying to track that down.
« Last Edit: July 26, 2026, 02:31:12 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP - JITS ALIVE
« Reply #16 on: July 28, 2026, 11:38:42 AM »
While banging my head, going round and round in circles.

I thought, why not try another rom. So I tried DIAG ROM, while the 32bit version seems not to work on winuae or PSPUAEv2. I tried the 16bit rom under JIT. It booted perfectly, I was able to test everything and JIT worked prefect through out. So, as 32bit is using longwords and all roms tried are 32bit.
Im currently checking I have the longword code correct.

Again, "almost there", :).
« Last Edit: July 28, 2026, 11:41:14 AM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #17 on: July 29, 2026, 12:23:14 PM »
Getting there slowly.

When I was at the point of starting to test.
It would give pink screen, no exception. Then progressed further to an exception, then further to another pink screen.
Now I have it booting to half way through ExecBase setting up rom stuff, then deciding something is wrong and it forces a reset, no guru though.

I know DIAGROM 16Bit, boots and works perfectly under JIT.
However it skips all the complex stuff a real rom does. So I will keep at it.
Maybe tonight I will have that breakthrough, if not, will switch back to getting menu finished, then I can start adding proper options. Been on JIT for around a week now, so will have a break from it. Be nice to play around with CD32 and CDTV, did do a test with of cdstack, in CD32 mode. Ran my compilation disc and played Microcosm.

Also want to revisit, ME Paula. As I think we should be getting alot more speed, since CPU, just says produce audio and hands ME data. ME then does everything else. Thinking of trying the ME 2MB scratchpad, so its all done locally, basically not using shared cpu memory. See if that gives us the speed I was hoping for.
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #18 on: August 05, 2026, 08:56:07 AM »
Got it going further.

JIT is now resetting due to a double allocation to same RAM, so fingers crossed this is last issue.

I did start a DynaREC, but abandoned, as I would hit same JIT issues. Instead, I added opcode caching, with its own handler.
Have to be fair, pleased with results. Although I was tired / lazy or both. Left all comments and files named DynaREC.

Testing with state of art, without, cpu is always around 200 - 400%, with caching, it drops to 110 - 200%. Still not perfect but a lot better.
Games also benefit, as they get an FPS increase. It also can tie into 68000, as JIT will not work for it. JIT is 020 and up only.
« Last Edit: August 05, 2026, 12:51:44 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #19 on: August 05, 2026, 11:53:03 PM »
Tonight, I finally got JIT booting the full kickstart. Its just crashing when trying to load disks.
Had a few fairlight cracktro screens boot, then it crashes. Trying to find bugs now.
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #20 on: August 11, 2026, 09:29:31 AM »
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.
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #21 on: August 11, 2026, 08:43:01 PM »
Just inligned and fast pathed all Blitter code. That should help with speed testing now.
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #22 on: August 12, 2026, 09:19:20 AM »
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.
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1242
  • Country: gb
  • Thanked: 121 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #23 on: August 14, 2026, 01:26:50 PM »
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 continuing when emu pauses or resets. Also there is more timing issues, I'm 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'm also going to profile last big speed killer, that's the Chipset (custom).
I am also going to try and locate the edram 2mb mem for ME. Its not documented, so cant use it yet.
I hope I find it, as that's CPU to CPU via DMA, which will help with audio even more, as it means it never touches shared RAM at all, removing overhead.
« Last Edit: August 14, 2026, 01:29:31 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.