Recent posts

#21
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - March 02, 2026, 08:20:20 AM
Flattened source 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.
#22
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 25, 2026, 07:55:49 AM
Well backend added. Now at the testing, debug stage.
#23
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 23, 2026, 01:39:38 PM
OK.

PSPUAE source has become a mess. So I'm in the process of trying to port a clean E-UAE wip4 to PSP.
Just spent last 2 days altering configure to config for psp. So we are not hacking code. It will just be a nice clean configure for psp.
It corrently configures fine and auto generators all stuff, like blitops, genblitter, gencpu, etc etc.

I'm just about to start adding all the PSP backend. Fingers crossed, it all works out.
#24
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 16, 2026, 08:29:05 AM
Still working on this, spent all 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.
#25
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 13, 2026, 08:08:19 AM
Got it to boot to last stage of mounting process.
If its not in the uae_fakefilesys, then I give up.

Everything is passed correctly (forced non-RDB uae.device HDF for testing) through all the mounting functions.
However fake filesys starts (which is final part of process) and sees the drive as all 0's or all F's. So it causes memory overflow and Amiga resets.

Where I left it, I was about to add write log, to check its using correct unit. If its reading wrong unit that is not there, that would explain symptoms.
#26
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 12, 2026, 08:01:20 AM
Ok, took a step back and decided to start from scratch this time.
Fresh source, I decided to log the entire HDF mounting process.

That showed, it gets to the mountinfo geometry part of the code, then it would trash the Amiga memory and cause double bus error. So started looking at geometry values. Some of them didn't look right.

So we have it mounting drive, installing filesys, installing device, gets datapackets ready, then memory corrupts and then over flows, causing double bud error.

Started checking geometry code and altering some parts of it, as it I think its not reporting correct size of HDF. I chose a known working rom and non-rdb HDF. HDF is 20MB in size, keep it small and simple for now. Code seemed to be dividing blocksize to make it something like 120. This is causing it to be seen as 16MB.

I now have it starting to boot, no more double bus error, but PSP now crashes. However before it crashes, I can now see a new log. uae_start_thread, so its now crashing as soon as it starts hardfile thread. May sound worse, but it still looks like memory corruption, its just taking out PSP now.
#27
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 11, 2026, 09:00:46 AM
Still on it.

PSPUAE never seems to install the filesystem, so spent all night trying to debug it.
Will continue tonight, crazy it just does not seem to want to work.
#28
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 10, 2026, 08:20:33 AM
Ok, looks like I was missing some code. Don't need a stub, as UAE auto sets uaehf.device automatically.
So even though, I ended up spending hours chasing wrong issue. I have learnt alot.

Basically, the config code is whats wrong. I forgot who ever added HDD selection code, bypass the HD handler.
They were calling add filesys directly. So it would mount HDF, after reading it, confirming size etc etc. then guru, after doing a double bus error.
add filesys, is for mounting folders as drive. So when it tries accessing hdf, it freaks out and starts messing with copper locations in memory and guru's.

Will work on it more tonight, determined more than ever to get this working.
#29
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 09, 2026, 08:06:39 AM
Update.

I started over with hdf support and I think Im close. To tired to continue last night.
I have it selecting hdf, logging all parts of mount and all looks good on that front.
However, PSPUAE cant use the scsemul part of source. With out this we get no scsi.device.
So kickstart moans it can not find scsi.device.

So plan now is, to add code to make it think uaehf.device is scsi.device, intercept scsi commands and pass scsi commands to uaehf.device. Fingers crossed.

On side note, I will get site revamped at some point.
#30
Ultimate Amiga Emulation News and Announcements / Re: 0.90 Beta 5
Last post by FOL - February 06, 2026, 09:07:45 AM
Seems the HDD issue is a lot more complex than I first thought.

Tried to get HDF working, just refuses to work. Original way it was being done was not the right way to do it.
Turned out, who ever added HDD selection code was trying to use filesystem to mount HDF. Thats not how its supposed to be done. filesys mounts are only ment for host folder hdd. After spending time trying to mount correct way (through Hardfile handler) it has come clear there are things missing from the source.

So have dumped HDF approach and will work on getting it working via host folders using filesys mounting.
Fingers crossed that will work. Even if its folder HDD's, its better than nothing.

After this, I was thinking of JIT. However JIT is way past my level of skills. So I was thinking of maybe a Psuedo-JIT.
Via caching code ready for it to be resused. More on this, when I look at it further.