And the major issue turned out to be within OS_Byte 19.
ADFFS 2.71x package now available, along with an updated Fireball II package. The scrolling font on the title page is now correct and hopefully no longer flickers.
And the major issue turned out to be within OS_Byte 19.
Just started looking at this and realised the code is being dynamically allocated, so its not going to be easy to fix via script. Looks like I will have implement the instructions in the JIT after all
I've checked through all the TOPOLOGIKA titles and I did fix the code in their boot scripts. Their exit issues are all Exit Handler related as I originally suspected.JonAbbott wrote: ↑Wed Feb 06, 2019 10:33 pm The remaining regressions are all related to Exit Environment Handlers. To fix them requires some major changes to the way they're handled, with I've pushed back to 2.80. It's possible the TOPOLOGIKA title issues are bugs in the game code, in which case I'll fix the boot scripts prior to release. I modified some to exit cleanly in the past and have possibly missed these ones.
Turns out I did implement the instruction a while back - STM Rn!,{<Rn in reglist>}, but it was reporting it when it should have only reported the ^ variation of it. With that fixed it highlighted an issue with the implementation of LDM Rn!,{<Rn in reglist>}, which I've also fixed.
It doesn't look like the OS always raises SeriousErrorV when an Abort occurs, so I can't currently trap aborts. I did code the handler up, but its obviously not getting called, so I've commented it out just in case there's a knock on effect down the line. Implementing it via an Exit handler isn't that easy as ADFFS is sitting under several layers of OS Exit handlers and it really needs to sit just below the Wimp so it can clean up before returning back to the desktop.
I'll see if I can reproduce it and will watch what it does in debug mode if I can. I've probably intruded a bug somewhere.
This has been confirmed, so back to the drawing board.