From 92326e47afea2dd65ec6b5ec842454fc74f046cc Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 4 Mar 2021 10:49:33 +0100 Subject: 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) --- scripts/src/formats.lua | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'scripts/src/formats.lua') 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 -- cgit v1.2.3-70-g09d2