Welcome, Guest. Please login or register.

Author Topic: PSPUAE  (Read 1798 times)

Description: v0.90 Beta 5

0 Members and 2 Guests are viewing this topic.

Offline F0LLETTTopic starter

  • Amigakit / A-EON Support
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1165
  • Country: gb
  • Thanked: 105 times
  • Gender: Male
    • Ultimate Amiga
PSPUAE
« on: February 09, 2026, 10:29:26 AM »
I finally dug out my old v0.90 Beta 5 code and got it compiling (after 14 years).
So back to working on PSPAUE. Working hard to get HDD support working.
After that is sorted, on to Dynarec and Pseudo-jit.

Have lots of other ideas to try.

Read more
« Last Edit: February 09, 2026, 10:31:21 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
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1165
  • Country: gb
  • Thanked: 105 times
  • Gender: Male
    • Ultimate Amiga
Re: PSPUAE
« Reply #1 on: February 17, 2026, 04:24:02 PM »
Still working on this, spent all last week and weekend debugging, still no luck. However PSPUAE is based on euae 0.8.29 wip3, now there were alot of changes in wip4. Alot of changes for filesys that fix alot of issues. This may explain double bus error on mount. So Im going to start fresh and merge filesys changes / fixes first. See if that gets HDF / Folders working.

Why I think this may be better idea, change log for wip4;

Filesystems being mounted twice
(bug fix)

support for harddisk files
(fixed)
geometry validation
safer open/close
better size handling
mount order fixes

Device timing and ordering fixes
filesys install timing
trap setup ordering
mount list initialisation

Broken delayed interrupt handling when JIT disabled (fixed)
Filesystem code relies on;
delayed interrupts
IO completion callbacks

Any of these could cause the issue I have been trying to debug.
Very frustrating, seeing traps setup (all correct) and then double bus error.
Spent hours debugging to find out, the setup traps are never called. Even tried forcing calls to them, which also did not work, :(. Even spent hours messing with boot ordering, hoping that would trigger traps.

If this works. I have a game plan on improvments. First will be to strip the entire source of everything we are never going to use. Not interested in bsdsocket, RTG, 030, 040, 060, FPU, MMU. Basically everything thats not realistic on PSP with its 333 MHz processor.

Once thats done, I will set about, optimising source with PSP specific stuff. Will also add Dynarec and Pseudo-JIT (as we cant have full jit). One that will make alot of people happy, I will switch audio to psp and include buffers. This should hopefully solve crackling sound.

I also removed threading, as it was causing issues, PSP does a sort of threading. Its a very stupid design, it starts a thread, if another starts it pauses other thread until that thread is finished. So not the threading people may assume, as I did. Or atleast thats my understanding of it.
« Last Edit: February 17, 2026, 04:27:16 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
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1165
  • Country: gb
  • Thanked: 105 times
  • Gender: Male
    • Ultimate Amiga
Re: PSPUAE
« Reply #2 on: March 02, 2026, 09:32:52 AM »
To update, I have moved to porting E-UAE Wip4. Got the source to a compiling state. Flattened it all down to one makefile.

Started debugging, it booted to title and version number. Using PSPLink, makes life so much easier. Found it was crashing at joystick init. Fixed that, got further, it now loads kickstart, then dies when CPU kicks in, NULL at pointer. Will keep at it.

Aim is to have an untouched uae core and only mess with psp backend. Obviously, uae core will need to be altered in places, but want to get it booting as clean as possible.

PSPLink, is great, however it takes up part of the heap memory. So you can run it once, then every attempt after that, gives you exhausted memory issues. Spent 2 hours chasing RAM issues, until I realised some of the RAM is taken by PSPLink.

Its all learning, but fun.
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.