ADFFS 2.18 beta
Posted: Wed Aug 21, 2013
To get ADFFS working on RO4/SA I've had to track OS_ChangeDynamicArea, implement Service_MemoryMoved and completely rewrite the abort handler, I also took the opportunity to optimize the code so it's about half the size it used to be. It's still not working 100%, although I've got it all running on everything except RO4/SA, which is a start.
There's two outstanding issues I need to resolve.
1. OS_ChangeDynamicArea needs to reset DynamicArea 2's pages before passing off to the OS. For some reason, calling OS_SetMemMapEntries causes the machine to hang. I suspect it's issuing Service calls and either corrupting registers or causing a loop. The only legal thing I can try here is to only issue OS_SetMemMapEntries on pages that have actually moved to see if there a bug when setting pages to the same location.
2. On RO4/SA there seems to be an issue with early/late aborting (eg STM R0! either increments R0 or resets it back to the original value on an Abort), for some reason the code which handles this doesn't work on RO4/SA, but does on everything else.
I've put 2.18d on the dev site, as it now includes the obey.zip file to override JFD Boot Scripts, I've also included all the trackers as I'm starting to make use of them where they work on later OS's. The other notable change is "Boot floppy" now boots within the WIMP, this will break quite a few games so you can hold CTRL to use the old method, the dialogue that comes up explains things. I've updated Zarch to work with either method, but haven't tested any other games yet.
There's two outstanding issues I need to resolve.
1. OS_ChangeDynamicArea needs to reset DynamicArea 2's pages before passing off to the OS. For some reason, calling OS_SetMemMapEntries causes the machine to hang. I suspect it's issuing Service calls and either corrupting registers or causing a loop. The only legal thing I can try here is to only issue OS_SetMemMapEntries on pages that have actually moved to see if there a bug when setting pages to the same location.
2. On RO4/SA there seems to be an issue with early/late aborting (eg STM R0! either increments R0 or resets it back to the original value on an Abort), for some reason the code which handles this doesn't work on RO4/SA, but does on everything else.
I've put 2.18d on the dev site, as it now includes the obey.zip file to override JFD Boot Scripts, I've also included all the trackers as I'm starting to make use of them where they work on later OS's. The other notable change is "Boot floppy" now boots within the WIMP, this will break quite a few games so you can hold CTRL to use the old method, the dialogue that comes up explains things. I've updated Zarch to work with either method, but haven't tested any other games yet.