diff options
author | 2019-07-31 11:26:04 +1000 | |
---|---|---|
committer | 2019-08-13 13:42:13 +1000 | |
commit | 10f480911da66a56f5e70667c4019468ba04faf2 (patch) | |
tree | 3b91cb9ce3097928df6ad513b7a37d6133d5249e /scripts/src/formats.lua | |
parent | 6bf8519cf5de98bd85d1e766a795d0f165766749 (diff) |
swtpc09: add a UniFLEX specific floppy format.
The UniFLEX disk format is not compatible with the Flex format. Significantly it
does not use a mix of single density for booting on some double density disks
which makes it simpler - hardware required a new boot ROM to run UniFLEX.
Further, the UniFLEX sector size is 512 bytes versus 256 for Flex, and the
UniFLEX 'SIR' info sector record is completely different to the info on Flex
disk, and the file system format is also not at all compatible.
Thus the UniFlex format can rely largely on the WD17xx format, with an
overload to handle the sector numbering on the second side continuing from the
first side (one feature in common with the Flex format). This gives a quick
'save' capability and shares code.
Support for 8" disks is included as this was the initial distribution format
and the only one found so far.
Diffstat (limited to 'scripts/src/formats.lua')
-rw-r--r-- | scripts/src/formats.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua index 5ae22a556c8..6bb724e3e40 100644 --- a/scripts/src/formats.lua +++ b/scripts/src/formats.lua @@ -835,6 +835,18 @@ end -------------------------------------------------- -- +--@src/lib/formats/uniflex_dsk.h,FORMATS["UNIFLEX_DSK"] = true +-------------------------------------------------- + +if (FORMATS["UNIFLEX_DSK"]~=null or _OPTIONS["with-tools"]) then + files { + MAME_DIR.. "src/lib/formats/uniflex_dsk.cpp", + MAME_DIR.. "src/lib/formats/uniflex_dsk.h", + } +end + +-------------------------------------------------- +-- --@src/lib/formats/fm7_cas.h,FORMATS["FM7_CAS"] = true -------------------------------------------------- |