diff options
author | 2021-03-04 10:49:33 +0100 | |
---|---|---|
committer | 2021-03-05 10:17:20 +0100 | |
commit | 92326e47afea2dd65ec6b5ec842454fc74f046cc (patch) | |
tree | 515de40cefa3c48bf30869f9031fbf78e4ba45d4 /scripts/src/formats.lua | |
parent | f7011c21e11e988ec26d095f48b9070760c72bc3 (diff) |
floppy: Beginning of the support for preformatted floppy images.
What's missing:
- parameters (like the disk name when it exists)
- possibly a cleanup of ram_open and friends (but not sure of the appropriate direction in which to go)
Diffstat (limited to 'scripts/src/formats.lua')
-rw-r--r-- | scripts/src/formats.lua | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua index 6bb3862a226..9e5b4bf0504 100644 --- a/scripts/src/formats.lua +++ b/scripts/src/formats.lua @@ -69,6 +69,11 @@ project "formats" MAME_DIR .. "src/lib/formats/dfi_dsk.cpp", MAME_DIR .. "src/lib/formats/dfi_dsk.h", MAME_DIR .. "src/lib/formats/fdi_dsk.cpp", + + MAME_DIR .. "src/lib/formats/fsmgr.h", + MAME_DIR .. "src/lib/formats/fsmgr.cpp", + MAME_DIR .. "src/lib/formats/fs_unformatted.h", + MAME_DIR .. "src/lib/formats/fs_unformatted.cpp", } -------------------------------------------------- @@ -1598,10 +1603,10 @@ end -------------------------------------------------- -- ---@src/lib/formats/rc759_dsk.h,FORMATS["RC759_DSK"] = true +--@src/lib/formats/rc759_dsk.h,FORMATS["RC759"] = true -------------------------------------------------- -if opt_tool(FORMATS, "RC759_DSK") then +if (FORMATS["APRIDISK"]~=null or _OPTIONS["with-tools"]) then files { MAME_DIR.. "src/lib/formats/rc759_dsk.cpp", MAME_DIR.. "src/lib/formats/rc759_dsk.h", @@ -2052,4 +2057,16 @@ if opt_tool(FORMATS, "ZX81_P") then } end +-------------------------------------------------- +-- +--@src/lib/formats/fs_prodos.h,FORMATS["FS_PRODOS"] = true +-------------------------------------------------- + +if opt_tool(FORMATS, "FS_PRODOS") then + files { + MAME_DIR.. "src/lib/formats/fs_prodos.cpp", + MAME_DIR.. "src/lib/formats/fs_prodos.h", + } +end + end |