View Single Post
Old 05 June 2018, 10:05   #5
ross
Defendit numerus
 
ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,483
Quote:
Originally Posted by Asman View Post
Try this. I use it and it works like charm.
Thanks Asman

--
I always thought of an alternative and even if dangerous, a possibility came to my mind..
You cannot write in predefined sectors because of ADOS (file update outside game, disk validating, etc), but there is a zone ever usable and protected: bootblock.
So main idea is use some spare space of the bootblock for the hiscore (better if encrypted ), update bb checksum and use a lowlevel trackwriter.

Just an alternative thinking

EDIT: hmm, I reread what losso written, actually he did not specify on which device the save in needed.
Well, logically my unconventional idea is valid only for floppy.

For other devices, like phx suggested (delay all write operations until your program is about to return, like WHDLoad does), can be acceptable.
Anyone expects to be able to return to the workbench from an hdd installed game, so they require and use a proper exit.

Last edited by ross; 05 June 2018 at 12:03.
ross is offline  
 
Page generated in 0.04244 seconds with 10 queries