summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/formats.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src/formats.lua')
-rw-r--r--scripts/src/formats.lua834
1 files changed, 640 insertions, 194 deletions
diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua
index 6bb724e3e40..58cbb979bb3 100644
--- a/scripts/src/formats.lua
+++ b/scripts/src/formats.lua
@@ -21,31 +21,39 @@ project "formats"
includedirs {
MAME_DIR .. "src/osd",
- MAME_DIR .. "src/emu",
MAME_DIR .. "src/lib",
MAME_DIR .. "src/lib/util",
MAME_DIR .. "3rdparty",
+ GEN_DIR,
+ ext_includedir("flac"),
ext_includedir("zlib"),
}
files {
- MAME_DIR .. "src/lib/formats/ioprocs.cpp",
- MAME_DIR .. "src/lib/formats/ioprocs.h",
+ MAME_DIR .. "src/lib/formats/all.cpp",
+ MAME_DIR .. "src/lib/formats/all.h",
+
MAME_DIR .. "src/lib/formats/imageutl.cpp",
MAME_DIR .. "src/lib/formats/imageutl.h",
MAME_DIR .. "src/lib/formats/cassimg.cpp",
MAME_DIR .. "src/lib/formats/cassimg.h",
+ MAME_DIR .. "src/lib/formats/flacfile.cpp",
+ MAME_DIR .. "src/lib/formats/flacfile.h",
MAME_DIR .. "src/lib/formats/wavfile.cpp",
MAME_DIR .. "src/lib/formats/wavfile.h",
MAME_DIR .. "src/lib/formats/flopimg.cpp",
MAME_DIR .. "src/lib/formats/flopimg.h",
+ MAME_DIR .. "src/lib/formats/flopimg_legacy.cpp",
+ MAME_DIR .. "src/lib/formats/flopimg_legacy.h",
MAME_DIR .. "src/lib/formats/cqm_dsk.cpp",
MAME_DIR .. "src/lib/formats/cqm_dsk.h",
MAME_DIR .. "src/lib/formats/dsk_dsk.cpp",
MAME_DIR .. "src/lib/formats/dsk_dsk.h",
+ MAME_DIR .. "src/lib/formats/ipf_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/ipf_dsk.h",
MAME_DIR .. "src/lib/formats/td0_dsk.cpp",
MAME_DIR .. "src/lib/formats/td0_dsk.h",
MAME_DIR .. "src/lib/formats/hxchfe_dsk.cpp",
@@ -56,13 +64,30 @@ project "formats"
MAME_DIR .. "src/lib/formats/mfi_dsk.h",
MAME_DIR .. "src/lib/formats/imd_dsk.cpp",
MAME_DIR .. "src/lib/formats/imd_dsk.h",
- MAME_DIR .. "src/lib/formats/ipf_dsk.cpp",
- MAME_DIR .. "src/lib/formats/ipf_dsk.h",
+ MAME_DIR .. "src/lib/formats/upd765_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/upd765_dsk.h",
+ MAME_DIR .. "src/lib/formats/pc_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/pc_dsk.h",
MAME_DIR .. "src/lib/formats/d88_dsk.cpp",
MAME_DIR .. "src/lib/formats/d88_dsk.h",
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/rpk.cpp",
+ MAME_DIR .. "src/lib/formats/rpk.h",
+ MAME_DIR .. "src/lib/formats/86f_dsk.cpp",
+ MAME_DIR .. "src/lib/formats/86f_dsk.h",
+
+ MAME_DIR .. "src/lib/formats/fsmgr.h",
+ MAME_DIR .. "src/lib/formats/fsmgr.cpp",
+ MAME_DIR .. "src/lib/formats/fsblk.h",
+ MAME_DIR .. "src/lib/formats/fsblk.cpp",
+ MAME_DIR .. "src/lib/formats/fsblk_vec.h",
+ MAME_DIR .. "src/lib/formats/fsblk_vec.cpp",
+ MAME_DIR .. "src/lib/formats/fs_unformatted.h",
+ MAME_DIR .. "src/lib/formats/fs_unformatted.cpp",
+ MAME_DIR .. "src/lib/formats/fsmeta.h",
+ MAME_DIR .. "src/lib/formats/fsmeta.cpp",
}
--------------------------------------------------
@@ -70,7 +95,7 @@ project "formats"
--@src/lib/formats/2d_dsk.h,FORMATS["2D_DSK"] = true
--------------------------------------------------
-if (FORMATS["2D_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "2D_DSK") then
files {
MAME_DIR.. "src/lib/formats/2d_dsk.cpp",
MAME_DIR.. "src/lib/formats/2d_dsk.h",
@@ -82,7 +107,7 @@ end
--@src/lib/formats/a26_cas.h,FORMATS["A26_CAS"] = true
--------------------------------------------------
-if (FORMATS["A26_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "A26_CAS") then
files {
MAME_DIR.. "src/lib/formats/a26_cas.cpp",
MAME_DIR.. "src/lib/formats/a26_cas.h",
@@ -94,7 +119,7 @@ end
--@src/lib/formats/a5105_dsk.h,FORMATS["A5105_DSK"] = true
--------------------------------------------------
-if (FORMATS["A5105_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "A5105_DSK") then
files {
MAME_DIR.. "src/lib/formats/a5105_dsk.cpp",
MAME_DIR.. "src/lib/formats/a5105_dsk.h",
@@ -106,7 +131,7 @@ end
--@src/lib/formats/abc800_dsk.h,FORMATS["ABC800_DSK"] = true
--------------------------------------------------
-if (FORMATS["ABC800_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ABC800_DSK") then
files {
MAME_DIR.. "src/lib/formats/abc800_dsk.cpp",
MAME_DIR.. "src/lib/formats/abc800_dsk.h",
@@ -115,10 +140,34 @@ end
--------------------------------------------------
--
+--@src/lib/formats/abc800i_dsk.h,FORMATS["ABC800I_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "ABC800I_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/abc800i_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/abc800i_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/abc1600_dsk.h,FORMATS["ABC1600_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "ABC1600_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/abc1600_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/abc1600_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/abcfd2_dsk.h,FORMATS["ABCFD2_DSK"] = true
--------------------------------------------------
-if (FORMATS["ABCFD2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ABCFD2_DSK") then
files {
MAME_DIR.. "src/lib/formats/abcfd2_dsk.cpp",
MAME_DIR.. "src/lib/formats/abcfd2_dsk.h",
@@ -130,7 +179,7 @@ end
--@src/lib/formats/ace_tap.h,FORMATS["ACE_TAP"] = true
--------------------------------------------------
-if (FORMATS["ACE_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ACE_TAP") then
files {
MAME_DIR.. "src/lib/formats/ace_tap.cpp",
MAME_DIR.. "src/lib/formats/ace_tap.h",
@@ -142,7 +191,7 @@ end
--@src/lib/formats/acorn_dsk.h,FORMATS["ACORN_DSK"] = true
--------------------------------------------------
-if (FORMATS["ACORN_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ACORN_DSK") then
files {
MAME_DIR.. "src/lib/formats/acorn_dsk.cpp",
MAME_DIR.. "src/lib/formats/acorn_dsk.h",
@@ -154,7 +203,7 @@ end
--@src/lib/formats/adam_cas.h,FORMATS["ADAM_CAS"] = true
--------------------------------------------------
-if (FORMATS["ADAM_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ADAM_CAS") then
files {
MAME_DIR.. "src/lib/formats/adam_cas.cpp",
MAME_DIR.. "src/lib/formats/adam_cas.h",
@@ -166,7 +215,7 @@ end
--@src/lib/formats/adam_dsk.h,FORMATS["ADAM_DSK"] = true
--------------------------------------------------
-if (FORMATS["ADAM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ADAM_DSK") then
files {
MAME_DIR.. "src/lib/formats/adam_dsk.cpp",
MAME_DIR.. "src/lib/formats/adam_dsk.h",
@@ -178,7 +227,7 @@ end
--@src/lib/formats/afs_dsk.h,FORMATS["AFS_DSK"] = true
--------------------------------------------------
-if (FORMATS["AFS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AFS_DSK") then
files {
MAME_DIR.. "src/lib/formats/afs_dsk.cpp",
MAME_DIR.. "src/lib/formats/afs_dsk.h",
@@ -190,7 +239,7 @@ end
--@src/lib/formats/agat840k_hle_dsk.h,FORMATS["AGAT840K_HLE_DSK"] = true
--------------------------------------------------
-if (FORMATS["AGAT840K_HLE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AGAT840K_HLE_DSK") then
files {
MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.cpp",
MAME_DIR.. "src/lib/formats/agat840k_hle_dsk.h",
@@ -202,7 +251,7 @@ end
--@src/lib/formats/aim_dsk.h,FORMATS["AIM_DSK"] = true
--------------------------------------------------
-if (FORMATS["AIM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AIM_DSK") then
files {
MAME_DIR.. "src/lib/formats/aim_dsk.cpp",
MAME_DIR.. "src/lib/formats/aim_dsk.h",
@@ -214,7 +263,7 @@ end
--@src/lib/formats/ami_dsk.h,FORMATS["AMI_DSK"] = true
--------------------------------------------------
-if (FORMATS["AMI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AMI_DSK") then
files {
MAME_DIR.. "src/lib/formats/ami_dsk.cpp",
MAME_DIR.. "src/lib/formats/ami_dsk.h",
@@ -226,7 +275,7 @@ end
--@src/lib/formats/ap2_dsk.h,FORMATS["AP2_DSK"] = true
--------------------------------------------------
-if (FORMATS["AP2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AP2_DSK") then
files {
MAME_DIR.. "src/lib/formats/ap2_dsk.cpp",
MAME_DIR.. "src/lib/formats/ap2_dsk.h",
@@ -238,7 +287,7 @@ end
--@src/lib/formats/apd_dsk.h,FORMATS["APD_DSK"] = true
--------------------------------------------------
-if (FORMATS["APD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APD_DSK") then
files {
MAME_DIR.. "src/lib/formats/apd_dsk.cpp",
MAME_DIR.. "src/lib/formats/apd_dsk.h",
@@ -250,7 +299,7 @@ end
--@src/lib/formats/apf_apt.h,FORMATS["APF_APT"] = true
--------------------------------------------------
-if (FORMATS["APF_APT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APF_APT") then
files {
MAME_DIR.. "src/lib/formats/apf_apt.cpp",
MAME_DIR.. "src/lib/formats/apf_apt.h",
@@ -262,7 +311,7 @@ end
--@src/lib/formats/apollo_dsk.h,FORMATS["APOLLO_DSK"] = true
--------------------------------------------------
-if (FORMATS["APOLLO_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APOLLO_DSK") then
files {
MAME_DIR.. "src/lib/formats/apollo_dsk.cpp",
MAME_DIR.. "src/lib/formats/apollo_dsk.h",
@@ -274,7 +323,7 @@ end
--@src/lib/formats/applix_dsk.h,FORMATS["APPLIX_DSK"] = true
--------------------------------------------------
-if (FORMATS["APPLIX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APPLIX_DSK") then
files {
MAME_DIR.. "src/lib/formats/applix_dsk.cpp",
MAME_DIR.. "src/lib/formats/applix_dsk.h",
@@ -286,7 +335,7 @@ end
--@src/lib/formats/apridisk.h,FORMATS["APRIDISK"] = true
--------------------------------------------------
-if (FORMATS["APRIDISK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "APRIDISK") then
files {
MAME_DIR.. "src/lib/formats/apridisk.cpp",
MAME_DIR.. "src/lib/formats/apridisk.h",
@@ -298,7 +347,7 @@ end
--@src/lib/formats/ap_dsk35.h,FORMATS["AP_DSK35"] = true
--------------------------------------------------
-if (FORMATS["AP_DSK35"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "AP_DSK35") then
files {
MAME_DIR.. "src/lib/formats/ap_dsk35.cpp",
MAME_DIR.. "src/lib/formats/ap_dsk35.h",
@@ -307,10 +356,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/aquarius_caq.h,FORMATS["AQUARIUS_CAQ"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "AQUARIUS_CAQ") then
+ files {
+ MAME_DIR.. "src/lib/formats/aquarius_caq.cpp",
+ MAME_DIR.. "src/lib/formats/aquarius_caq.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/asst128_dsk.h,FORMATS["ASST128_DSK"] = true
--------------------------------------------------
-if (FORMATS["ASST128_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ASST128_DSK") then
files {
MAME_DIR.. "src/lib/formats/asst128_dsk.cpp",
MAME_DIR.. "src/lib/formats/asst128_dsk.h",
@@ -319,10 +380,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/as_dsk.h,FORMATS["AS_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "AS_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/as_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/as_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/atari_dsk.h,FORMATS["ATARI_DSK"] = true
--------------------------------------------------
-if (FORMATS["ATARI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATARI_DSK") then
files {
MAME_DIR.. "src/lib/formats/atari_dsk.cpp",
MAME_DIR.. "src/lib/formats/atari_dsk.h",
@@ -334,7 +407,7 @@ end
--@src/lib/formats/atom_dsk.h,FORMATS["ATOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["ATOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/atom_dsk.cpp",
MAME_DIR.. "src/lib/formats/atom_dsk.h",
@@ -346,7 +419,7 @@ end
--@src/lib/formats/atom_tap.h,FORMATS["ATOM_TAP"] = true
--------------------------------------------------
-if (FORMATS["ATOM_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ATOM_TAP") then
files {
MAME_DIR.. "src/lib/formats/atom_tap.cpp",
MAME_DIR.. "src/lib/formats/atom_tap.h",
@@ -358,7 +431,7 @@ end
--@src/lib/formats/basicdsk.h,FORMATS["BASICDSK"] = true
--------------------------------------------------
-if (FORMATS["BASICDSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BASICDSK") then
files {
MAME_DIR.. "src/lib/formats/basicdsk.cpp",
MAME_DIR.. "src/lib/formats/basicdsk.h",
@@ -367,10 +440,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/bk0010_dsk.h,FORMATS["BK0010_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "BK0010_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/bk0010_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/bk0010_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/bw12_dsk.h,FORMATS["BW12_DSK"] = true
--------------------------------------------------
-if (FORMATS["BW12_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BW12_DSK") then
files {
MAME_DIR.. "src/lib/formats/bw12_dsk.cpp",
MAME_DIR.. "src/lib/formats/bw12_dsk.h",
@@ -382,7 +467,7 @@ end
--@src/lib/formats/bw2_dsk.h,FORMATS["BW2_DSK"] = true
--------------------------------------------------
-if (FORMATS["BW2_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "BW2_DSK") then
files {
MAME_DIR.. "src/lib/formats/bw2_dsk.cpp",
MAME_DIR.. "src/lib/formats/bw2_dsk.h",
@@ -394,7 +479,7 @@ end
--@src/lib/formats/c3040_dsk.h,FORMATS["C3040_DSK"] = true
--------------------------------------------------
-if (FORMATS["C3040_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C3040_DSK") then
files {
MAME_DIR.. "src/lib/formats/c3040_dsk.cpp",
MAME_DIR.. "src/lib/formats/c3040_dsk.h",
@@ -406,7 +491,7 @@ end
--@src/lib/formats/c4040_dsk.h,FORMATS["C4040_DSK"] = true
--------------------------------------------------
-if (FORMATS["C4040_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C4040_DSK") then
files {
MAME_DIR.. "src/lib/formats/c4040_dsk.cpp",
MAME_DIR.. "src/lib/formats/c4040_dsk.h",
@@ -418,7 +503,7 @@ end
--@src/lib/formats/c8280_dsk.h,FORMATS["C8280_DSK"] = true
--------------------------------------------------
-if (FORMATS["C8280_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "C8280_DSK") then
files {
MAME_DIR.. "src/lib/formats/c8280_dsk.cpp",
MAME_DIR.. "src/lib/formats/c8280_dsk.h",
@@ -430,7 +515,7 @@ end
--@src/lib/formats/camplynx_cas.h,FORMATS["CAMPLYNX_CAS"] = true
--------------------------------------------------
-if (FORMATS["CAMPLYNX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CAMPLYNX_CAS") then
files {
MAME_DIR.. "src/lib/formats/camplynx_cas.cpp",
MAME_DIR.. "src/lib/formats/camplynx_cas.h",
@@ -442,7 +527,7 @@ end
--@src/lib/formats/camplynx_dsk.h,FORMATS["CAMPLYNX_DSK"] = true
--------------------------------------------------
-if (FORMATS["CAMPLYNX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CAMPLYNX_DSK") then
files {
MAME_DIR.. "src/lib/formats/camplynx_dsk.cpp",
MAME_DIR.. "src/lib/formats/camplynx_dsk.h",
@@ -454,7 +539,7 @@ end
--@src/lib/formats/cbm_crt.h,FORMATS["CBM_CRT"] = true
--------------------------------------------------
-if (FORMATS["CBM_CRT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CBM_CRT") then
files {
MAME_DIR.. "src/lib/formats/cbm_crt.cpp",
MAME_DIR.. "src/lib/formats/cbm_crt.h",
@@ -466,7 +551,7 @@ end
--@src/lib/formats/cbm_tap.h,FORMATS["CBM_TAP"] = true
--------------------------------------------------
-if (FORMATS["CBM_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CBM_TAP") then
files {
MAME_DIR.. "src/lib/formats/cbm_tap.cpp",
MAME_DIR.. "src/lib/formats/cbm_tap.h",
@@ -478,7 +563,7 @@ end
--@src/lib/formats/ccvf_dsk.h,FORMATS["CCVF_DSK"] = true
--------------------------------------------------
-if (FORMATS["CCVF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CCVF_DSK") then
files {
MAME_DIR.. "src/lib/formats/ccvf_dsk.cpp",
MAME_DIR.. "src/lib/formats/ccvf_dsk.h",
@@ -487,22 +572,10 @@ end
--------------------------------------------------
--
---@src/lib/formats/cd90_640_dsk.h,FORMATS["CD90_640_DSK"] = true
---------------------------------------------------
-
-if (FORMATS["CD90_640_DSK"]~=null or _OPTIONS["with-tools"]) then
- files {
- MAME_DIR.. "src/lib/formats/cd90_640_dsk.cpp",
- MAME_DIR.. "src/lib/formats/cd90_640_dsk.h",
- }
-end
-
---------------------------------------------------
---
--@src/lib/formats/cgenie_dsk.h,FORMATS["CGENIE_DSK"] = true
--------------------------------------------------
-if (FORMATS["CGENIE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CGENIE_DSK") then
files {
MAME_DIR.. "src/lib/formats/cgenie_dsk.cpp",
MAME_DIR.. "src/lib/formats/cgenie_dsk.h",
@@ -514,7 +587,7 @@ end
--@src/lib/formats/cgen_cas.h,FORMATS["CGEN_CAS"] = true
--------------------------------------------------
-if (FORMATS["CGEN_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CGEN_CAS") then
files {
MAME_DIR.. "src/lib/formats/cgen_cas.cpp",
MAME_DIR.. "src/lib/formats/cgen_cas.h",
@@ -526,7 +599,7 @@ end
--@src/lib/formats/coco_cas.h,FORMATS["COCO_CAS"] = true
--------------------------------------------------
-if (FORMATS["COCO_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COCO_CAS") then
files {
MAME_DIR.. "src/lib/formats/coco_cas.cpp",
MAME_DIR.. "src/lib/formats/coco_cas.h",
@@ -535,10 +608,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/coco_rawdsk.h,FORMATS["COCO_RAWDSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "COCO_RAWDSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/coco_rawdsk.cpp",
+ MAME_DIR.. "src/lib/formats/coco_rawdsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/comx35_dsk.h,FORMATS["COMX35_DSK"] = true
--------------------------------------------------
-if (FORMATS["COMX35_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COMX35_DSK") then
files {
MAME_DIR.. "src/lib/formats/comx35_dsk.cpp",
MAME_DIR.. "src/lib/formats/comx35_dsk.h",
@@ -550,7 +635,7 @@ end
--@src/lib/formats/concept_dsk.h,FORMATS["CONCEPT_DSK"] = true
--------------------------------------------------
-if (FORMATS["CONCEPT_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CONCEPT_DSK") then
files {
MAME_DIR.. "src/lib/formats/concept_dsk.cpp",
MAME_DIR.. "src/lib/formats/concept_dsk.h",
@@ -562,7 +647,7 @@ end
--@src/lib/formats/coupedsk.h,FORMATS["COUPEDSK"] = true
--------------------------------------------------
-if (FORMATS["COUPEDSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "COUPEDSK") then
files {
MAME_DIR.. "src/lib/formats/coupedsk.cpp",
MAME_DIR.. "src/lib/formats/coupedsk.h",
@@ -574,7 +659,7 @@ end
--@src/lib/formats/cpis_dsk.h,FORMATS["CPIS_DSK"] = true
--------------------------------------------------
-if (FORMATS["CPIS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CPIS_DSK") then
files {
MAME_DIR.. "src/lib/formats/cpis_dsk.cpp",
MAME_DIR.. "src/lib/formats/cpis_dsk.h",
@@ -586,7 +671,7 @@ end
--@src/lib/formats/csw_cas.h,FORMATS["CSW_CAS"] = true
--------------------------------------------------
-if (FORMATS["CSW_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "CSW_CAS") then
files {
MAME_DIR.. "src/lib/formats/csw_cas.cpp",
MAME_DIR.. "src/lib/formats/csw_cas.h",
@@ -598,7 +683,7 @@ end
--@src/lib/formats/d64_dsk.h,FORMATS["D64_DSK"] = true
--------------------------------------------------
-if (FORMATS["D64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D64_DSK") then
files {
MAME_DIR.. "src/lib/formats/d64_dsk.cpp",
MAME_DIR.. "src/lib/formats/d64_dsk.h",
@@ -610,7 +695,7 @@ end
--@src/lib/formats/d71_dsk.h,FORMATS["D71_DSK"] = true
--------------------------------------------------
-if (FORMATS["D71_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D71_DSK") then
files {
MAME_DIR.. "src/lib/formats/d71_dsk.cpp",
MAME_DIR.. "src/lib/formats/d71_dsk.h",
@@ -622,7 +707,7 @@ end
--@src/lib/formats/d80_dsk.h,FORMATS["D80_DSK"] = true
--------------------------------------------------
-if (FORMATS["D80_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D80_DSK") then
files {
MAME_DIR.. "src/lib/formats/d80_dsk.cpp",
MAME_DIR.. "src/lib/formats/d80_dsk.h",
@@ -634,7 +719,7 @@ end
--@src/lib/formats/d81_dsk.h,FORMATS["D81_DSK"] = true
--------------------------------------------------
-if (FORMATS["D81_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D81_DSK") then
files {
MAME_DIR.. "src/lib/formats/d81_dsk.cpp",
MAME_DIR.. "src/lib/formats/d81_dsk.h",
@@ -646,7 +731,7 @@ end
--@src/lib/formats/d82_dsk.h,FORMATS["D82_DSK"] = true
--------------------------------------------------
-if (FORMATS["D82_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "D82_DSK") then
files {
MAME_DIR.. "src/lib/formats/d82_dsk.cpp",
MAME_DIR.. "src/lib/formats/d82_dsk.h",
@@ -658,7 +743,7 @@ end
--@src/lib/formats/dcp_dsk.h,FORMATS["DCP_DSK"] = true
--------------------------------------------------
-if (FORMATS["DCP_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DCP_DSK") then
files {
MAME_DIR.. "src/lib/formats/dcp_dsk.cpp",
MAME_DIR.. "src/lib/formats/dcp_dsk.h",
@@ -670,7 +755,7 @@ end
--@src/lib/formats/dim_dsk.h,FORMATS["DIM_DSK"] = true
--------------------------------------------------
-if (FORMATS["DIM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DIM_DSK") then
files {
MAME_DIR.. "src/lib/formats/dim_dsk.cpp",
MAME_DIR.. "src/lib/formats/dim_dsk.h",
@@ -682,7 +767,7 @@ end
--@src/lib/formats/dip_dsk.h,FORMATS["DIP_DSK"] = true
--------------------------------------------------
-if (FORMATS["DIP_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DIP_DSK") then
files {
MAME_DIR.. "src/lib/formats/dip_dsk.cpp",
MAME_DIR.. "src/lib/formats/dip_dsk.h",
@@ -694,7 +779,7 @@ end
--@src/lib/formats/dmk_dsk.h,FORMATS["DMK_DSK"] = true
--------------------------------------------------
-if (FORMATS["DMK_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DMK_DSK") then
files {
MAME_DIR.. "src/lib/formats/dmk_dsk.cpp",
MAME_DIR.. "src/lib/formats/dmk_dsk.h",
@@ -706,7 +791,7 @@ end
--@src/lib/formats/ds9_dsk.h,FORMATS["DS9_DSK"] = true
--------------------------------------------------
-if (FORMATS["DS9_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DS9_DSK") then
files {
MAME_DIR.. "src/lib/formats/ds9_dsk.cpp",
MAME_DIR.. "src/lib/formats/ds9_dsk.h",
@@ -718,7 +803,7 @@ end
--@src/lib/formats/sdf_dsk.h,FORMATS["SDF_DSK"] = true
--------------------------------------------------
-if (FORMATS["SDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SDF_DSK") then
files {
MAME_DIR.. "src/lib/formats/sdf_dsk.cpp",
MAME_DIR.. "src/lib/formats/sdf_dsk.h",
@@ -730,7 +815,7 @@ end
--@src/lib/formats/ep64_dsk.h,FORMATS["EP64_DSK"] = true
--------------------------------------------------
-if (FORMATS["EP64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "EP64_DSK") then
files {
MAME_DIR.. "src/lib/formats/ep64_dsk.cpp",
MAME_DIR.. "src/lib/formats/ep64_dsk.h",
@@ -742,7 +827,7 @@ end
--@src/lib/formats/dmv_dsk.h,FORMATS["DMV_DSK"] = true
--------------------------------------------------
-if (FORMATS["DMV_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DMV_DSK") then
files {
MAME_DIR.. "src/lib/formats/dmv_dsk.cpp",
MAME_DIR.. "src/lib/formats/dmv_dsk.h",
@@ -754,7 +839,7 @@ end
--@src/lib/formats/dvk_mx_dsk.h,FORMATS["DVK_MX_DSK"] = true
--------------------------------------------------
-if (FORMATS["DVK_MX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "DVK_MX_DSK") then
files {
MAME_DIR.. "src/lib/formats/dvk_mx_dsk.cpp",
MAME_DIR.. "src/lib/formats/dvk_mx_dsk.h",
@@ -766,7 +851,7 @@ end
--@src/lib/formats/esq16_dsk.h,FORMATS["ESQ16_DSK"] = true
--------------------------------------------------
-if (FORMATS["ESQ16_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ESQ16_DSK") then
files {
MAME_DIR.. "src/lib/formats/esq16_dsk.cpp",
MAME_DIR.. "src/lib/formats/esq16_dsk.h",
@@ -778,7 +863,7 @@ end
--@src/lib/formats/esq8_dsk.h,FORMATS["ESQ8_DSK"] = true
--------------------------------------------------
-if (FORMATS["ESQ8_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ESQ8_DSK") then
files {
MAME_DIR.. "src/lib/formats/esq8_dsk.cpp",
MAME_DIR.. "src/lib/formats/esq8_dsk.h",
@@ -790,7 +875,7 @@ end
--@src/lib/formats/excali64_dsk.h,FORMATS["EXCALI64_DSK"] = true
--------------------------------------------------
-if (FORMATS["EXCALI64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "EXCALI64_DSK") then
files {
MAME_DIR.. "src/lib/formats/excali64_dsk.cpp",
MAME_DIR.. "src/lib/formats/excali64_dsk.h",
@@ -802,7 +887,7 @@ end
--@src/lib/formats/fc100_cas.h,FORMATS["FC100_CAS"] = true
--------------------------------------------------
-if (FORMATS["FC100_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FC100_CAS") then
files {
MAME_DIR.. "src/lib/formats/fc100_cas.cpp",
MAME_DIR.. "src/lib/formats/fc100_cas.h",
@@ -814,7 +899,7 @@ end
--@src/lib/formats/fdd_dsk.h,FORMATS["FDD_DSK"] = true
--------------------------------------------------
-if (FORMATS["FDD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FDD_DSK") then
files {
MAME_DIR.. "src/lib/formats/fdd_dsk.cpp",
MAME_DIR.. "src/lib/formats/fdd_dsk.h",
@@ -823,10 +908,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/fl1_dsk.h,FORMATS["FL1_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FL1_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/fl1_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/fl1_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/flex_dsk.h,FORMATS["FLEX_DSK"] = true
--------------------------------------------------
-if (FORMATS["FLEX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FLEX_DSK") then
files {
MAME_DIR.. "src/lib/formats/flex_dsk.cpp",
MAME_DIR.. "src/lib/formats/flex_dsk.h",
@@ -835,10 +932,34 @@ end
--------------------------------------------------
--
+--@src/lib/formats/cp68_dsk.h,FORMATS["CP68_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "CP68_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/cp68_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/cp68_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fdos_dsk.h,FORMATS["FDOS_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FDOS_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/fdos_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/fdos_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/uniflex_dsk.h,FORMATS["UNIFLEX_DSK"] = true
--------------------------------------------------
-if (FORMATS["UNIFLEX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "UNIFLEX_DSK") then
files {
MAME_DIR.. "src/lib/formats/uniflex_dsk.cpp",
MAME_DIR.. "src/lib/formats/uniflex_dsk.h",
@@ -850,7 +971,7 @@ end
--@src/lib/formats/fm7_cas.h,FORMATS["FM7_CAS"] = true
--------------------------------------------------
-if (FORMATS["FM7_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FM7_CAS") then
files {
MAME_DIR.. "src/lib/formats/fm7_cas.cpp",
MAME_DIR.. "src/lib/formats/fm7_cas.h",
@@ -862,7 +983,7 @@ end
--@src/lib/formats/fmsx_cas.h,FORMATS["FMSX_CAS"] = true
--------------------------------------------------
-if (FORMATS["FMSX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FMSX_CAS") then
files {
MAME_DIR.. "src/lib/formats/fmsx_cas.cpp",
MAME_DIR.. "src/lib/formats/fmsx_cas.h",
@@ -874,7 +995,7 @@ end
--@src/lib/formats/fmtowns_dsk.h,FORMATS["FMTOWNS_DSK"] = true
--------------------------------------------------
-if (FORMATS["FMTOWNS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FMTOWNS_DSK") then
files {
MAME_DIR.. "src/lib/formats/fmtowns_dsk.cpp",
MAME_DIR.. "src/lib/formats/fmtowns_dsk.h",
@@ -886,7 +1007,7 @@ end
--@src/lib/formats/fsd_dsk.h,FORMATS["FSD_DSK"] = true
--------------------------------------------------
-if (FORMATS["FSD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "FSD_DSK") then
files {
MAME_DIR.. "src/lib/formats/fsd_dsk.cpp",
MAME_DIR.. "src/lib/formats/fsd_dsk.h",
@@ -898,7 +1019,7 @@ end
--@src/lib/formats/g64_dsk.h,FORMATS["G64_DSK"] = true
--------------------------------------------------
-if (FORMATS["G64_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "G64_DSK") then
files {
MAME_DIR.. "src/lib/formats/g64_dsk.cpp",
MAME_DIR.. "src/lib/formats/g64_dsk.h",
@@ -910,7 +1031,7 @@ end
--@src/lib/formats/gtp_cas.h,FORMATS["GTP_CAS"] = true
--------------------------------------------------
-if (FORMATS["GTP_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "GTP_CAS") then
files {
MAME_DIR.. "src/lib/formats/gtp_cas.cpp",
MAME_DIR.. "src/lib/formats/gtp_cas.h",
@@ -922,7 +1043,7 @@ end
--@src/lib/formats/guab_dsk.h,FORMATS["GUAB_DSK"] = true
--------------------------------------------------
-if (FORMATS["GUAB_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "GUAB_DSK") then
files {
MAME_DIR.. "src/lib/formats/guab_dsk.cpp",
MAME_DIR.. "src/lib/formats/guab_dsk.h",
@@ -931,10 +1052,34 @@ end
--------------------------------------------------
--
+--@src/lib/formats/h17disk.h,FORMATS["H17D_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "H17D_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/h17disk.cpp",
+ MAME_DIR.. "src/lib/formats/h17disk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/h8_cas.h,FORMATS["H8_CAS"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "H8_CAS") then
+ files {
+ MAME_DIR.. "src/lib/formats/h8_cas.cpp",
+ MAME_DIR.. "src/lib/formats/h8_cas.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/hector_minidisc.h,FORMATS["HECTOR_MINIDISC"] = true
--------------------------------------------------
-if (FORMATS["HECTOR_MINIDISC"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECTOR_MINIDISC") then
files {
MAME_DIR.. "src/lib/formats/hector_minidisc.cpp",
MAME_DIR.. "src/lib/formats/hector_minidisc.h",
@@ -946,7 +1091,7 @@ end
--@src/lib/formats/hect_dsk.h,FORMATS["HECT_DSK"] = true
--------------------------------------------------
-if (FORMATS["HECT_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECT_DSK") then
files {
MAME_DIR.. "src/lib/formats/hect_dsk.cpp",
MAME_DIR.. "src/lib/formats/hect_dsk.h",
@@ -958,7 +1103,7 @@ end
--@src/lib/formats/hect_tap.h,FORMATS["HECT_TAP"] = true
--------------------------------------------------
-if (FORMATS["HECT_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HECT_TAP") then
files {
MAME_DIR.. "src/lib/formats/hect_tap.cpp",
MAME_DIR.. "src/lib/formats/hect_tap.h",
@@ -970,7 +1115,7 @@ end
--@src/lib/formats/hti_tape.h,FORMATS["HTI_TAP"] = true
--------------------------------------------------
-if (FORMATS["HTI_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HTI_TAP") then
files {
MAME_DIR.. "src/lib/formats/hti_tape.cpp",
MAME_DIR.. "src/lib/formats/hti_tape.h",
@@ -979,10 +1124,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/hp_ipc_dsk.h,FORMATS["HP300_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "HP300_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/hp300_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/hp300_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/hpi_dsk.h,FORMATS["HPI_DSK"] = true
--------------------------------------------------
-if (FORMATS["HPI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HPI_DSK") then
files {
MAME_DIR.. "src/lib/formats/hpi_dsk.cpp",
MAME_DIR.. "src/lib/formats/hpi_dsk.h",
@@ -994,7 +1151,7 @@ end
--@src/lib/formats/hp_ipc_dsk.h,FORMATS["HP_IPC_DSK"] = true
--------------------------------------------------
-if (FORMATS["HP_IPC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "HP_IPC_DSK") then
files {
MAME_DIR.. "src/lib/formats/hp_ipc_dsk.cpp",
MAME_DIR.. "src/lib/formats/hp_ipc_dsk.h",
@@ -1003,10 +1160,34 @@ end
--------------------------------------------------
--
+--@src/lib/formats/idpart_dsk.h,FORMATS["IDPART_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "IDPART_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/idpart_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/idpart_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/img_dsk.h,FORMATS["IMG_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "IMG_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/img_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/img_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/iq151_dsk.h,FORMATS["IQ151_DSK"] = true
--------------------------------------------------
-if (FORMATS["IQ151_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "IQ151_DSK") then
files {
MAME_DIR.. "src/lib/formats/iq151_dsk.cpp",
MAME_DIR.. "src/lib/formats/iq151_dsk.h",
@@ -1018,7 +1199,7 @@ end
--@src/lib/formats/itt3030_dsk.h,FORMATS["ITT3030_DSK"] = true
--------------------------------------------------
-if (FORMATS["ITT3030_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ITT3030_DSK") then
files {
MAME_DIR.. "src/lib/formats/itt3030_dsk.cpp",
MAME_DIR.. "src/lib/formats/itt3030_dsk.h",
@@ -1030,7 +1211,7 @@ end
--@src/lib/formats/juku_dsk.h,FORMATS["JUKU_DSK"] = true
--------------------------------------------------
-if (FORMATS["JUKU_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JUKU_DSK") then
files {
MAME_DIR.. "src/lib/formats/juku_dsk.cpp",
MAME_DIR.. "src/lib/formats/juku_dsk.h",
@@ -1042,7 +1223,7 @@ end
--@src/lib/formats/jvc_dsk.h,FORMATS["JVC_DSK"] = true
--------------------------------------------------
-if (FORMATS["JVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JVC_DSK") then
files {
MAME_DIR.. "src/lib/formats/jvc_dsk.cpp",
MAME_DIR.. "src/lib/formats/jvc_dsk.h",
@@ -1051,10 +1232,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/lw30_dsk.h,FORMATS["LW30_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "LW30_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/lw30_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/lw30_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/os9_dsk.h,FORMATS["OS9_DSK"] = true
--------------------------------------------------
-if (FORMATS["OS9_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "OS9_DSK") then
files {
MAME_DIR.. "src/lib/formats/os9_dsk.cpp",
MAME_DIR.. "src/lib/formats/os9_dsk.h",
@@ -1066,7 +1259,7 @@ end
--@src/lib/formats/jfd_dsk.h,FORMATS["JFD_DSK"] = true
--------------------------------------------------
-if (FORMATS["JFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "JFD_DSK") then
files {
MAME_DIR.. "src/lib/formats/jfd_dsk.cpp",
MAME_DIR.. "src/lib/formats/jfd_dsk.h",
@@ -1078,7 +1271,7 @@ end
--@src/lib/formats/kaypro_dsk.h,FORMATS["KAYPRO_DSK"] = true
--------------------------------------------------
-if (FORMATS["KAYPRO_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KAYPRO_DSK") then
files {
MAME_DIR.. "src/lib/formats/kaypro_dsk.cpp",
MAME_DIR.. "src/lib/formats/kaypro_dsk.h",
@@ -1090,7 +1283,7 @@ end
--@src/lib/formats/kc85_dsk.h,FORMATS["KC85_DSK"] = true
--------------------------------------------------
-if (FORMATS["KC85_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KC85_DSK") then
files {
MAME_DIR.. "src/lib/formats/kc85_dsk.cpp",
MAME_DIR.. "src/lib/formats/kc85_dsk.h",
@@ -1102,7 +1295,7 @@ end
--@src/lib/formats/kc_cas.h,FORMATS["KC_CAS"] = true
--------------------------------------------------
-if (FORMATS["KC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KC_CAS") then
files {
MAME_DIR.. "src/lib/formats/kc_cas.cpp",
MAME_DIR.. "src/lib/formats/kc_cas.h",
@@ -1114,7 +1307,7 @@ end
--@src/lib/formats/kim1_cas.h,FORMATS["KIM1_CAS"] = true
--------------------------------------------------
-if (FORMATS["KIM1_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "KIM1_CAS") then
files {
MAME_DIR.. "src/lib/formats/kim1_cas.cpp",
MAME_DIR.. "src/lib/formats/kim1_cas.h",
@@ -1126,7 +1319,7 @@ end
--@src/lib/formats/lviv_lvt.h,FORMATS["LVIV_LVT"] = true
--------------------------------------------------
-if (FORMATS["LVIV_LVT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "LVIV_LVT") then
files {
MAME_DIR.. "src/lib/formats/lviv_lvt.cpp",
MAME_DIR.. "src/lib/formats/lviv_lvt.h",
@@ -1138,7 +1331,7 @@ end
--@src/lib/formats/m20_dsk.h,FORMATS["M20_DSK"] = true
--------------------------------------------------
-if (FORMATS["M20_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "M20_DSK") then
files {
MAME_DIR.. "src/lib/formats/m20_dsk.cpp",
MAME_DIR.. "src/lib/formats/m20_dsk.h",
@@ -1150,7 +1343,7 @@ end
--@src/lib/formats/m5_dsk.h,FORMATS["M5_DSK"] = true
--------------------------------------------------
-if (FORMATS["M5_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "M5_DSK") then
files {
MAME_DIR.. "src/lib/formats/m5_dsk.cpp",
MAME_DIR.. "src/lib/formats/m5_dsk.h",
@@ -1162,7 +1355,7 @@ end
--@src/lib/formats/mbee_cas.h,FORMATS["MBEE_CAS"] = true
--------------------------------------------------
-if (FORMATS["MBEE_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MBEE_CAS") then
files {
MAME_DIR.. "src/lib/formats/mbee_cas.cpp",
MAME_DIR.. "src/lib/formats/mbee_cas.h",
@@ -1171,10 +1364,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/mdos_dsk.h,FORMATS["MDOS_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "MDOS_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/mdos_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/mdos_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/mfm_hd.h,FORMATS["MFM_HD"] = true
--------------------------------------------------
-if (FORMATS["MFM_HD"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MFM_HD") then
files {
MAME_DIR.. "src/lib/formats/mfm_hd.cpp",
MAME_DIR.. "src/lib/formats/mfm_hd.h",
@@ -1186,7 +1391,7 @@ end
--@src/lib/formats/mm_dsk.h,FORMATS["MM_DSK"] = true
--------------------------------------------------
-if (FORMATS["MM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MM_DSK") then
files {
MAME_DIR.. "src/lib/formats/mm_dsk.cpp",
MAME_DIR.. "src/lib/formats/mm_dsk.h",
@@ -1198,7 +1403,7 @@ end
--@src/lib/formats/ms0515_dsk.h,FORMATS["MS0515_DSK"] = true
--------------------------------------------------
-if (FORMATS["MS0515_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MS0515_DSK") then
files {
MAME_DIR.. "src/lib/formats/ms0515_dsk.cpp",
MAME_DIR.. "src/lib/formats/ms0515_dsk.h",
@@ -1210,7 +1415,7 @@ end
--@src/lib/formats/msx_dsk.h,FORMATS["MSX_DSK"] = true
--------------------------------------------------
-if (FORMATS["MSX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MSX_DSK") then
files {
MAME_DIR.. "src/lib/formats/msx_dsk.cpp",
MAME_DIR.. "src/lib/formats/msx_dsk.h",
@@ -1222,7 +1427,7 @@ end
--@src/lib/formats/mtx_dsk.h,FORMATS["MTX_DSK"] = true
--------------------------------------------------
-if (FORMATS["MTX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MTX_DSK") then
files {
MAME_DIR.. "src/lib/formats/mtx_dsk.cpp",
MAME_DIR.. "src/lib/formats/mtx_dsk.h",
@@ -1234,7 +1439,7 @@ end
--@src/lib/formats/mz_cas.h,FORMATS["MZ_CAS"] = true
--------------------------------------------------
-if (FORMATS["MZ_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "MZ_CAS") then
files {
MAME_DIR.. "src/lib/formats/mz_cas.cpp",
MAME_DIR.. "src/lib/formats/mz_cas.h",
@@ -1243,10 +1448,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/nabupc_dsk.h,FORMATS["NABUPC_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "NABUPC_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/nabupc_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/nabupc_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/nanos_dsk.h,FORMATS["NANOS_DSK"] = true
--------------------------------------------------
-if (FORMATS["NANOS_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NANOS_DSK") then
files {
MAME_DIR.. "src/lib/formats/nanos_dsk.cpp",
MAME_DIR.. "src/lib/formats/nanos_dsk.h",
@@ -1258,7 +1475,7 @@ end
--@src/lib/formats/nascom_dsk.h,FORMATS["NASCOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["NASCOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NASCOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/nascom_dsk.cpp",
MAME_DIR.. "src/lib/formats/nascom_dsk.h",
@@ -1270,7 +1487,7 @@ end
--@src/lib/formats/naslite_dsk.h,FORMATS["NASLITE_DSK"] = true
--------------------------------------------------
-if (FORMATS["NASLITE_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NASLITE_DSK") then
files {
MAME_DIR.. "src/lib/formats/naslite_dsk.cpp",
MAME_DIR.. "src/lib/formats/naslite_dsk.h",
@@ -1282,7 +1499,7 @@ end
--@src/lib/formats/nes_dsk.h,FORMATS["NES_DSK"] = true
--------------------------------------------------
-if (FORMATS["NES_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NES_DSK") then
files {
MAME_DIR.. "src/lib/formats/nes_dsk.cpp",
MAME_DIR.. "src/lib/formats/nes_dsk.h",
@@ -1294,7 +1511,7 @@ end
--@src/lib/formats/nfd_dsk.h,FORMATS["NFD_DSK"] = true
--------------------------------------------------
-if (FORMATS["NFD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "NFD_DSK") then
files {
MAME_DIR.. "src/lib/formats/nfd_dsk.cpp",
MAME_DIR.. "src/lib/formats/nfd_dsk.h",
@@ -1306,7 +1523,7 @@ end
--@src/lib/formats/opd_dsk.h,FORMATS["OPD_DSK"] = true
--------------------------------------------------
-if (FORMATS["OPD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "OPD_DSK") then
files {
MAME_DIR.. "src/lib/formats/opd_dsk.cpp",
MAME_DIR.. "src/lib/formats/opd_dsk.h",
@@ -1318,7 +1535,7 @@ end
--@src/lib/formats/orao_cas.h,FORMATS["ORAO_CAS"] = true
--------------------------------------------------
-if (FORMATS["ORAO_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORAO_CAS") then
files {
MAME_DIR.. "src/lib/formats/orao_cas.cpp",
MAME_DIR.. "src/lib/formats/orao_cas.h",
@@ -1330,7 +1547,7 @@ end
--@src/lib/formats/oric_dsk.h,FORMATS["ORIC_DSK"] = true
--------------------------------------------------
-if (FORMATS["ORIC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORIC_DSK") then
files {
MAME_DIR.. "src/lib/formats/oric_dsk.cpp",
MAME_DIR.. "src/lib/formats/oric_dsk.h",
@@ -1342,7 +1559,7 @@ end
--@src/lib/formats/oric_tap.h,FORMATS["ORIC_TAP"] = true
--------------------------------------------------
-if (FORMATS["ORIC_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ORIC_TAP") then
files {
MAME_DIR.. "src/lib/formats/oric_tap.cpp",
MAME_DIR.. "src/lib/formats/oric_tap.h",
@@ -1351,10 +1568,35 @@ end
--------------------------------------------------
--
+--@src/lib/formats/ibmxdf_dsk.h,FORMATS["IBMXDF_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "IBMXDF_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/ibmxdf_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/ibmxdf_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/p2000t_cas.h,FORMATS["P2000T_CAS"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "P2000T_CAS") then
+ files {
+ MAME_DIR.. "src/lib/formats/p2000t_cas.cpp",
+ MAME_DIR.. "src/lib/formats/p2000t_cas.h",
+ }
+end
+
+
+--------------------------------------------------
+--
--@src/lib/formats/p6001_cas.h,FORMATS["P6001_CAS"] = true
--------------------------------------------------
-if (FORMATS["P6001_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "P6001_CAS") then
files {
MAME_DIR.. "src/lib/formats/p6001_cas.cpp",
MAME_DIR.. "src/lib/formats/p6001_cas.h",
@@ -1366,7 +1608,7 @@ end
--@src/lib/formats/pasti_dsk.h,FORMATS["PASTI_DSK"] = true
--------------------------------------------------
-if (FORMATS["PASTI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PASTI_DSK") then
files {
MAME_DIR.. "src/lib/formats/pasti_dsk.cpp",
MAME_DIR.. "src/lib/formats/pasti_dsk.h",
@@ -1378,7 +1620,7 @@ end
--@src/lib/formats/pc98fdi_dsk.h,FORMATS["PC98FDI_DSK"] = true
--------------------------------------------------
-if (FORMATS["PC98FDI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PC98FDI_DSK") then
files {
MAME_DIR.. "src/lib/formats/pc98fdi_dsk.cpp",
MAME_DIR.. "src/lib/formats/pc98fdi_dsk.h",
@@ -1390,7 +1632,7 @@ end
--@src/lib/formats/pc98_dsk.h,FORMATS["PC98_DSK"] = true
--------------------------------------------------
-if (FORMATS["PC98_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PC98_DSK") then
files {
MAME_DIR.. "src/lib/formats/pc98_dsk.cpp",
MAME_DIR.. "src/lib/formats/pc98_dsk.h",
@@ -1399,22 +1641,10 @@ end
--------------------------------------------------
--
---@src/lib/formats/pc_dsk.h,FORMATS["PC_DSK"] = true
---------------------------------------------------
-
-if (FORMATS["PC_DSK"]~=null or _OPTIONS["with-tools"]) then
- files {
- MAME_DIR.. "src/lib/formats/pc_dsk.cpp",
- MAME_DIR.. "src/lib/formats/pc_dsk.h",
- }
-end
-
---------------------------------------------------
---
--@src/lib/formats/phc25_cas.h,FORMATS["PHC25_CAS"] = true
--------------------------------------------------
-if (FORMATS["PHC25_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PHC25_CAS") then
files {
MAME_DIR.. "src/lib/formats/phc25_cas.cpp",
MAME_DIR.. "src/lib/formats/phc25_cas.h",
@@ -1426,7 +1656,7 @@ end
--@src/lib/formats/pk8020_dsk.h,FORMATS["PK8020_DSK"] = true
--------------------------------------------------
-if (FORMATS["PK8020_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PK8020_DSK") then
files {
MAME_DIR.. "src/lib/formats/pk8020_dsk.cpp",
MAME_DIR.. "src/lib/formats/pk8020_dsk.h",
@@ -1438,7 +1668,7 @@ end
--@src/lib/formats/pmd_cas.h,FORMATS["PMD_CAS"] = true
--------------------------------------------------
-if (FORMATS["PMD_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PMD_CAS") then
files {
MAME_DIR.. "src/lib/formats/pmd_cas.cpp",
MAME_DIR.. "src/lib/formats/pmd_cas.h",
@@ -1450,7 +1680,7 @@ end
--@src/lib/formats/poly_dsk.h,FORMATS["POLY_DSK"] = true
--------------------------------------------------
-if (FORMATS["POLY_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "POLY_DSK") then
files {
MAME_DIR.. "src/lib/formats/poly_dsk.cpp",
MAME_DIR.. "src/lib/formats/poly_dsk.h",
@@ -1462,7 +1692,7 @@ end
--@src/lib/formats/ppg_dsk.h,FORMATS["PPG_DSK"] = true
--------------------------------------------------
-if (FORMATS["PPG_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PPG_DSK") then
files {
MAME_DIR.. "src/lib/formats/ppg_dsk.cpp",
MAME_DIR.. "src/lib/formats/ppg_dsk.h",
@@ -1474,7 +1704,7 @@ end
--@src/lib/formats/primoptp.h,FORMATS["PRIMOPTP"] = true
--------------------------------------------------
-if (FORMATS["PRIMOPTP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PRIMOPTP") then
files {
MAME_DIR.. "src/lib/formats/primoptp.cpp",
MAME_DIR.. "src/lib/formats/primoptp.h",
@@ -1486,7 +1716,7 @@ end
--@src/lib/formats/pyldin_dsk.h,FORMATS["PYLDIN_DSK"] = true
--------------------------------------------------
-if (FORMATS["PYLDIN_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "PYLDIN_DSK") then
files {
MAME_DIR.. "src/lib/formats/pyldin_dsk.cpp",
MAME_DIR.. "src/lib/formats/pyldin_dsk.h",
@@ -1498,7 +1728,7 @@ end
--@src/lib/formats/ql_dsk.h,FORMATS["QL_DSK"] = true
--------------------------------------------------
-if (FORMATS["QL_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "QL_DSK") then
files {
MAME_DIR.. "src/lib/formats/ql_dsk.cpp",
MAME_DIR.. "src/lib/formats/ql_dsk.h",
@@ -1507,10 +1737,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/rc759_dsk.h,FORMATS["RC759_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "RC759_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/rc759_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/rc759_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/rk_cas.h,FORMATS["RK_CAS"] = true
--------------------------------------------------
-if (FORMATS["RK_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "RK_CAS") then
files {
MAME_DIR.. "src/lib/formats/rk_cas.cpp",
MAME_DIR.. "src/lib/formats/rk_cas.h",
@@ -1519,10 +1761,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/roland_dsk.h,FORMATS["ROLAND_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "ROLAND_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/roland_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/roland_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/rx50_dsk.h,FORMATS["RX50_DSK"] = true
--------------------------------------------------
-if (FORMATS["RX50_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "RX50_DSK") then
files {
MAME_DIR.. "src/lib/formats/rx50_dsk.cpp",
MAME_DIR.. "src/lib/formats/rx50_dsk.h",
@@ -1531,10 +1785,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/sap_dsk.h,FORMATS["SAP_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "SAP_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/sap_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/sap_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/sc3000_bit.h,FORMATS["SC3000_BIT"] = true
--------------------------------------------------
-if (FORMATS["SC3000_BIT"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SC3000_BIT") then
files {
MAME_DIR.. "src/lib/formats/sc3000_bit.cpp",
MAME_DIR.. "src/lib/formats/sc3000_bit.h",
@@ -1543,10 +1809,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/sdd_dsk.h,FORMATS["SDD_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "SDD_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/sdd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/sdd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/sf7000_dsk.h,FORMATS["SF7000_DSK"] = true
--------------------------------------------------
-if (FORMATS["SF7000_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SF7000_DSK") then
files {
MAME_DIR.. "src/lib/formats/sf7000_dsk.cpp",
MAME_DIR.. "src/lib/formats/sf7000_dsk.h",
@@ -1558,7 +1836,7 @@ end
--@src/lib/formats/smx_dsk.h,FORMATS["SMX_DSK"] = true
--------------------------------------------------
-if (FORMATS["SMX_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SMX_DSK") then
files {
MAME_DIR.. "src/lib/formats/smx_dsk.cpp",
MAME_DIR.. "src/lib/formats/smx_dsk.h",
@@ -1570,7 +1848,7 @@ end
--@src/lib/formats/sol_cas.h,FORMATS["SOL_CAS"] = true
--------------------------------------------------
-if (FORMATS["SOL_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SOL_CAS") then
files {
MAME_DIR.. "src/lib/formats/sol_cas.cpp",
MAME_DIR.. "src/lib/formats/sol_cas.h",
@@ -1582,7 +1860,7 @@ end
--@src/lib/formats/sorc_cas.h,FORMATS["SORC_CAS"] = true
--------------------------------------------------
-if (FORMATS["SORC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORC_CAS") then
files {
MAME_DIR.. "src/lib/formats/sorc_cas.cpp",
MAME_DIR.. "src/lib/formats/sorc_cas.h",
@@ -1594,7 +1872,7 @@ end
--@src/lib/formats/sorc_dsk.h,FORMATS["SORC_DSK"] = true
--------------------------------------------------
-if (FORMATS["SORC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORC_DSK") then
files {
MAME_DIR.. "src/lib/formats/sorc_dsk.cpp",
MAME_DIR.. "src/lib/formats/sorc_dsk.h",
@@ -1606,7 +1884,7 @@ end
--@src/lib/formats/sord_cas.h,FORMATS["SORD_CAS"] = true
--------------------------------------------------
-if (FORMATS["SORD_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SORD_CAS") then
files {
MAME_DIR.. "src/lib/formats/sord_cas.cpp",
MAME_DIR.. "src/lib/formats/sord_cas.h",
@@ -1618,7 +1896,7 @@ end
--@src/lib/formats/spc1000_cas.h,FORMATS["SPC1000_CAS"] = true
--------------------------------------------------
-if (FORMATS["SPC1000_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SPC1000_CAS") then
files {
MAME_DIR.. "src/lib/formats/spc1000_cas.cpp",
MAME_DIR.. "src/lib/formats/spc1000_cas.h",
@@ -1630,7 +1908,7 @@ end
--@src/lib/formats/st_dsk.h,FORMATS["ST_DSK"] = true
--------------------------------------------------
-if (FORMATS["ST_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ST_DSK") then
files {
MAME_DIR.. "src/lib/formats/st_dsk.cpp",
MAME_DIR.. "src/lib/formats/st_dsk.h",
@@ -1642,7 +1920,7 @@ end
--@src/lib/formats/svi_cas.h,FORMATS["SVI_CAS"] = true
--------------------------------------------------
-if (FORMATS["SVI_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SVI_CAS") then
files {
MAME_DIR.. "src/lib/formats/svi_cas.cpp",
MAME_DIR.. "src/lib/formats/svi_cas.h",
@@ -1654,7 +1932,7 @@ end
--@src/lib/formats/svi_dsk.h,FORMATS["SVI_DSK"] = true
--------------------------------------------------
-if (FORMATS["SVI_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "SVI_DSK") then
files {
MAME_DIR.. "src/lib/formats/svi_dsk.cpp",
MAME_DIR.. "src/lib/formats/svi_dsk.h",
@@ -1663,10 +1941,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/swd_dsk.h,FORMATS["SWD_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "SWD_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/swd_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/swd_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/tandy2k_dsk.h,FORMATS["TANDY2K_DSK"] = true
--------------------------------------------------
-if (FORMATS["TANDY2K_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TANDY2K_DSK") then
files {
MAME_DIR.. "src/lib/formats/tandy2k_dsk.cpp",
MAME_DIR.. "src/lib/formats/tandy2k_dsk.h",
@@ -1678,7 +1968,7 @@ end
--@src/lib/formats/thom_cas.h,FORMATS["THOM_CAS"] = true
--------------------------------------------------
-if (FORMATS["THOM_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "THOM_CAS") then
files {
MAME_DIR.. "src/lib/formats/thom_cas.cpp",
MAME_DIR.. "src/lib/formats/thom_cas.h",
@@ -1690,7 +1980,7 @@ end
--@src/lib/formats/thom_dsk.h,FORMATS["THOM_DSK"] = true
--------------------------------------------------
-if (FORMATS["THOM_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "THOM_DSK") then
files {
MAME_DIR.. "src/lib/formats/thom_dsk.cpp",
MAME_DIR.. "src/lib/formats/thom_dsk.h",
@@ -1702,7 +1992,7 @@ end
--@src/lib/formats/ti99_dsk.h,FORMATS["TI99_DSK"] = true
--------------------------------------------------
-if (FORMATS["TI99_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TI99_DSK") then
files {
MAME_DIR.. "src/lib/formats/ti99_dsk.cpp",
MAME_DIR.. "src/lib/formats/ti99_dsk.h",
@@ -1711,10 +2001,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/tibdd001_dsk.h,FORMATS["TIBDD001_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "TIBDD001_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/tibdd001_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/tibdd001_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/tiki100_dsk.h,FORMATS["TIKI100_DSK"] = true
--------------------------------------------------
-if (FORMATS["TIKI100_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TIKI100_DSK") then
files {
MAME_DIR.. "src/lib/formats/tiki100_dsk.cpp",
MAME_DIR.. "src/lib/formats/tiki100_dsk.h",
@@ -1723,10 +2025,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/tim011_dsk.h,FORMATS["TIM011_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "TIM011_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/tim011_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/tim011_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/trd_dsk.h,FORMATS["TRD_DSK"] = true
--------------------------------------------------
-if (FORMATS["TRD_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRD_DSK") then
files {
MAME_DIR.. "src/lib/formats/trd_dsk.cpp",
MAME_DIR.. "src/lib/formats/trd_dsk.h",
@@ -1738,7 +2052,7 @@ end
--@src/lib/formats/trs80_dsk.h,FORMATS["TRS80_DSK"] = true
--------------------------------------------------
-if (FORMATS["TRS80_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRS80_DSK") then
files {
MAME_DIR.. "src/lib/formats/trs80_dsk.cpp",
MAME_DIR.. "src/lib/formats/trs80_dsk.h",
@@ -1750,7 +2064,7 @@ end
--@src/lib/formats/trs_cas.h,FORMATS["TRS_CAS"] = true
--------------------------------------------------
-if (FORMATS["TRS_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TRS_CAS") then
files {
MAME_DIR.. "src/lib/formats/trs_cas.cpp",
MAME_DIR.. "src/lib/formats/trs_cas.h",
@@ -1762,7 +2076,7 @@ end
--@src/lib/formats/tvc_cas.h,FORMATS["TVC_CAS"] = true
--------------------------------------------------
-if (FORMATS["TVC_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TVC_CAS") then
files {
MAME_DIR.. "src/lib/formats/tvc_cas.cpp",
MAME_DIR.. "src/lib/formats/tvc_cas.h",
@@ -1774,7 +2088,7 @@ end
--@src/lib/formats/tvc_dsk.h,FORMATS["TVC_DSK"] = true
--------------------------------------------------
-if (FORMATS["TVC_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TVC_DSK") then
files {
MAME_DIR.. "src/lib/formats/tvc_dsk.cpp",
MAME_DIR.. "src/lib/formats/tvc_dsk.h",
@@ -1786,7 +2100,7 @@ end
--@src/lib/formats/tzx_cas.h,FORMATS["TZX_CAS"] = true
--------------------------------------------------
-if (FORMATS["TZX_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "TZX_CAS") then
files {
MAME_DIR.. "src/lib/formats/tzx_cas.cpp",
MAME_DIR.. "src/lib/formats/tzx_cas.h",
@@ -1798,7 +2112,7 @@ end
--@src/lib/formats/uef_cas.h,FORMATS["UEF_CAS"] = true
--------------------------------------------------
-if (FORMATS["UEF_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "UEF_CAS") then
files {
MAME_DIR.. "src/lib/formats/uef_cas.cpp",
MAME_DIR.. "src/lib/formats/uef_cas.h",
@@ -1807,22 +2121,10 @@ end
--------------------------------------------------
--
---@src/lib/formats/upd765_dsk.h,FORMATS["UPD765_DSK"] = true
---------------------------------------------------
-
-if (FORMATS["UPD765_DSK"]~=null or _OPTIONS["with-tools"]) then
- files {
- MAME_DIR.. "src/lib/formats/upd765_dsk.cpp",
- MAME_DIR.. "src/lib/formats/upd765_dsk.h",
- }
-end
-
---------------------------------------------------
---
--@src/lib/formats/vdk_dsk.h,FORMATS["VDK_DSK"] = true
--------------------------------------------------
-if (FORMATS["VDK_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VDK_DSK") then
files {
MAME_DIR.. "src/lib/formats/vdk_dsk.cpp",
MAME_DIR.. "src/lib/formats/vdk_dsk.h",
@@ -1834,7 +2136,7 @@ end
--@src/lib/formats/vector06_dsk.h,FORMATS["VECTOR06_DSK"] = true
--------------------------------------------------
-if (FORMATS["VECTOR06_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VECTOR06_DSK") then
files {
MAME_DIR.. "src/lib/formats/vector06_dsk.cpp",
MAME_DIR.. "src/lib/formats/vector06_dsk.h",
@@ -1846,7 +2148,7 @@ end
--@src/lib/formats/vg5k_cas.h,FORMATS["VG5K_CAS"] = true
--------------------------------------------------
-if (FORMATS["VG5K_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VG5K_CAS") then
files {
MAME_DIR.. "src/lib/formats/vg5k_cas.cpp",
MAME_DIR.. "src/lib/formats/vg5k_cas.h",
@@ -1855,10 +2157,22 @@ end
--------------------------------------------------
--
+--@src/lib/formats/vgi_dsk.h,FORMATS["VGI_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "VGI_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/vgi_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/vgi_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/victor9k_dsk.h,FORMATS["VICTOR9K_DSK"] = true
--------------------------------------------------
-if (FORMATS["VICTOR9K_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VICTOR9K_DSK") then
files {
MAME_DIR.. "src/lib/formats/victor9k_dsk.cpp",
MAME_DIR.. "src/lib/formats/victor9k_dsk.h",
@@ -1870,7 +2184,7 @@ end
--@src/lib/formats/vt_cas.h,FORMATS["VT_CAS"] = true
--------------------------------------------------
-if (FORMATS["VT_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "VT_CAS") then
files {
MAME_DIR.. "src/lib/formats/vt_cas.cpp",
MAME_DIR.. "src/lib/formats/vt_cas.h",
@@ -1879,10 +2193,34 @@ end
--------------------------------------------------
--
+--@src/lib/formats/vt_dsk.h,FORMATS["VT_DSK"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "VT_DSK") then
+ files {
+ MAME_DIR.. "src/lib/formats/vt_dsk.cpp",
+ MAME_DIR.. "src/lib/formats/vt_dsk.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_vtech.h,FORMATS["FS_VTECH"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_VTECH") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_vtech.cpp",
+ MAME_DIR.. "src/lib/formats/fs_vtech.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/lib/formats/wd177x_dsk.h,FORMATS["WD177X_DSK"] = true
--------------------------------------------------
-if (FORMATS["WD177X_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "WD177X_DSK") then
files {
MAME_DIR.. "src/lib/formats/wd177x_dsk.cpp",
MAME_DIR.. "src/lib/formats/wd177x_dsk.h",
@@ -1894,7 +2232,7 @@ end
--@src/lib/formats/x07_cas.h,FORMATS["X07_CAS"] = true
--------------------------------------------------
-if (FORMATS["X07_CAS"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "X07_CAS") then
files {
MAME_DIR.. "src/lib/formats/x07_cas.cpp",
MAME_DIR.. "src/lib/formats/x07_cas.h",
@@ -1906,7 +2244,7 @@ end
--@src/lib/formats/x1_tap.h,FORMATS["X1_TAP"] = true
--------------------------------------------------
-if (FORMATS["X1_TAP"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "X1_TAP") then
files {
MAME_DIR.. "src/lib/formats/x1_tap.cpp",
MAME_DIR.. "src/lib/formats/x1_tap.h",
@@ -1918,7 +2256,7 @@ end
--@src/lib/formats/xdf_dsk.h,FORMATS["XDF_DSK"] = true
--------------------------------------------------
-if (FORMATS["XDF_DSK"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "XDF_DSK") then
files {
MAME_DIR.. "src/lib/formats/xdf_dsk.cpp",
MAME_DIR.. "src/lib/formats/xdf_dsk.h",
@@ -1930,11 +2268,119 @@ end
--@src/lib/formats/zx81_p.h,FORMATS["ZX81_P"] = true
--------------------------------------------------
-if (FORMATS["ZX81_P"]~=null or _OPTIONS["with-tools"]) then
+if opt_tool(FORMATS, "ZX81_P") then
files {
MAME_DIR.. "src/lib/formats/zx81_p.cpp",
MAME_DIR.. "src/lib/formats/zx81_p.h",
}
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
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_fat.h,FORMATS["FS_FAT"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_FAT") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_fat.cpp",
+ MAME_DIR.. "src/lib/formats/fs_fat.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_hplif.h,FORMATS["FS_HPLIF"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_HPLIF") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_hplif.cpp",
+ MAME_DIR.. "src/lib/formats/fs_hplif.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_oric_jasmin.h,FORMATS["FS_ORIC_JASMIN"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_ORIC_JASMIN") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_oric_jasmin.cpp",
+ MAME_DIR.. "src/lib/formats/fs_oric_jasmin.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_cbmdos.h,FORMATS["FS_CBMDOS"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_CBMDOS") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_cbmdos.cpp",
+ MAME_DIR.. "src/lib/formats/fs_cbmdos.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_coco_rsdos.h,FORMATS["FS_COCO_RSDOS"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_COCO_RSDOS") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_coco_rsdos.cpp",
+ MAME_DIR.. "src/lib/formats/fs_coco_rsdos.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_coco_os9.h,FORMATS["FS_COCO_OS9"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_COCO_OS9") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_coco_os9.cpp",
+ MAME_DIR.. "src/lib/formats/fs_coco_os9.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_isis.h,FORMATS["FS_ISIS"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_ISIS") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_isis.cpp",
+ MAME_DIR.. "src/lib/formats/fs_isis.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/lib/formats/fs_hp98x5.h,FORMATS["FS_HP98X5"] = true
+--------------------------------------------------
+
+if opt_tool(FORMATS, "FS_HP98X5") then
+ files {
+ MAME_DIR.. "src/lib/formats/fs_hp98x5.cpp",
+ MAME_DIR.. "src/lib/formats/fs_hp98x5.h",
+ }
+end
+
end