John West wrote:
It's unlikely that an SD card will erase old versions of a file - they normally try to avoid unnecessary writes. But that's OK! Just use a slightly shorter magic signature, and include a version number and page number after it.
When you see the signature during scanning, check the version number. If it is greater than the one you currently have for this page, load it.
It does complicate the loading code a bit, but hopefully not too much.
You are correct, I have verified this using a sector editor.
The workaround is to simply full format the card each time.
I will maintain a directory on the PC where my Vulcan-74 toolkit resides, and it is copied to a fresh formatted SD.
If this all works as planned, I will add this functionality right into my Vulcan-74 Toolkit.
Currently it can format sound and graphics data, and make the boot images.
I am looking into the RAW write idea suggested by TOR now.
If I can find a simple Windoze program to make a pure image from a directory of files, then this simplifies everything.
It would just be a matter of making my Toolkit create that image based on the required data.
From there, the Diode Matrix would hold just enough code to get the SD into RAW Read mode for the 6502.
I wonder if some of these imaging programs like TrueImage can do it?
Something to look into while I am waiting for the next free weekend of hacking time.
Actually, why would I need a ready made program? I can code.... doh!
I will be looking for a few Visual Studio examples showing how to RAW write to an SD Card.
Once I find one, I will just add the function to "Make Cartridge Image" right into my toolkit!
.... yeah, this is the new plan.
Thanks for the suggestions and ideas!
Brad