Page 2 of 13
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by JonAbbott
wmd wrote: Tue Jan 28, 2025
after getting a high score (only tested in Mazey Man) the egg timer does not appear after 3 seconds. After waiting more than 3 seconds, did a reboot and score was not saved
Take a copy of the JFD, mount it, delete one of the files...wait 10 seconds, reboot, remount the JFD and see if the file has gone.
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by wmd
JonAbbott wrote: Tue Jan 28, 2025
Take a copy of the JFD, mount it, delete one of the files...wait 10 seconds, reboot, remount the JFD and see if the file has gone.
This worked - the file I deleted, and waited 10 seconds for before booting was gone when I rebooted. There was no hourglass though during those 10 seconds.
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by JonAbbott
wmd wrote: Tue Jan 28, 2025
This worked - the file I deleted, and waited 10 seconds for before booting was gone when I rebooted. There was no hourglass though during those 10 seconds.
It would probably have been quick enough for the Hourglass to not appear. Watch the file in a Filer window and you should see the timestamp change after it's flushed the write back.
It sounds like ZLib can't allocate enough RMA to perform the compression when in-game. I'm not sure how much RMA it actually requires, but watching the RMA size during an *ADFSave, ZLib increased it by 384KB, so try manually increasing the RMA by 400KB before booting the floppy. I'm not convinced that will fix it, but it's worth testing.
Also update ADFFS from the OP. Whilst trying to reproduce this, I noticed ZLib was leaking RMA - which would not have helped here.
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by wmd
I set Module area to 1200K before booting the game but saving still not working in Arcade 3 (using the ADFFS build you just uploaded).
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by JonAbbott
I can't think what else it would be, other than an RMA allocation issue. It's odd I can't reproduce the problem.
Is the JFD on ADFS::4 ?
I do need to look at reserving memory for compression, as relying on the RMA is problematic with some games. I could also look at falling back to uncompressed as a last resort if it can't allocate enough for compression.
Re: ADFFS 2.86 public beta
Posted: Tue Jan 28, 2025
by wmd
JonAbbott wrote: Tue Jan 28, 2025Is the JFD on ADFS::4 ?
Yes.
Re: ADFFS 2.86 public beta
Posted: Wed Jan 29, 2025
by JonAbbott
wmd wrote: Tue Jan 28, 2025
I set Module area to 1200K before booting the game but saving still not working in Arcade 3 (using the ADFFS build you just uploaded).
See if the attached works, I've tweaked the compression settings to reduce the RMA memory required to below 32KB.
Re: ADFFS 2.86 public beta
Posted: Wed Jan 29, 2025
by wmd
Just tested, and still no dice. Hourglass didn't appear after 3 seconds of entering high score and there was no visible hard drive activity (no HDD LED flashing).
Re: ADFFS 2.86 public beta
Posted: Wed Jan 29, 2025
by JonAbbott
I'll probably need to add some debug output to figure out what's happening.
Re: ADFFS 2.86 public beta
Posted: Thu Jan 30, 2025
by JonAbbott
wmd wrote: Wed Jan 29, 2025
Just tested, and still no dice. Hourglass didn't appear after 3 seconds of entering high score and there was no visible hard drive activity (no HDD LED flashing).
Please try the attached. It will set screen border colour at various stages, let me know what colour it ends up at so I have a rough idea of where the issue is.
The colour sequence is:
Dark red - disc write occurred
Bright red - write-back to JFD requested (should occur 3s after dark red)
Orange - write-back to JFD scheduled
Dark green - write-back started
Magenta - an error occurred
Bright green - write-back successful