Code: Select all
$ diskutil umountDisk /dev/disk2
$ dd if=/dev/disk2 of=image.dd bs=1m count=1
Code: Select all
$ diskutil umountDisk /dev/disk2
$ dd if=/dev/disk2 of=image.dd bs=1m count=1
Code: Select all
autoexec.bat
.autoexec.bat
.config.sys
config.sys
fdisk wouldn't let me start the partition at "sector" 63 but whatever, I nulled the SD card (TAKE THAT, WRITE CYCLES! NO 0xFF FOR YOU) so it compresses well.
Thank you! Finally a bit of good old productive bugfixing
Eh, I almost managed it. I hope the attached version fixes the problem, by what I see, it should. But it took 4 bytes . But I still have 4 bytes free for something awesome
It doesn't affect games anyhow, not even those which would use the bootloader interface for SD, it is just the game selector's filter determining from which files it assembles the game list. This filter was already designed so it skips every non-game file, so you can have up to 255 games on one card (regardless of how many extra files or long filename entries or whatever else might reside on it).
Then it works, after all, it is only a compare and a conditional branch within the filename filter among the rest. I am committing this to master then. Thank you for giving it a go!