Welcome, Guest. Please login or register.

Author Topic: E-UAE WIP4 running on Sony PSP  (Read 618 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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
E-UAE WIP4 running on Sony PSP
« on: June 03, 2026, 02:43:21 AM »
Finally got it to boot and display sort of a kickstart screen. Hard part is finally over, boots with no errors, :).

I know what I'm doing tomorrow. Fixing it so it displays properly, then will start on adding mouse / joystick support, then menus.
« Last Edit: June 03, 2026, 02:47:19 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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #1 on: June 05, 2026, 12:41:01 PM »
Now have sound and gfx working correctly. Just profiling code, so I can increase speed as is currently quite slow.
« Last Edit: June 05, 2026, 12:41:36 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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #2 on: June 10, 2026, 12:41:45 PM »
OK, so I have been spinning gears on this for last few days.
Getting fed up of not being able to shift the CPU usage, even with framskip.

After hours of tweaks for PSP hardware. I finally realised, after adding auto frameskip.
I looked at E-UAE homepage and found out, there was no auto frameskip, hence me adding it.
However, it turned out frameskip is just broke. For last week I have been optimising and tweaking, using different FS settings, without realising, every test was with FS stuck on 1.

Currently up to 45 FPS running bubble bobble, it feels quite smooth. I have added buffer to sound to improve it for testing.
Currently, CPU load is around 120% at around 45 FPS. Which is pretty good considering, When I started it was 200%+ at 17 FPS.

Will get Frameskip fixed, as its important.
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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #3 on: June 15, 2026, 12:24:42 PM »
So rewrote GFX backend. Had it working fairly decent. Pixel perfect 4:3, 16:9 stretch. Then I stupidly messed up source and forgot to backup.

So spent last 4 days, re-writing it all again. Have to be fair, glad I did. We now have;
1, 4:3 pixel perfect & 16:9 stretch.
2, Autozoom (both 4:3 and 16:9), incase you wonder what it is. It only draws to the screen the actual amiga content. Meaning no bands around screen.
3, Mask effects. Currently, there are 3 (1=scanlines, 2=rgb apeture and 3=Shadow mask).

I will leave it there. As I'm getting way side tracked. GFX-PSP Backend is complete.
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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #4 on: June 16, 2026, 12:53:43 PM »
As a side project, since February I have been working on mips JIT.
I'm almost at a point to start passing instructions, so I'm hopeful, soon we will have JIT support.

I could really do with some beta testers.
As I can only test so much.
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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #5 on: June 19, 2026, 08:57:28 AM »
I now have JIT working, just need to debug and optimise as its really slow.
« Last Edit: June 19, 2026, 04:36: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.
 

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support / PSPUAE DEV
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #6 on: June 22, 2026, 12:22:22 PM »
Spent all weekend at getting JIT running correctly. On home stretch now. Its about 99.5% done.
I know its all working as its actually reusing JIT blocks from RAM, however its not from ROM area and that's killing speed.
Figures crossed, I get it working tonight.

Also spent some time on Inputs. Wired PSP control stuff into E-UAE, so it see's all controls and buttons and you can configure them using current E-UAE config.

I think a full on GUI is next on list.
« Last Edit: June 22, 2026, 12:26: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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP
« Reply #7 on: June 23, 2026, 09:05:56 AM »
Its now 99.9% done.
JIT system is working 100% as it should, just slow. Reason turns out the counter to decide to reuse ROM stuff compiled blocks is stuck on 0. Meaning it never reuses the JIT blocks, so no JIT path for those. However, RAM stuff compiled blocks JIT fine. So while logging shows, it checks the ROM blocks 35million times in a 5 min test, 0 are used. Compared to RAM blocks, where 29 are used.

Just need to workout issue with counter. Then everything should JIT.
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: 1221
  • Country: gb
  • Thanked: 120 times
  • Gender: Male
    • Ultimate Amiga
Re: E-UAE WIP4 running on Sony PSP - JIT
« Reply #8 on: June 23, 2026, 09:41:05 PM »
Now have JIT promoting all blocks. However I'm getting proper amiga crashes.
JIT handler is jumping to garbage data and crashing. So debugging that now. Almost there, last hurdle, :).
Be happy once this is done, been on it for over a week, since getting to running-ish state.
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.