Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: 0.90 Beta 5  (Read 1642 times)

0 Members and 3 Guests are viewing this topic.

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
0.90 Beta 5
« on: February 01, 2026, 05:58:56 PM »

This was the last release back in 2014. Since then I have not been able to get it to compile.
However this afternoon. Finally got it compiling with latest GCC and toolchain.

So with that said, expect work to continue on PSPUAE, :).
Only issue I can see at present with updated source, is the LEDs are messed up. Still working on fixing them.
« Last Edit: February 01, 2026, 06:01:39 PM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #1 on: February 01, 2026, 08:53:19 PM »

Update leds fixed, but are vertical.
Going to leave it there for now. Already spent 8 hours on this.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #2 on: February 02, 2026, 08:12:33 AM »

Also appears OSK is not working.
LED and this issue, are down to changes made to make it compile with latest GCC.

May work on it some more tonight. Once I have these sorted. Source will be as it was back in 2014.
Can then use that as a base to update and improve it.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #3 on: February 02, 2026, 09:52:40 PM »

All fixed. Now have working source to continue working from.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #4 on: February 04, 2026, 08:10:12 AM »

Plan is.

Get AGA menu option working correctly. Meaning no more having to set AGA on start to get it to set CS Masks correctly.
Then look at getting HDF / folder support fixed.
Then will look at optimising code for speed.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #5 on: February 05, 2026, 08:24:10 AM »

Decided to go with HDD support first.
Spent some time on it last night, hoping to do some more on it tonight.

If I recall, logs showed it was passing massive negative value to UAE for HDF size.
Previously I did start aligning mem to 32bit, which the PSP likes. So its proberly not the cause, but maybe part of it.
« Last Edit: February 05, 2026, 08:28:33 AM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #6 on: 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.
« Last Edit: February 06, 2026, 12:06:07 PM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #7 on: 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.
« Last Edit: February 09, 2026, 08:56:37 AM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #8 on: 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.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #9 on: 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.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #10 on: 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.
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #11 on: 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.
« Last Edit: February 13, 2026, 08:38:51 AM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire

FOL

  • PSPUAE Dev Team
  • Site Admin
  • A4000T
  • ******
  • Karma: 690
  • Offline Offline
  • Gender: Male
  • Posts: 3,586
  • Amigakit.com Technical
    • PSPUAE
Re: 0.90 Beta 5
« Reply #12 on: Today at 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.
« Last Edit: Today at 08:54:20 AM by FOL »
Logged
Quote
Resolute and Industrious
Grand ruler of the yellow people and the Ultimate Amiga Empire
Pages: [1]   Go Up
 

TinyPortal 2.3.1 © 2005-2023