diff options
Diffstat (limited to 'scripts/src')
-rwxr-xr-x[-rw-r--r--] | scripts/src/3rdparty.lua | 2103 | ||||
-rw-r--r-- | scripts/src/bus.lua | 2628 | ||||
-rw-r--r-- | scripts/src/cpu.lua | 2232 | ||||
-rw-r--r-- | scripts/src/devices.lua | 1 | ||||
-rw-r--r-- | scripts/src/emu.lua | 57 | ||||
-rw-r--r-- | scripts/src/formats.lua | 834 | ||||
-rw-r--r-- | scripts/src/lib.lua | 49 | ||||
-rw-r--r-- | scripts/src/machine.lua | 1658 | ||||
-rw-r--r-- | scripts/src/main.lua | 368 | ||||
-rw-r--r-- | scripts/src/mame/frontend.lua | 145 | ||||
-rw-r--r-- | scripts/src/netlist.lua | 192 | ||||
-rw-r--r-- | scripts/src/osd/mac.lua | 7 | ||||
-rw-r--r-- | scripts/src/osd/mac_cfg.lua | 13 | ||||
-rw-r--r-- | scripts/src/osd/modules.lua | 366 | ||||
-rw-r--r-- | scripts/src/osd/sdl.lua | 152 | ||||
-rw-r--r-- | scripts/src/osd/sdl_cfg.lua | 43 | ||||
-rw-r--r-- | scripts/src/osd/uwp.lua | 121 | ||||
-rw-r--r-- | scripts/src/osd/uwp_cfg.lua | 20 | ||||
-rw-r--r-- | scripts/src/osd/windows.lua | 57 | ||||
-rw-r--r-- | scripts/src/osd/windows_cfg.lua | 25 | ||||
-rw-r--r-- | scripts/src/sound.lua | 672 | ||||
-rw-r--r-- | scripts/src/tests.lua | 32 | ||||
-rw-r--r-- | scripts/src/tools.lua | 152 | ||||
-rw-r--r-- | scripts/src/video.lua | 666 |
24 files changed, 9057 insertions, 3536 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 2a31b4ee392..b08e847a9ae 100644..100755 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -1,3 +1,4 @@ +-- -- license:BSD-3-Clause -- copyright-holders:MAMEdev Team @@ -19,20 +20,26 @@ project "expat" kind "StaticLib" -- fake out the enough of expat_config.h to get by + -- could possibly add more defines here for specific targets defines { + "HAVE_CXX11", "HAVE_MEMMOVE", "HAVE_STDINT_H", + "HAVE_STDIO_H", "HAVE_STDLIB_H", "HAVE_STRING_H", - "PACKAGE_BUGREPORT=\"expat-bugs@libexpat.org\"", + "PACKAGE=\"expat\"", + "PACKAGE_BUGREPORT=\"https://github.com/libexpat/libexpat/issues\"", "PACKAGE_NAME=\"expat\"", - "PACKAGE_STRING=\"expat 2.1.1\"", + "PACKAGE_STRING=\"expat-2.7.1\"", "PACKAGE_TARNAME=\"expat\"", "PACKAGE_URL=\"\"", - "PACKAGE_VERSION=\"2.1.1\"", + "PACKAGE_VERSION=\"2.7.1\"", "STDC_HEADERS", + "VERSION=\"2.7.1\"", "XML_CONTEXT_BYTES=1024", "XML_DTD", + "XML_GE=1", "XML_NS", } if _OPTIONS["BIGENDIAN"]=="1" then @@ -45,12 +52,34 @@ else "BYTEORDER=1234", } end +if _OPTIONS["targetos"]=="windows" then + defines { + "__USE_MINGW_ANSI_STDIO=0", + } +end +if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="freebsd" then + defines { + "HAVE_ARC4RANDOM", + } +end +if BASE_TARGETOS=="unix" then + defines { + "HAVE_DLFCN_H", + "HAVE_FCNTL_H", + "HAVE_MMAP", + "HAVE_SYS_STAT_H", + "HAVE_SYS_TYPES_H", + "HAVE_UNISTD_H", + "XML_DEV_URANDOM", + } +end configuration { "vs*" } buildoptions { "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter "/wd4127", -- warning C4127: conditional expression is constant "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data + "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration } if _OPTIONS["vs"]=="intel-15" then buildoptions { @@ -60,10 +89,18 @@ if _OPTIONS["vs"]=="intel-15" then "/Qwd869", -- remark #869: parameter "xxx" was never referenced } end - configuration { "vs201*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration + + configuration { "gmake or ninja" } +if _OPTIONS["gcc"]~=nil then + if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then + + else + buildoptions_c { + "-Wno-error=maybe-uninitialized", -- expat in GCC 11.1 } + end +end + configuration { } files { @@ -77,6 +114,7 @@ links { } end + -------------------------------------------------- -- zlib library objects -------------------------------------------------- @@ -87,7 +125,7 @@ project "zlib" kind "StaticLib" local version = str_to_version(_OPTIONS["gcc_version"]) - if _OPTIONS["gcc"]~=nil and ((string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android"))) then + if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android")) then configuration { "gmake or ninja" } if (version >= 30700) then buildoptions { @@ -98,7 +136,6 @@ project "zlib" configuration { "vs*" } buildoptions { - "/wd4131", -- warning C4131: 'xxx' : uses old-style declarator "/wd4127", -- warning C4127: conditional expression is constant "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data } @@ -113,11 +150,6 @@ end "verbose=-1", } - configuration { "gmake or ninja" } - buildoptions_c { - "-Wno-strict-prototypes", - } - configuration { } defines { "ZLIB_CONST", @@ -142,6 +174,64 @@ links { } end + +-------------------------------------------------- +-- zstd library objects +-------------------------------------------------- + +if not _OPTIONS["with-system-zstd"] then +project "zstd" + uuid "5edd8713-bc60-456d-9c95-b928a913c84b" + kind "StaticLib" + + configuration { "Release" } + defines { + "NDEBUG", + } + + configuration { } + + defines { + "XXH_NAMESPACE=ZSTD_", + "DEBUGLEVEL=0", + "ZSTD_DISABLE_ASM", + } + + files { + MAME_DIR .. "3rdparty/zstd/lib/common/debug.c", + MAME_DIR .. "3rdparty/zstd/lib/common/entropy_common.c", + MAME_DIR .. "3rdparty/zstd/lib/common/error_private.c", + MAME_DIR .. "3rdparty/zstd/lib/common/fse_decompress.c", + MAME_DIR .. "3rdparty/zstd/lib/common/pool.c", + MAME_DIR .. "3rdparty/zstd/lib/common/threading.c", + MAME_DIR .. "3rdparty/zstd/lib/common/xxhash.c", + MAME_DIR .. "3rdparty/zstd/lib/common/zstd_common.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/fse_compress.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/hist.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/huf_compress.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_compress.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_compress_literals.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_compress_sequences.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_compress_superblock.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_double_fast.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_fast.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_lazy.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_ldm.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstdmt_compress.c", + MAME_DIR .. "3rdparty/zstd/lib/compress/zstd_opt.c", + --MAME_DIR .. "3rdparty/zstd/lib/decompress/huf_decompress_amd64.S", only supports GCC-like assemblers and SysV calling convention + MAME_DIR .. "3rdparty/zstd/lib/decompress/huf_decompress.c", + MAME_DIR .. "3rdparty/zstd/lib/decompress/zstd_ddict.c", + MAME_DIR .. "3rdparty/zstd/lib/decompress/zstd_decompress_block.c", + MAME_DIR .. "3rdparty/zstd/lib/decompress/zstd_decompress.c", + } +else +links { + ext_lib("zstd"), +} +end + + -------------------------------------------------- -- SoftFloat library objects -------------------------------------------------- @@ -157,6 +247,12 @@ project "softfloat" includedirs { MAME_DIR .. "src/osd", } + + configuration { "gmake or ninja" } + buildoptions_cpp { + "-x c++", + } + configuration { "vs*" } buildoptions { "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data @@ -173,347 +269,375 @@ end files { MAME_DIR .. "3rdparty/softfloat/softfloat.c", MAME_DIR .. "3rdparty/softfloat/fsincos.c", + MAME_DIR .. "3rdparty/softfloat/fpatan.c", MAME_DIR .. "3rdparty/softfloat/fyl2x.c", + MAME_DIR .. "3rdparty/softfloat/f2xm1.c", } + -------------------------------------------------- -- SoftFloat 3 library objects -------------------------------------------------- project "softfloat3" -uuid "9c22fc90-53fd-11e8-b566-0800200c9a66" -kind "StaticLib" + uuid "9c22fc90-53fd-11e8-b566-0800200c9a66" + kind "StaticLib" -options { - "ForceCPP", -} + options { + "ForceCPP", + } -includedirs { - MAME_DIR .. "src/osd", - MAME_DIR .. "3rdparty/softfloat3/build/MAME", - MAME_DIR .. "3rdparty/softfloat3/source", - MAME_DIR .. "3rdparty/softfloat3/source/include", - MAME_DIR .. "3rdparty/softfloat3/source/8086", -} + includedirs { + MAME_DIR .. "src/osd", + MAME_DIR .. "3rdparty/softfloat3/build/MAME", + MAME_DIR .. "3rdparty/softfloat3/source", + MAME_DIR .. "3rdparty/softfloat3/source/include", + MAME_DIR .. "3rdparty/softfloat3/source/8086", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext" + } -configuration { "vs*" } -buildoptions { - "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used - "/wd4703", -- warning C4703: potentially uninitialized local pointer variable 'xxx' used -} + configuration { "gmake or ninja" } + buildoptions_cpp { + "-x c++", + } +if _OPTIONS["gcc"]~=nil and not string.find(_OPTIONS["gcc"], "clang") then + buildoptions_cpp { + "-Wno-error=implicit-fallthrough", + } +end -configuration { } -defines { - "SOFTFLOAT_ROUND_ODD", - "INLINE_LEVEL=5", - "SOFTFLOAT_FAST_DIV32TO16", - "SOFTFLOAT_FAST_DIV64TO32", - "SOFTFLOAT_FAST_INT64" -} + configuration { "vs*" } + buildoptions { + "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used + "/wd4703", -- warning C4703: potentially uninitialized local pointer variable 'xxx' used + } + + configuration { } + + defines { + "SOFTFLOAT_ROUND_ODD", + "INLINE_LEVEL=5", + "SOFTFLOAT_FAST_DIV32TO16", + "SOFTFLOAT_FAST_DIV64TO32", + "SOFTFLOAT_FAST_INT64" + } + +if _OPTIONS["BIGENDIAN"]~="1" then + defines { + "LITTLEENDIAN=1" + } +end + files { + MAME_DIR .. "3rdparty/softfloat3/source/s_eq128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_le128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_lt128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftLeft128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRight128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64Extra.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128Extra.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64Extra.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128Extra.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam256M.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros8.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_add128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_add256M.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_sub128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_sub256M.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mul64ByShifted32To128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mul64To128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mul128By32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mul128To256M.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip_1Ks.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip32_1.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt_1Ks.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt32_1.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/softfloat_raiseFlags.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF16UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF16UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f32UIToCommonNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF32UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF32UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f64UIToCommonNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF64UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF64UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/extF80M_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_extF80UIToCommonNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToExtF80UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNExtF80UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/f128M_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f128UIToCommonNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF128UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF128UI.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF16Sig.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF16.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF32Sig.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF32.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF64Sig.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF64.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalExtF80Sig.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToExtF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToExtF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsExtF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsExtF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF128Sig.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF128.c", + MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF128.c", + MAME_DIR .. "3rdparty/softfloat3/source/softfloat_state.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_mulAdd.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f16_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_mulAdd.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f32_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_mulAdd.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f64_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f128.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f128M.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_extF80.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_mulAdd.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128_isSignalingNaN.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64_r_minMag.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f16.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f32.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_extF80M.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f64.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_roundToInt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_add.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_sub.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_mul.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_mulAdd.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_div.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_rem.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_sqrt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_le.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq_signaling.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_le_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt_quiet.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/f2xm1.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/fpatan.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/fprem.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/fsincos.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/fyl2x.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/poly.c", + MAME_DIR .. "3rdparty/softfloat3/bochs_ext/extF80_scale.c", + } -files { - MAME_DIR .. "3rdparty/softfloat3/source/s_eq128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_le128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_lt128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftLeft128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRight128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam64Extra.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shortShiftRightJam128Extra.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam64Extra.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam128Extra.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_shiftRightJam256M.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros8.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_countLeadingZeros64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_add128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_add256M.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_sub128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_sub256M.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mul64ByShifted32To128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mul64To128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mul128By32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mul128To256M.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip_1Ks.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecip32_1.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt_1Ks.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_approxRecipSqrt32_1.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/softfloat_raiseFlags.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF16UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF16UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f32UIToCommonNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF32UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF32UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f64UIToCommonNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF64UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF64UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/extF80M_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_extF80UIToCommonNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToExtF80UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNExtF80UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/f128M_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_f128UIToCommonNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_commonNaNToF128UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/8086/s_propagateNaNF128UI.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundToUI64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundToI64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF16Sig.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF16.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF32Sig.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF32.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF64Sig.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF64.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalExtF80Sig.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToExtF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToExtF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsExtF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsExtF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normSubnormalF128Sig.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_roundPackToF128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_normRoundPackToF128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_addMagsF128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_subMagsF128.c", - MAME_DIR .. "3rdparty/softfloat3/source/s_mulAddF128.c", - MAME_DIR .. "3rdparty/softfloat3/source/softfloat_state.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui32_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/ui64_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/i32_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/i64_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_mulAdd.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f16_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_mulAdd.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f32_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_mulAdd.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f64_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_to_f128.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_to_f128M.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/extF80M_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_extF80.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_mulAdd.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_lt_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128_isSignalingNaN.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_ui64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i32_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_i64_r_minMag.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f16.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f32.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_extF80M.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_to_f64.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_roundToInt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_add.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_sub.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_mul.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_mulAdd.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_div.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_rem.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_sqrt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_le.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_eq_signaling.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_le_quiet.c", - MAME_DIR .. "3rdparty/softfloat3/source/f128M_lt_quiet.c", -} ------------------------------------------------- -- libJPEG library objects @@ -536,11 +660,6 @@ if _OPTIONS["vs"]=="intel-15" then } end - configuration { "winstore*" } - defines { - "NO_GETENV" - } - configuration { } files { @@ -597,6 +716,7 @@ links { } end + -------------------------------------------------- -- libflac library objects -------------------------------------------------- @@ -608,9 +728,11 @@ project "flac" configuration { "vs*" } buildoptions { + "/wd4057", -- warning C4057: 'operator': 'identifier1' differs in indirection to slightly different base types from 'identifier2' "/wd4127", -- warning C4127: conditional expression is constant "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter + "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration "/wd4702", -- warning C4702: unreachable code } if _OPTIONS["vs"]=="intel-15" then @@ -623,36 +745,65 @@ if _OPTIONS["vs"]=="intel-15" then } end - configuration { "mingw-clang" } - buildoptions { - "-include stdint.h" - } - - configuration { "vs201*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration - } - - configuration { "vsllvm" } - buildoptions { - "-Wno-unused-function", - "-Wno-enum-conversion", + configuration { "mingw*" } + defines { + "HAVE_FSEEKO", } configuration { } defines { - "WORDS_BIGENDIAN=0", - "FLAC__NO_ASM", - "_LARGEFILE_SOURCE", - "_FILE_OFFSET_BITS=64", + "NDEBUG", -- always enable this to avoid debug log spam on compression + "HAVE_CONFIG_H", -- mostly because PACKAGE_VERSION is a pain to do otherwise + "ENABLE_64_BIT_WORDS=1", + "OGG_FOUND=0", "FLAC__HAS_OGG=0", - "HAVE_CONFIG_H=1", + "HAVE_LROUND=1", + "HAVE_INTTYPES_H", + "HAVE_STDBOOL_H", + "HAVE_STDINT_H", + "HAVE_STDIO_H", + "HAVE_STDLIB_H", + "HAVE_STRING_H", + "_FILE_OFFSET_BITS=64", + "_LARGEFILE_SOURCE", } + if _OPTIONS["gcc"]~=nil then + defines { + "HAVE_BSWAP16", + "HAVE_BSWAP32", + } + end + + if _OPTIONS["BIGENDIAN"]=="1" then + defines { + "CPU_IS_BIG_ENDIAN=1", + "CPU_IS_LITTLE_ENDIAN=0", + "WORDS_BIGENDIAN=1", + } + else + defines { + "CPU_IS_BIG_ENDIAN=0", + "CPU_IS_LITTLE_ENDIAN=1", + "WORDS_BIGENDIAN=0", + } + end + + if _OPTIONS["targetos"]=="macosx" then + defines { + "FLAC__SYS_DARWIN", + } + elseif _OPTIONS["targetos"]=="linux" then + defines { + "FLAC__SYS_LINUX", + } + end + + configuration { "gmake or ninja" } buildoptions_c { - "-Wno-unused-function", - "-O0", + "-Wno-error=bad-function-cast", + "-Wno-error=unused-function", } if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "android")) then buildoptions { @@ -667,33 +818,52 @@ end configuration { } includedirs { - MAME_DIR .. "3rdparty/libflac/src/libFLAC/include", - MAME_DIR .. "3rdparty/libflac/include", + MAME_DIR .. "3rdparty/flac/src/libFLAC/include", + MAME_DIR .. "3rdparty/flac/include", } files { - MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitmath.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitreader.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/bitwriter.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/cpu.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/crc.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/fixed.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/float.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/format.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/lpc.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/md5.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/memory.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_decoder.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_encoder.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/stream_encoder_framing.c", - MAME_DIR .. "3rdparty/libflac/src/libFLAC/window.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/bitmath.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/bitreader.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/bitwriter.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/cpu.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/crc.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/fixed.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/fixed_intrin_avx2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/fixed_intrin_sse2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/fixed_intrin_sse42.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/fixed_intrin_ssse3.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/float.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/format.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc_intrin_avx2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc_intrin_fma.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc_intrin_neon.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc_intrin_sse2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/lpc_intrin_sse41.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/md5.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/memory.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_decoder.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_encoder.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_encoder_framing.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_encoder_intrin_avx2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_encoder_intrin_sse2.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/stream_encoder_intrin_ssse3.c", + MAME_DIR .. "3rdparty/flac/src/libFLAC/window.c", } + + if _OPTIONS["targetos"]=="windows" then + files { + MAME_DIR .. "3rdparty/flac/src/share/win_utf8_io/win_utf8_io.c", + } + end else links { ext_lib("flac"), } end + -------------------------------------------------- -- lib7z library objects -------------------------------------------------- @@ -704,38 +874,36 @@ project "7z" configuration { "gmake or ninja" } buildoptions_c { - "-Wno-undef", - "-Wno-strict-prototypes", + "-Wno-error=undef", + "-Wno-error=strict-prototypes", } +if _OPTIONS["gcc"]~=nil then + if string.find(_OPTIONS["gcc"], "clang") then - configuration { "mingw*" } - buildoptions_c { - "-Wno-strict-prototypes", - } + else + if str_to_version(_OPTIONS["gcc_version"]) >= 130000 then + buildoptions_c { + "-Wno-error=dangling-pointer", + } + end + end +end configuration { "vs*" } buildoptions { "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter + "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration + "/wd4457", -- warning C4457: declaration of 'xxx' hides function parameter } if _OPTIONS["vs"]=="intel-15" then buildoptions { "/Qwd869", -- remark #869: parameter "xxx" was never referenced } end - configuration { "vs201*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration - "/wd4457", -- warning C4457: declaration of 'xxx' hides function parameter - } - configuration { "winstore*" } - forcedincludes { - MAME_DIR .. "src/osd/uwp/uwpcompat.h" - } - configuration { } defines { - "_7ZIP_PPMD_SUPPPORT", - "_7ZIP_ST", + "Z7_PPMD_SUPPPORT", + "Z7_ST", } files { @@ -761,19 +929,24 @@ end -- MAME_DIR .. "3rdparty/lzma/C/DllSecur.c", MAME_DIR .. "3rdparty/lzma/C/LzFind.c", -- MAME_DIR .. "3rdparty/lzma/C/LzFindMt.c", + MAME_DIR .. "3rdparty/lzma/C/LzFindOpt.c", MAME_DIR .. "3rdparty/lzma/C/Lzma2Dec.c", - MAME_DIR .. "3rdparty/lzma/C/Lzma2Enc.c", - MAME_DIR .. "3rdparty/lzma/C/Lzma86Dec.c", - MAME_DIR .. "3rdparty/lzma/C/Lzma86Enc.c", + -- MAME_DIR .. "3rdparty/lzma/C/Lzma2DecMt.c", + -- MAME_DIR .. "3rdparty/lzma/C/Lzma2Enc.c", + -- MAME_DIR .. "3rdparty/lzma/C/Lzma86Dec.c", + -- MAME_DIR .. "3rdparty/lzma/C/Lzma86Enc.c", MAME_DIR .. "3rdparty/lzma/C/LzmaDec.c", MAME_DIR .. "3rdparty/lzma/C/LzmaEnc.c", -- MAME_DIR .. "3rdparty/lzma/C/LzmaLib.c", -- MAME_DIR .. "3rdparty/lzma/C/MtCoder.c", + -- MAME_DIR .. "3rdparty/lzma/C/MtDec.c", MAME_DIR .. "3rdparty/lzma/C/Ppmd7.c", MAME_DIR .. "3rdparty/lzma/C/Ppmd7Dec.c", - MAME_DIR .. "3rdparty/lzma/C/Ppmd7Enc.c", + -- MAME_DIR .. "3rdparty/lzma/C/Ppmd7Enc.c", MAME_DIR .. "3rdparty/lzma/C/Sha256.c", + MAME_DIR .. "3rdparty/lzma/C/Sha256Opt.c", MAME_DIR .. "3rdparty/lzma/C/Sort.c", + -- MAME_DIR .. "3rdparty/lzma/C/SwapBytes.c", -- MAME_DIR .. "3rdparty/lzma/C/Threads.c", -- MAME_DIR .. "3rdparty/lzma/C/Xz.c", -- MAME_DIR .. "3rdparty/lzma/C/XzCrc64.c", @@ -783,6 +956,7 @@ end -- MAME_DIR .. "3rdparty/lzma/C/XzIn.c", } + -------------------------------------------------- -- LUA library objects -------------------------------------------------- @@ -793,22 +967,18 @@ project "lua" uuid "d9e2eed1-f1ab-4737-a6ac-863700b1a5a9" kind "StaticLib" - -- uncomment the options below to - -- compile using c++. Do the same - -- in lualibs. - -- In addition comment out the "extern "C"" - -- in lua.hpp and do the same in luaengine.c line 47 - --options { - -- "ForceCPP", - --} + options { + "ForceCPP", + } configuration { "gmake or ninja" } - buildoptions_c { - "-Wno-bad-function-cast" + buildoptions_cpp { + "-x c++", } configuration { "vs*" } buildoptions { + "/wd4101", -- warning C4101: 'identifier': unreferenced local variable "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data "/wd4702", -- warning C4702: unreachable code "/wd4310", -- warning C4310: cast truncates constant value @@ -819,27 +989,17 @@ if _OPTIONS["vs"]=="intel-15" then } end - configuration { "winstore*" } - forcedincludes { - MAME_DIR .. "src/osd/uwp/uwpcompat.h", - } - configuration { } defines { "LUA_COMPAT_ALL", "LUA_COMPAT_5_1", "LUA_COMPAT_5_2", } - if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") and not (_OPTIONS["targetos"]=="pnacl") then + if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") then defines { "LUA_USE_POSIX", } end - if ("pnacl" == _OPTIONS["gcc"]) then - defines { - "LUA_32BITS", - } - end configuration { } @@ -870,7 +1030,6 @@ end MAME_DIR .. "3rdparty/lua/src/lzio.c", MAME_DIR .. "3rdparty/lua/src/lauxlib.c", MAME_DIR .. "3rdparty/lua/src/lbaselib.c", - MAME_DIR .. "3rdparty/lua/src/lbitlib.c", MAME_DIR .. "3rdparty/lua/src/lcorolib.c", MAME_DIR .. "3rdparty/lua/src/ldblib.c", MAME_DIR .. "3rdparty/lua/src/liolib.c", @@ -888,6 +1047,7 @@ links { } end + -------------------------------------------------- -- small lua library objects -------------------------------------------------- @@ -896,19 +1056,27 @@ project "lualibs" uuid "1d84edab-94cf-48fb-83ee-b75bc697660e" kind "StaticLib" + options { + "ForceCPP", + } + + configuration { "gmake or ninja" } + buildoptions { + "-Wno-error=unused-variable", + } + buildoptions_cpp { + "-x c++", + } + configuration { "vs*" } buildoptions { + "/wd4101", -- warning C4101: 'identifier': unreferenced local variable "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data "/wd4055", -- warning C4055: 'type cast': from data pointer 'void *' to function pointer 'xxx' "/wd4152", -- warning C4152: nonstandard extension, function/data pointer conversion in expression "/wd4130", -- warning C4130: '==': logical operation on address of string constant } - configuration { "pnacl"} - buildoptions { - "-Wno-char-subscripts", - } - configuration { } defines { "LUA_COMPAT_ALL", @@ -916,39 +1084,23 @@ project "lualibs" includedirs { MAME_DIR .. "3rdparty", - } -if (_OPTIONS["osd"] ~= "uwp") then - includedirs { MAME_DIR .. "3rdparty/linenoise", } -end + includedirs { ext_includedir("lua"), ext_includedir("zlib"), ext_includedir("sqlite3"), } - configuration { "winstore*" } - forcedincludes { - MAME_DIR .. "src/osd/uwp/uwpcompat.h" - } - configuration {} files { MAME_DIR .. "3rdparty/lsqlite3/lsqlite3.c", MAME_DIR .. "3rdparty/lua-zlib/lua_zlib.c", MAME_DIR .. "3rdparty/luafilesystem/src/lfs.c", - } -if (_OPTIONS["osd"] == "uwp") then - files { - MAME_DIR .. "3rdparty/lua-linenoise/linenoise_none.c", - } -else - files { MAME_DIR .. "3rdparty/lua-linenoise/linenoise.c", } -end -------------------------------------------------- -- SQLite3 library objects @@ -959,28 +1111,32 @@ project "sqlite3" uuid "5cb3d495-57ed-461c-81e5-80dc0857517d" kind "StaticLib" - configuration { "gmake" } + configuration { "gmake or ninja" } buildoptions_c { - "-Wno-discarded-qualifiers", - "-Wno-unused-but-set-variable", "-Wno-bad-function-cast", + "-Wno-discarded-qualifiers", "-Wno-undef", + "-Wno-unused-but-set-variable", + "-Wno-unused-variable", } -if _OPTIONS["gcc"]~=nil and ((string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android"))) then +if _OPTIONS["gcc"]~=nil then + if string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs") or string.find(_OPTIONS["gcc"], "android") then buildoptions_c { "-Wno-incompatible-pointer-types-discards-qualifiers", } -end - configuration { "winstore*" } - defines { - "SQLITE_OS_WINRT", + else + buildoptions_c { + "-Wno-return-local-addr", -- sqlite3.c in GCC 10 + "-Wno-misleading-indentation", -- sqlite3.c in GCC 11.1 } - - configuration { "vsllvm" } + end +end + configuration { "vs*" } +if _OPTIONS["vs"]=="clangcl" then buildoptions { - "-Wno-deprecated-declarations", - "-Wno-unused-variable", + "-Wno-implicit-int-float-conversion", } +end configuration { } @@ -994,9 +1150,12 @@ links { end end + + -------------------------------------------------- -- portmidi library objects -------------------------------------------------- + if _OPTIONS["NO_USE_MIDI"]~="1" then if not _OPTIONS["with-system-portmidi"] then project "portmidi" @@ -1013,6 +1172,7 @@ project "portmidi" "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter "/wd4127", -- warning C4127: conditional expression is constant "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data + "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration "/wd4706", -- warning C4706: assignment within conditional expression } if _OPTIONS["vs"]=="intel-15" then @@ -1024,16 +1184,19 @@ if _OPTIONS["vs"]=="intel-15" then } end - configuration { "vs201*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration - } - configuration { "linux*" } defines { "PMALSA=1", } + configuration { } + configuration { "gmake or ninja" } + buildoptions_c { + "-Wno-unknown-pragmas", + "-Wno-unused-but-set-variable", + "-Wno-unused-function", + "-Wno-unused-variable", + } configuration { } files { @@ -1071,7 +1234,6 @@ end MAME_DIR .. "3rdparty/portmidi/pm_mac/pmmacosxcm.c", MAME_DIR .. "3rdparty/portmidi/pm_mac/finddefault.c", MAME_DIR .. "3rdparty/portmidi/pm_mac/readbinaryplist.c", - MAME_DIR .. "3rdparty/portmidi/pm_mac/osxsupport.m", MAME_DIR .. "3rdparty/portmidi/porttime/ptmacosx_mach.c", } end @@ -1082,6 +1244,7 @@ links { end end + -------------------------------------------------- -- BX library objects -------------------------------------------------- @@ -1094,6 +1257,7 @@ project "bx" "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", "__STDC_CONSTANT_MACROS", + "BX_CONFIG_DEBUG=0", } configuration { "vs*" } @@ -1105,7 +1269,7 @@ project "bx" MAME_DIR .. "3rdparty/bx/include/compat/mingw", } - configuration { "osx* or xcode4" } + configuration { "osx*" } includedirs { MAME_DIR .. "3rdparty/bx/include/compat/osx", } @@ -1120,13 +1284,17 @@ project "bx" MAME_DIR .. "3rdparty/bx/include/compat/freebsd", } + configuration { "linux*" } + includedirs { + MAME_DIR .. "3rdparty/bx/include/compat/linux", + } + configuration { } - local version = str_to_version(_OPTIONS["gcc_version"]) - if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "gcc") then - if version < 60000 then - buildoptions { - "-Wno-strict-overflow", + if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then + if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then + buildoptions_cpp { + "-Wno-unused-private-field", } end end @@ -1160,6 +1328,7 @@ project "bx" MAME_DIR .. "3rdparty/bx/src/url.cpp", } + -------------------------------------------------- -- BIMG library objects -------------------------------------------------- @@ -1181,7 +1350,7 @@ project "bimg" MAME_DIR .. "3rdparty/bx/include/compat/mingw", } - configuration { "osx* or xcode4" } + configuration { "osx*" } includedirs { MAME_DIR .. "3rdparty/bx/include/compat/osx", } @@ -1196,23 +1365,101 @@ project "bimg" MAME_DIR .. "3rdparty/bx/include/compat/freebsd", } + configuration { "linux*" } + includedirs { + MAME_DIR .. "3rdparty/bx/include/compat/linux", + } + + configuration { "gmake or ninja" } + buildoptions { + "-Wno-unused-but-set-variable", + "-Wno-undef", + } + buildoptions_c { + "-Wno-strict-prototypes", + } + configuration { } + if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then + if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then + buildoptions_cpp { + "-Wno-unused-const-variable", + } + end + end + defines { "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", "__STDC_CONSTANT_MACROS", + "BX_CONFIG_DEBUG=0", } + if _OPTIONS["gcc"]~=nil and not string.find(_OPTIONS["gcc"], "clang") then + -- This is a gross hack. For some reason GitHub Actions MinGW GCC seems to define SSE feature macros for features that are not enabled. + local archopts = (_OPTIONS["ARCHOPTS"] or "") .. " " .. (_OPTIONS["ARCHOPTS_CXX"] or "") + local ssever = "20" + if string.find(archopts, "-msse4.2") then + ssever = "42" + elseif string.find(archopts, "-msse4.1") then + ssever = "41" + elseif string.find(archopts, "-msse3") then + ssever = "30" + end + configuration { "x64", "mingw*", "not arm64" } + defines { + "ASTCENC_AVX=0", + "ASTCENC_SSE=" .. ssever, + } + configuration { } + end + + configuration { "x32" } + defines { + "ASTCENC_AVX=0", + "ASTCENC_SSE=0", -- assumes x86-64 ALU is present when using SSE + } + configuration { } + includedirs { MAME_DIR .. "3rdparty/bimg/include", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/include", + MAME_DIR .. "3rdparty/bimg/3rdparty/tinyexr/deps/miniz", } files { MAME_DIR .. "3rdparty/bimg/src/image.cpp", MAME_DIR .. "3rdparty/bimg/src/image_gnf.cpp", + + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_averages_and_directions.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_block_sizes.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_color_quantize.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_color_unquantize.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_compress_symbolic.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_compute_variance.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_decompress_symbolic.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_diagnostic_trace.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_entry.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_find_best_partitioning.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_ideal_endpoints_and_weights.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_image.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_integer_sequence.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_mathlib.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_mathlib_softfloat.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_partition_tables.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_percentile_tables.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_pick_best_endpoint_format.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_platform_isa_detection.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_quantization.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_symbolic_physical.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_weight_align.cpp", + MAME_DIR .. "3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_weight_quant_xfer_tables.cpp", + + MAME_DIR .. "3rdparty/bimg/3rdparty/tinyexr/deps/miniz/miniz.c", } + -------------------------------------------------- -- BGFX library objects -------------------------------------------------- @@ -1227,12 +1474,7 @@ project "bgfx" "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data "/wd4611", -- warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable "/wd4310", -- warning C4310: cast truncates constant value - } - - configuration { "vsllvm" } - buildoptions { - "-Wno-unneeded-internal-declaration", - "-Wno-unused-const-variable", + "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used } if _OPTIONS["vs"]=="intel-15" then @@ -1249,14 +1491,10 @@ end MAME_DIR .. "3rdparty/bgfx/3rdparty", MAME_DIR .. "3rdparty/bx/include", MAME_DIR .. "3rdparty/bimg/include", - MAME_DIR .. "3rdparty/bgfx/3rdparty/dxsdk/include", + MAME_DIR .. "3rdparty/bgfx/3rdparty/directx-headers/include/directx", + MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos", } - configuration { "not steamlink"} - includedirs { - MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos", - } - configuration { "android-*"} buildoptions { "-Wno-macro-redefined", @@ -1271,7 +1509,7 @@ end MAME_DIR .. "3rdparty/bx/include/compat/mingw", } - configuration { "osx* or xcode4" } + configuration { "osx*" } includedirs { MAME_DIR .. "3rdparty/bx/include/compat/osx", } @@ -1286,21 +1524,19 @@ end MAME_DIR .. "3rdparty/bx/include/compat/freebsd", } + configuration { "linux*", "not mingw*" } + includedirs { + MAME_DIR .. "3rdparty/bgfx/3rdparty/directx-headers/include/wsl/stubs", + MAME_DIR .. "3rdparty/bx/include/compat/linux", + } + configuration { "gmake or ninja" } buildoptions { "-Wno-uninitialized", - "-Wno-unused-function", - "-Wno-unused-variable", - "-Wno-unused-but-set-variable", - "-Wno-format-extra-args", -- temp for mingw 6.1 till update bgfx code - } - configuration { "rpi" } - buildoptions { "-Wno-unused-but-set-variable", + "-Wno-unused-function", "-Wno-unused-variable", - } - defines { - "__STDC_VERSION__=199901L", + "-Wno-tautological-compare", } configuration { } @@ -1320,6 +1556,7 @@ end "-Wno-unknown-attributes", "-Wno-missing-braces", "-Wno-int-to-pointer-cast", + "-Wno-ignored-attributes", -- many instances in ImGui } end end @@ -1335,38 +1572,67 @@ end end end + if _OPTIONS["targetos"]=="freebsd" then + buildoptions { + backtick(pkgconfigcmd() .. " --cflags gl") + } + end + defines { "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", "__STDC_CONSTANT_MACROS", + "BX_CONFIG_DEBUG=0", "BGFX_CONFIG_MAX_FRAME_BUFFERS=128", } + + if _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="openbsd" then + if _OPTIONS["NO_X11"]=="1" then + defines { + "BGFX_CONFIG_RENDERER_OPENGLES=1", + "BGFX_CONFIG_RENDERER_OPENGL=0", + } + end + if _OPTIONS["USE_WAYLAND"]=="1" then + defines { + "WL_EGL_PLATFORM=1", + } + buildoptions { + backtick(pkgconfigcmd() .. " --cflags wayland-egl-backend"), + } + end + end + files { MAME_DIR .. "3rdparty/bgfx/src/bgfx.cpp", MAME_DIR .. "3rdparty/bgfx/src/debug_renderdoc.cpp", MAME_DIR .. "3rdparty/bgfx/src/dxgi.cpp", MAME_DIR .. "3rdparty/bgfx/src/glcontext_egl.cpp", - MAME_DIR .. "3rdparty/bgfx/src/glcontext_glx.cpp", + MAME_DIR .. "3rdparty/bgfx/src/glcontext_html5.cpp", MAME_DIR .. "3rdparty/bgfx/src/glcontext_wgl.cpp", MAME_DIR .. "3rdparty/bgfx/src/nvapi.cpp", + MAME_DIR .. "3rdparty/bgfx/src/renderer_agc.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d11.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d12.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_d3d9.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_gl.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_gnm.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_noop.cpp", + MAME_DIR .. "3rdparty/bgfx/src/renderer_nvn.cpp", MAME_DIR .. "3rdparty/bgfx/src/renderer_vk.cpp", + MAME_DIR .. "3rdparty/bgfx/src/renderer_webgpu.cpp", MAME_DIR .. "3rdparty/bgfx/src/shader.cpp", MAME_DIR .. "3rdparty/bgfx/src/shader_dx9bc.cpp", MAME_DIR .. "3rdparty/bgfx/src/shader_dxbc.cpp", MAME_DIR .. "3rdparty/bgfx/src/shader_spirv.cpp", MAME_DIR .. "3rdparty/bgfx/src/topology.cpp", - MAME_DIR .. "3rdparty/bgfx/src/vertexdecl.cpp", + MAME_DIR .. "3rdparty/bgfx/src/vertexlayout.cpp", MAME_DIR .. "3rdparty/bgfx/examples/common/imgui/imgui.cpp", MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg.cpp", MAME_DIR .. "3rdparty/bgfx/examples/common/nanovg/nanovg_bgfx.cpp", MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui.cpp", MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_draw.cpp", + MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_tables.cpp", MAME_DIR .. "3rdparty/bgfx/3rdparty/dear-imgui/imgui_widgets.cpp", } if _OPTIONS["targetos"]=="macosx" then @@ -1375,11 +1641,17 @@ end MAME_DIR .. "3rdparty/bgfx/src/glcontext_nsgl.mm", MAME_DIR .. "3rdparty/bgfx/src/renderer_mtl.mm", } + buildoptions { + "-x objective-c++", + "-D BGFX_CONFIG_MULTITHREADED=0", + } end + -------------------------------------------------- -- PortAudio library objects -------------------------------------------------- + if _OPTIONS["NO_USE_PORTAUDIO"]~="1" then if not _OPTIONS["with-system-portaudio"] then project "portaudio" @@ -1394,7 +1666,16 @@ project "portaudio" "/wd4389", -- warning C4389: 'operator' : signed/unsigned mismatch "/wd4189", -- warning C4189: 'xxx' : local variable is initialized but not referenced "/wd4127", -- warning C4127: conditional expression is constant + "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration + "/wd4312", -- warning C4312: 'type cast': conversion from 'UINT' to 'HWAVEIN' of greater size + } + if _OPTIONS["vs"]=="clangcl" then + buildoptions { + "-Wno-implicit-const-int-float-conversion", + "-Wno-sometimes-uninitialized", + "-Wno-unused-but-set-variable", } + end if _OPTIONS["vs"]=="intel-15" then buildoptions { "/Qwd869", -- remark #869: parameter "xxx" was never referenced @@ -1403,30 +1684,17 @@ project "portaudio" "/Qwd1879", -- warning #1879: unimplemented pragma ignored } end - configuration { "vs2015*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration - } - - configuration { "vsllvm" } - buildoptions { - "-Wno-deprecated-declarations", - "-Wno-missing-braces", - "-Wno-unused-variable", - "-Wno-switch", - "-Wno-unused-function", - } configuration { "gmake or ninja" } buildoptions_c { - "-Wno-strict-prototypes", "-Wno-bad-function-cast", - "-Wno-undef", "-Wno-missing-braces", - "-Wno-unused-variable", - "-Wno-unused-value", - "-Wno-unused-function", + "-Wno-strict-prototypes", + "-Wno-undef", "-Wno-unknown-pragmas", + "-Wno-unused-function", + "-Wno-unused-value", + "-Wno-unused-variable", } local version = str_to_version(_OPTIONS["gcc_version"]) @@ -1438,17 +1706,25 @@ project "portaudio" "-Wno-unused-but-set-variable", "-Wno-maybe-uninitialized", "-Wno-sometimes-uninitialized", + "-Wno-incompatible-pointer-types-discards-qualifiers", + "-Wno-pointer-sign", + "-Wno-switch", + "-Wno-macro-redefined", + "-Wno-unused-label", } else - if (version >= 40600) then - buildoptions_c { - "-Wno-unused-but-set-variable", - "-Wno-maybe-uninitialized", - "-Wno-sometimes-uninitialized", - "-w", - "-Wno-incompatible-pointer-types-discards-qualifiers", - } - end + buildoptions_c { + "-Wno-maybe-uninitialized", + "-Wno-sometimes-uninitialized", + "-Wno-unused-but-set-variable", + "-Wno-incompatible-pointer-types-discards-qualifiers", + "-w", + } + end + if string.find(_OPTIONS["gcc"], "clang") and version >= 100000 then + buildoptions_c { + "-Wno-misleading-indentation", + } end end configuration { "vs*" } @@ -1489,14 +1765,10 @@ project "portaudio" MAME_DIR .. "3rdparty/portaudio/src/os/win", } - configuration { "mingw*" } - includedirs { - MAME_DIR .. "3rdparty/portaudio/src/hostapi/wasapi/mingw-include", - } - configuration { } files { MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_util.c", + MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_version.c", MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_waveformat.c", MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_hostapis.c", MAME_DIR .. "3rdparty/portaudio/src/os/win/pa_win_coinitialize.c", @@ -1551,519 +1823,9 @@ end end -------------------------------------------------- --- SDL2 library --------------------------------------------------- -if _OPTIONS["with-bundled-sdl2"] then -project "SDL2" - uuid "caab3327-574f-4abf-b25b-74d5238ae59b" -if _OPTIONS["targetos"]=="android" then - kind "SharedLib" - targetextension ".so" - targetprefix "lib" - links { - "GLESv1_CM", - "GLESv2", - "log", - "OpenSLES", - "c++_static" - } - linkoptions { - "-Wl,-soname,libSDL2.so", - } - - if _OPTIONS["SEPARATE_BIN"]~="1" then - if _OPTIONS["PLATFORM"]=="arm" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a") - end - if _OPTIONS["PLATFORM"]=="arm64" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a") - end - if _OPTIONS["PLATFORM"]=="mips" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips") - end - if _OPTIONS["PLATFORM"]=="mips64" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips64") - end - if _OPTIONS["PLATFORM"]=="x86" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86") - end - if _OPTIONS["PLATFORM"]=="x64" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86_64") - end - end - - strip() -else - kind "StaticLib" -end - - files { - MAME_DIR .. "3rdparty/SDL2/include/begin_code.h", - MAME_DIR .. "3rdparty/SDL2/include/close_code.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_assert.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_atomic.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_audio.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_bits.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_blendmode.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_clipboard.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_config.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_config_windows.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_copying.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_cpuinfo.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_egl.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_endian.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_error.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_events.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_filesystem.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_gamecontroller.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_gesture.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_haptic.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_hints.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_joystick.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_keyboard.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_keycode.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_loadso.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_log.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_main.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_messagebox.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_mouse.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_mutex.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_name.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengl.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengl_glext.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2ext.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_gl2platform.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_opengles2_khrplatform.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_pixels.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_platform.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_power.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_quit.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_rect.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_render.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_revision.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_rwops.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_scancode.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_shape.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_stdinc.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_surface.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_system.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_syswm.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_assert.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_common.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_compare.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_crc32.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_font.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_fuzzer.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_harness.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_images.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_log.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_md5.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_test_random.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_thread.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_timer.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_touch.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_types.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_version.h", - MAME_DIR .. "3rdparty/SDL2/include/SDL_video.h", - - - MAME_DIR .. "3rdparty/SDL2/src/atomic/SDL_atomic.c", - MAME_DIR .. "3rdparty/SDL2/src/atomic/SDL_spinlock.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/disk/SDL_diskaudio.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/disk/SDL_diskaudio.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/dummy/SDL_dummyaudio.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/dummy/SDL_dummyaudio.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audio.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audio_c.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiocvt.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiodev.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiodev_c.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_audiotypecvt.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_mixer.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_sysaudio.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_wave.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/SDL_wave.h", - MAME_DIR .. "3rdparty/SDL2/src/cpuinfo/SDL_cpuinfo.c", - MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi.c", - MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi.h", - MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi_overrides.h", - MAME_DIR .. "3rdparty/SDL2/src/dynapi/SDL_dynapi_procs.h", - MAME_DIR .. "3rdparty/SDL2/src/events/blank_cursor.h", - MAME_DIR .. "3rdparty/SDL2/src/events/default_cursor.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_clipboardevents.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_clipboardevents_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_dropevents.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_dropevents_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_events.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_events_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_gesture.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_gesture_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_keyboard.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_keyboard_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_mouse.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_mouse_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_quit.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_sysevents.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_touch.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_touch_c.h", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_windowevents.c", - MAME_DIR .. "3rdparty/SDL2/src/events/SDL_windowevents_c.h", - MAME_DIR .. "3rdparty/SDL2/src/file/SDL_rwops.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/SDL_haptic.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/SDL_syshaptic.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_gamecontroller.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_joystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_joystick_c.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/SDL_sysjoystick.h", - MAME_DIR .. "3rdparty/SDL2/src/loadso/windows/SDL_sysloadso.c", - MAME_DIR .. "3rdparty/SDL2/src/power/SDL_power.c", - MAME_DIR .. "3rdparty/SDL2/src/power/windows/SDL_syspower.c", - MAME_DIR .. "3rdparty/SDL2/src/render/direct3d/SDL_render_d3d.c", - MAME_DIR .. "3rdparty/SDL2/src/render/direct3d11/SDL_render_d3d11.c", - MAME_DIR .. "3rdparty/SDL2/src/render/mmx.h", - MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_render_gl.c", - MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_shaders_gl.c", - MAME_DIR .. "3rdparty/SDL2/src/render/opengl/SDL_shaders_gl.h", - MAME_DIR .. "3rdparty/SDL2/src/render/opengles2/SDL_render_gles2.c", - MAME_DIR .. "3rdparty/SDL2/src/render/opengles2/SDL_shaders_gles2.c", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_d3dmath.c", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_d3dmath.h", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_render.c", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_sysrender.h", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_mmx.c", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_sw.c", - MAME_DIR .. "3rdparty/SDL2/src/render/SDL_yuv_sw_c.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendfillrect.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendfillrect.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendline.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendline.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendpoint.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_blendpoint.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_draw.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawline.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawline.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawpoint.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_drawpoint.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_render_sw.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_render_sw_c.h", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_rotate.c", - MAME_DIR .. "3rdparty/SDL2/src/render/software/SDL_rotate.h", - MAME_DIR .. "3rdparty/SDL2/src/SDL.c", - MAME_DIR .. "3rdparty/SDL2/src/SDL_assert.c", - MAME_DIR .. "3rdparty/SDL2/src/SDL_error.c", - MAME_DIR .. "3rdparty/SDL2/src/SDL_error_c.h", - MAME_DIR .. "3rdparty/SDL2/src/SDL_hints.c", - MAME_DIR .. "3rdparty/SDL2/src/SDL_hints_c.h", - MAME_DIR .. "3rdparty/SDL2/src/SDL_log.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_getenv.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_iconv.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_malloc.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_qsort.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_stdlib.c", - MAME_DIR .. "3rdparty/SDL2/src/stdlib/SDL_string.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_systhread.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_thread.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/SDL_thread_c.h", - MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_systimer.h", - MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_timer.c", - MAME_DIR .. "3rdparty/SDL2/src/timer/SDL_timer_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullevents.c", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullevents_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullframebuffer.c", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullframebuffer_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullvideo.c", - MAME_DIR .. "3rdparty/SDL2/src/video/dummy/SDL_nullvideo.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_0.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_1.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_A.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_auto.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_auto.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_copy.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_copy.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_N.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_slow.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_blit_slow.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_bmp.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_clipboard.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_egl.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_fillrect.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_glesfuncs.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_glfuncs.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_pixels.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_pixels_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_rect.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_rect_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_RLEaccel.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_RLEaccel_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_shape.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_shape_internals.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_stretch.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_surface.c", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_sysvideo.h", - MAME_DIR .. "3rdparty/SDL2/src/video/SDL_video.c", - - } - if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="windows" then - files { - MAME_DIR .. "3rdparty/SDL2/src/libm/e_atan2.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/e_log.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/e_pow.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/e_rem_pio2.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/e_sqrt.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/k_cos.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/k_rem_pio2.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/k_sin.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/k_tan.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/math.h", - MAME_DIR .. "3rdparty/SDL2/src/libm/math_private.h", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_atan.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_copysign.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_cos.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_fabs.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_floor.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_scalbn.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_sin.c", - MAME_DIR .. "3rdparty/SDL2/src/libm/s_tan.c", - } - end - if _OPTIONS["targetos"]~="windows" then - files { - MAME_DIR .. "3rdparty/SDL2/src/render/opengles/SDL_render_gles.c", - MAME_DIR .. "3rdparty/SDL2/src/render/opengles/SDL_glesfuncs.h", - } - end - - if _OPTIONS["targetos"]=="android" then - files { - MAME_DIR .. "3rdparty/SDL2/src/audio/android/opensl_io.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/android/opensl_io.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/android/SDL_androidaudio.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/android/SDL_androidaudio.c", - MAME_DIR .. "3rdparty/SDL2/src/core/android/SDL_android.c", - MAME_DIR .. "3rdparty/SDL2/src/core/android/SDL_android.h", - MAME_DIR .. "3rdparty/SDL2/src/filesystem/android/SDL_sysfilesystem.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/dummy/SDL_syshaptic.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/android/SDL_sysjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/loadso/dlopen/SDL_sysloadso.c", - MAME_DIR .. "3rdparty/SDL2/src/power/android/SDL_syspower.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syscond.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syssem.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systls.c", - MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer.c", - MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer_c.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidclipboard.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidclipboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidevents.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidevents.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidgl.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidkeyboard.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidkeyboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmessagebox.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmessagebox.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmouse.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidmouse.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidtouch.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidtouch.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidvideo.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidvideo.h", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidwindow.c", - MAME_DIR .. "3rdparty/SDL2/src/video/android/SDL_androidwindow.h", - } - end - - if _OPTIONS["targetos"]=="macosx" then - files { - MAME_DIR .. "3rdparty/SDL2/src/audio/coreaudio/SDL_coreaudio.m", - MAME_DIR .. "3rdparty/SDL2/src/audio/coreaudio/SDL_coreaudio.h", - MAME_DIR .. "3rdparty/SDL2/src/file/cocoa/SDL_rwopsbundlesupport.m", - MAME_DIR .. "3rdparty/SDL2/src/file/cocoa/SDL_rwopsbundlesupport.h", - MAME_DIR .. "3rdparty/SDL2/src/filesystem/cocoa/SDL_sysfilesystem.m", - MAME_DIR .. "3rdparty/SDL2/src/haptic/darwin/SDL_syshaptic.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/darwin/SDL_syshaptic_c.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/darwin/SDL_sysjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/darwin/SDL_sysjoystick_c.h", - MAME_DIR .. "3rdparty/SDL2/src/loadso/dlopen/SDL_sysloadso.c", - MAME_DIR .. "3rdparty/SDL2/src/power/macosx/SDL_syspower.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syscond.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_sysmutex_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_syssem.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systhread_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/pthread/SDL_systls.c", - MAME_DIR .. "3rdparty/SDL2/src/timer/unix/SDL_systimer.c", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaclipboard.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaclipboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaevents.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaevents.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoakeyboard.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoakeyboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamessagebox.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamessagebox.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamodes.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamodes.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamouse.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamouse.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamousetap.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoamousetap.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaopengl.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoaopengl.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoashape.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoashape.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoavideo.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoavideo.h", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoawindow.m", - MAME_DIR .. "3rdparty/SDL2/src/video/cocoa/SDL_cocoawindow.h", - - } - end - - if _OPTIONS["targetos"]=="windows" then - files { - MAME_DIR .. "3rdparty/SDL2/src/thread/generic/SDL_syscond.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/directsound/SDL_directsound.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/directsound/SDL_directsound.h", - MAME_DIR .. "3rdparty/SDL2/src/audio/winmm/SDL_winmm.c", - MAME_DIR .. "3rdparty/SDL2/src/audio/winmm/SDL_winmm.h", - MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_directx.h", - MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_windows.c", - MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_windows.h", - MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_xinput.c", - MAME_DIR .. "3rdparty/SDL2/src/core/windows/SDL_xinput.h", - MAME_DIR .. "3rdparty/SDL2/src/filesystem/windows/SDL_sysfilesystem.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_dinputhaptic.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_dinputhaptic_c.h", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_windowshaptic.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_windowshaptic_c.h", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_xinputhaptic.c", - MAME_DIR .. "3rdparty/SDL2/src/haptic/windows/SDL_xinputhaptic_c.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_dinputjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_dinputjoystick_c.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_mmjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_windowsjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_windowsjoystick_c.h", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_xinputjoystick.c", - MAME_DIR .. "3rdparty/SDL2/src/joystick/windows/SDL_xinputjoystick_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_sysmutex.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_syssem.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systhread.c", - MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systhread_c.h", - MAME_DIR .. "3rdparty/SDL2/src/thread/windows/SDL_systls.c", - MAME_DIR .. "3rdparty/SDL2/src/timer/windows/SDL_systimer.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_vkeys.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsclipboard.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsclipboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsevents.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsevents.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsframebuffer.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsframebuffer.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowskeyboard.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowskeyboard.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmessagebox.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmessagebox.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmodes.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmodes.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmouse.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsmouse.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengl.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengl.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsopengles.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsshape.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsshape.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsvideo.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowsvideo.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowswindow.c", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/SDL_windowswindow.h", - MAME_DIR .. "3rdparty/SDL2/src/video/windows/wmmsg.h", - MAME_DIR .. "3rdparty/SDL2/src/main/windows/version.rc", - } - end - - configuration { "vs*" } - files { - MAME_DIR .. "3rdparty/SDL2/src/audio/xaudio2/SDL_xaudio2.c", - } - - buildoptions { - "/wd4200", -- warning C4200: nonstandard extension used: zero-sized array in struct/union - "/wd4055", -- warning C4055: 'type cast': from data pointer 'void *' to function pointer 'xxx' - "/wd4152", -- warning C4152: nonstandard extension, function/data pointer conversion in expression - "/wd4057", -- warning C4057: 'function': 'xxx' differs in indirection to slightly different base types from 'xxx' - "/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used - "/wd4204", -- warning C4204: nonstandard extension used: non-constant aggregate initializer - "/wd4054", -- warning C4054: 'type cast': from function pointer 'xxx' to data pointer 'xxx' - } - defines { - "HAVE_LIBC", - } - - configuration { "mingw*"} - includedirs { - MAME_DIR .. "3rdparty/SDL2-override/mingw", - MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos", - } - buildoptions_c { - "-Wno-undef", - "-Wno-format", - "-Wno-format-security", - "-Wno-strict-prototypes", - "-Wno-bad-function-cast", - "-Wno-pointer-to-int-cast", - "-Wno-discarded-qualifiers", - "-Wno-unused-but-set-variable", - } - - configuration { "mingw-clang"} - buildoptions_c { - "-Wno-incompatible-pointer-types-discards-qualifiers" - } - - configuration { "osx*"} - buildoptions { - "-Wno-undef", - } - buildoptions_objc { - "-x objective-c", - "-std=c99", - } - - buildoptions_c { - "-Wno-bad-function-cast", - } - - configuration { "android-*"} - defines { - "GL_GLEXT_PROTOTYPES", - } - buildoptions_c { - "-Wno-bad-function-cast", - "-Wno-incompatible-pointer-types-discards-qualifiers", - "-Wno-unneeded-internal-declaration", - "-Wno-unused-const-variable", - } - - configuration { } - includedirs { - MAME_DIR .. "3rdparty/SDL2/include", - } - -end - --------------------------------------------------- -- linenoise library -------------------------------------------------- -if (_OPTIONS["osd"] ~= "uwp") then + project "linenoise" uuid "7320ffc8-2748-4add-8864-ae29b72a8511" kind (LIBTYPE) @@ -2077,15 +1839,19 @@ project "linenoise" configuration { } + defines { + "USE_UTF8", + } + includedirs { MAME_DIR .. "3rdparty/linenoise", } files { - MAME_DIR .. "3rdparty/linenoise/utf8.c", MAME_DIR .. "3rdparty/linenoise/linenoise.c", + MAME_DIR .. "3rdparty/linenoise/stringbuf.c", + MAME_DIR .. "3rdparty/linenoise/utf8.c", } -end -------------------------------------------------- @@ -2097,31 +1863,258 @@ project "utf8proc" uuid "1f881f09-0395-4483-ac37-2935fb092187" kind "StaticLib" - defines { - "UTF8PROC_DLLEXPORT=" - } + defines { + "UTF8PROC_STATIC", + } configuration "Debug" defines { "verbose=-1", } + configuration { } + + files { + MAME_DIR .. "3rdparty/utf8proc/utf8proc.c" + } +else +links { + ext_lib("utf8proc"), +} +end + + +-------------------------------------------------- +-- wdlfft library objects (from Cockos WDL) +-------------------------------------------------- + +project "wdlfft" + uuid "74ca017e-fa0d-48b8-81d6-8081a37be14c" + kind "StaticLib" + configuration { "gmake or ninja" } buildoptions_c { "-Wno-strict-prototypes", } configuration { } + + files { + MAME_DIR .. "3rdparty/wdlfft/fft.c", + MAME_DIR .. "3rdparty/wdlfft/fft.h" + } + + +-------------------------------------------------- +-- ymfm library objects +-------------------------------------------------- + +project "ymfm" + uuid "2403a536-cb0a-4b50-b41f-10c17917689b" + kind "StaticLib" + + configuration { } defines { - "ZLIB_CONST", + "YMFM_MAME", } files { - MAME_DIR .. "3rdparty/utf8proc/utf8proc.c" + MAME_DIR .. "3rdparty/ymfm/src/ymfm.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_adpcm.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_adpcm.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_fm.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_fm.ipp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_misc.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_misc.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opl.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opl.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opm.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opm.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opn.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opn.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opq.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opq.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opz.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_opz.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_pcm.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_pcm.h", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_ssg.cpp", + MAME_DIR .. "3rdparty/ymfm/src/ymfm_ssg.h", } -else -links { - ext_lib("utf8proc"), -} -end + +-------------------------------------------------- +-- asmjit library +-------------------------------------------------- + +if (not _OPTIONS["FORCE_DRC_C_BACKEND"]) and ((_OPTIONS["PLATFORM"] == "x86") or (_OPTIONS["PLATFORM"] == "arm64")) then +project "asmjit" + uuid "4539757c-6e99-4bae-b3d0-b342a7c49539" + kind "StaticLib" + + configuration { "gmake or ninja" } + if (_OPTIONS["gcc"] ~= nil) and (not string.find(_OPTIONS["gcc"], "clang")) and (str_to_version(_OPTIONS["gcc_version"]) < 80000) then + buildoptions { + "-Wno-maybe-uninitialized", + } + end + + configuration { } + defines { + "ASMJIT_STATIC", + } + + files { + MAME_DIR .. "3rdparty/asmjit/src/asmjit/a64.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64archtraits_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64assembler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64assembler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64builder.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64builder.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64compiler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64compiler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64emithelper_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64emithelper.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64emitter.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64formatter_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64formatter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64func_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64func.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64globals.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64instapi_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64instapi.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64instdb_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64instdb.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64instdb.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64operand.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64operand.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64rapass_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/a64rapass.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/armformatter_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/armformatter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/armglobals.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/armoperand.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/arm/armutils.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit-scope-end.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/api-build_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/api-config.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/archcommons.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/archtraits.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/archtraits.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/assembler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/assembler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/builder_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/builder.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/builder.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/codebuffer.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/codeholder.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/codeholder.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/codewriter_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/codewriter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/compiler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/compiler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/compilerdefs.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/constpool.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/constpool.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/cpuinfo.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/cpuinfo.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emithelper_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emithelper.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emitter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emitter.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emitterutils_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/emitterutils.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/environment.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/environment.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/errorhandler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/errorhandler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/formatter_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/formatter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/formatter.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/func.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/func.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/funcargscontext_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/funcargscontext.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/globals.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/globals.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/inst.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/inst.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/instdb_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/instdb.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/jitallocator.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/jitallocator.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/jitruntime.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/jitruntime.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/logger.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/logger.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/misc_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/operand.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/operand.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/osutils_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/osutils.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/osutils.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/raassignment_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/rabuilders_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/radefs_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/ralocal_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/ralocal.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/rapass_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/rapass.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/rastack_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/rastack.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/string.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/string.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/support_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/support.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/support.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/target.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/target.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/type.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/type.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/virtmem.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/virtmem.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zone.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zone.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonehash.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonehash.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonelist.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonelist.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonestack.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonestack.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonestring.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonetree.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonetree.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonevector.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/core/zonevector.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86archtraits_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86assembler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86assembler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86builder.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86builder.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86compiler.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86compiler.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86emithelper_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86emithelper.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86emitter.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86formatter_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86formatter.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86func_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86func.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86globals.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86instapi_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86instapi.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86instdb_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86instdb.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86instdb.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86opcode_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86operand.cpp", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86operand.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass_p.h", + MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass.cpp", + } +end diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index d068bf9a1de..e5fc0680d78 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -48,13 +48,38 @@ if (BUSES["A800"]~=null) then MAME_DIR .. "src/devices/bus/a800/cassette.h", MAME_DIR .. "src/devices/bus/a800/a800_slot.cpp", MAME_DIR .. "src/devices/bus/a800/a800_slot.h", + MAME_DIR .. "src/devices/bus/a800/a800_carts.cpp", MAME_DIR .. "src/devices/bus/a800/a800_carts.h", MAME_DIR .. "src/devices/bus/a800/rom.cpp", MAME_DIR .. "src/devices/bus/a800/rom.h", + MAME_DIR .. "src/devices/bus/a800/a5200_supercart.cpp", + MAME_DIR .. "src/devices/bus/a800/a5200_supercart.h", + MAME_DIR .. "src/devices/bus/a800/atrax.cpp", + MAME_DIR .. "src/devices/bus/a800/atrax.h", + MAME_DIR .. "src/devices/bus/a800/bbsb.cpp", + MAME_DIR .. "src/devices/bus/a800/bbsb.h", + MAME_DIR .. "src/devices/bus/a800/corina.cpp", + MAME_DIR .. "src/devices/bus/a800/corina.h", + MAME_DIR .. "src/devices/bus/a800/maxflash.cpp", + MAME_DIR .. "src/devices/bus/a800/maxflash.h", MAME_DIR .. "src/devices/bus/a800/oss.cpp", MAME_DIR .. "src/devices/bus/a800/oss.h", + MAME_DIR .. "src/devices/bus/a800/phoenix.cpp", + MAME_DIR .. "src/devices/bus/a800/phoenix.h", + MAME_DIR .. "src/devices/bus/a800/rtime8.cpp", + MAME_DIR .. "src/devices/bus/a800/rtime8.h", + MAME_DIR .. "src/devices/bus/a800/sic.cpp", + MAME_DIR .. "src/devices/bus/a800/sic.h", MAME_DIR .. "src/devices/bus/a800/sparta.cpp", MAME_DIR .. "src/devices/bus/a800/sparta.h", + MAME_DIR .. "src/devices/bus/a800/supercharger.cpp", + MAME_DIR .. "src/devices/bus/a800/supercharger.h", + MAME_DIR .. "src/devices/bus/a800/telelink2.cpp", + MAME_DIR .. "src/devices/bus/a800/telelink2.h", + MAME_DIR .. "src/devices/bus/a800/ultracart.cpp", + MAME_DIR .. "src/devices/bus/a800/ultracart.h", + MAME_DIR .. "src/devices/bus/a800/williams.cpp", + MAME_DIR .. "src/devices/bus/a800/williams.h", } end @@ -72,12 +97,14 @@ if (BUSES["ABCBUS"]~=null) then MAME_DIR .. "src/devices/bus/abcbus/abc890.h", MAME_DIR .. "src/devices/bus/abcbus/cadmouse.cpp", MAME_DIR .. "src/devices/bus/abcbus/cadmouse.h", - MAME_DIR .. "src/devices/bus/abcbus/db411223.cpp", - MAME_DIR .. "src/devices/bus/abcbus/db411223.h", + MAME_DIR .. "src/devices/bus/abcbus/db4106.cpp", + MAME_DIR .. "src/devices/bus/abcbus/db4106.h", + MAME_DIR .. "src/devices/bus/abcbus/db4107.cpp", + MAME_DIR .. "src/devices/bus/abcbus/db4107.h", + MAME_DIR .. "src/devices/bus/abcbus/db4112.cpp", + MAME_DIR .. "src/devices/bus/abcbus/db4112.h", MAME_DIR .. "src/devices/bus/abcbus/fd2.cpp", MAME_DIR .. "src/devices/bus/abcbus/fd2.h", - MAME_DIR .. "src/devices/bus/abcbus/hdc.cpp", - MAME_DIR .. "src/devices/bus/abcbus/hdc.h", MAME_DIR .. "src/devices/bus/abcbus/lux10828.cpp", MAME_DIR .. "src/devices/bus/abcbus/lux10828.h", MAME_DIR .. "src/devices/bus/abcbus/lux21046.cpp", @@ -125,6 +152,8 @@ if (BUSES["ACORN"]~=null) then MAME_DIR .. "src/devices/bus/acorn/cms/fdc.h", MAME_DIR .. "src/devices/bus/acorn/cms/hires.cpp", MAME_DIR .. "src/devices/bus/acorn/cms/hires.h", + MAME_DIR .. "src/devices/bus/acorn/cms/ieee.cpp", + MAME_DIR .. "src/devices/bus/acorn/cms/ieee.h", MAME_DIR .. "src/devices/bus/acorn/system/32k.cpp", MAME_DIR .. "src/devices/bus/acorn/system/32k.h", MAME_DIR .. "src/devices/bus/acorn/system/8k.cpp", @@ -186,6 +215,23 @@ if (BUSES["ADAMNET"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/bus/adb/adb.h,BUSES["ADB"] = true +--------------------------------------------------- + +if (BUSES["ADB"]~=null) then + files { + MAME_DIR .. "src/devices/bus/adb/adb.cpp", + MAME_DIR .. "src/devices/bus/adb/adb.h", + MAME_DIR .. "src/devices/bus/adb/adbhle.cpp", + MAME_DIR .. "src/devices/bus/adb/adbhle.h", + MAME_DIR .. "src/devices/bus/adb/a9m0330.cpp", + MAME_DIR .. "src/devices/bus/adb/a9m0330.h", + MAME_DIR .. "src/devices/bus/adb/a9m0331.cpp", + MAME_DIR .. "src/devices/bus/adb/a9m0331.h", + } +end --------------------------------------------------- -- @@ -238,6 +284,48 @@ end --------------------------------------------------- -- +--@src/devices/bus/apricot/video/video.h,BUSES["APRICOT_VIDEO"] = true +--------------------------------------------------- + +if (BUSES["APRICOT_VIDEO"]~=null) then + files { + MAME_DIR .. "src/devices/bus/apricot/video/video.cpp", + MAME_DIR .. "src/devices/bus/apricot/video/video.h", + MAME_DIR .. "src/devices/bus/apricot/video/cards.cpp", + MAME_DIR .. "src/devices/bus/apricot/video/cards.h", + MAME_DIR .. "src/devices/bus/apricot/video/mono.cpp", + MAME_DIR .. "src/devices/bus/apricot/video/mono.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/aquarius/slot.h,BUSES["AQUARIUS"] = true +--------------------------------------------------- + +if (BUSES["AQUARIUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/aquarius/slot.cpp", + MAME_DIR .. "src/devices/bus/aquarius/slot.h", + MAME_DIR .. "src/devices/bus/aquarius/c1541.cpp", + MAME_DIR .. "src/devices/bus/aquarius/c1541.h", + MAME_DIR .. "src/devices/bus/aquarius/mini.cpp", + MAME_DIR .. "src/devices/bus/aquarius/mini.h", + MAME_DIR .. "src/devices/bus/aquarius/qdisk.cpp", + MAME_DIR .. "src/devices/bus/aquarius/qdisk.h", + MAME_DIR .. "src/devices/bus/aquarius/ram.cpp", + MAME_DIR .. "src/devices/bus/aquarius/ram.h", + MAME_DIR .. "src/devices/bus/aquarius/rom.cpp", + MAME_DIR .. "src/devices/bus/aquarius/rom.h", + MAME_DIR .. "src/devices/bus/aquarius/supercart.cpp", + MAME_DIR .. "src/devices/bus/aquarius/supercart.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/arcadia/slot.h,BUSES["ARCADIA"] = true --------------------------------------------------- @@ -253,6 +341,120 @@ end --------------------------------------------------- -- +--@src/devices/bus/archimedes/econet/slot.h,BUSES["ARCHIMEDES_ECONET"] = true +--------------------------------------------------- + +if (BUSES["ARCHIMEDES_ECONET"]~=null) then + files { + MAME_DIR .. "src/devices/bus/archimedes/econet/slot.cpp", + MAME_DIR .. "src/devices/bus/archimedes/econet/slot.h", + MAME_DIR .. "src/devices/bus/archimedes/econet/econet.cpp", + MAME_DIR .. "src/devices/bus/archimedes/econet/econet.h", + MAME_DIR .. "src/devices/bus/archimedes/econet/midi.cpp", + MAME_DIR .. "src/devices/bus/archimedes/econet/midi.h", + MAME_DIR .. "src/devices/bus/archimedes/econet/rtfmjoy.cpp", + MAME_DIR .. "src/devices/bus/archimedes/econet/rtfmjoy.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/archimedes/podule/slot.h,BUSES["ARCHIMEDES_PODULE"] = true +--------------------------------------------------- + +if (BUSES["ARCHIMEDES_PODULE"]~=null) then + files { + MAME_DIR .. "src/devices/bus/archimedes/podule/slot.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/slot.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/a448.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/a448.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/acejoy.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/acejoy.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/armadeus.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/armadeus.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/eaglem2.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/eaglem2.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether1.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether1.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether2.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether2.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether3.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ether3.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ethera.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ethera.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/etherd.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/etherd.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/etherr.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/etherr.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/faxpack.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/faxpack.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/greyhawk.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/greyhawk.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_cw.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_cw.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_morley.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_morley.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_we.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/hdisc_we.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ide_be.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ide_be.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/ide_rdev.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/ide_rdev.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/io.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/io.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_hccs.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_hccs.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_morley.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_morley.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_we.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/io_we.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/lark.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/lark.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/laserd.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/laserd.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/midi_emr.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/midi_emr.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/midimax.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/midimax.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/nexus.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/nexus.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/rom.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/rom.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/rs423.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/rs423.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scan256.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scan256.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scanlight.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scanlight.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_a500.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_a500.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_acorn.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_acorn.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_cumana.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_cumana.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_ling.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_ling.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_morley.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_morley.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_oak.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_oak.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_vti.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/scsi_vti.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/serial.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/serial.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/spectra.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/spectra.h", + MAME_DIR .. "src/devices/bus/archimedes/podule/tube.cpp", + MAME_DIR .. "src/devices/bus/archimedes/podule/tube.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/astrocde/slot.h,BUSES["ASTROCADE"] = true --------------------------------------------------- @@ -282,6 +484,40 @@ end --------------------------------------------------- -- +--@src/devices/bus/ata/atadev.h,BUSES["ATA"] = true +--@src/devices/bus/ata/ataintf.h,BUSES["ATA"] = true +--------------------------------------------------- + +if (BUSES["ATA"]~=null) then + files { + MAME_DIR .. "src/devices/bus/ata/atadev.cpp", + MAME_DIR .. "src/devices/bus/ata/atadev.h", + MAME_DIR .. "src/devices/bus/ata/ataintf.cpp", + MAME_DIR .. "src/devices/bus/ata/ataintf.h", + MAME_DIR .. "src/devices/bus/ata/atapicdr.cpp", + MAME_DIR .. "src/devices/bus/ata/atapicdr.h", + MAME_DIR .. "src/devices/bus/ata/atapihle.cpp", + MAME_DIR .. "src/devices/bus/ata/atapihle.h", + MAME_DIR .. "src/devices/bus/ata/cp2024.cpp", + MAME_DIR .. "src/devices/bus/ata/cp2024.h", + MAME_DIR .. "src/devices/bus/ata/cr589.cpp", + MAME_DIR .. "src/devices/bus/ata/cr589.h", + MAME_DIR .. "src/devices/bus/ata/gdrom.cpp", + MAME_DIR .. "src/devices/bus/ata/gdrom.h", + MAME_DIR .. "src/devices/bus/ata/hdd.cpp", + MAME_DIR .. "src/devices/bus/ata/hdd.h", + MAME_DIR .. "src/devices/bus/ata/px320a.cpp", + MAME_DIR .. "src/devices/bus/ata/px320a.h", + MAME_DIR .. "src/devices/bus/ata/xm3301.cpp", + MAME_DIR .. "src/devices/bus/ata/xm3301.h", + MAME_DIR .. "src/devices/bus/ata/zip100.cpp", + MAME_DIR .. "src/devices/bus/ata/zip100.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/bbc/fdc/fdc.h,BUSES["BBC_FDC"] = true --------------------------------------------------- @@ -297,10 +533,14 @@ if (BUSES["BBC_FDC"]~=null) then MAME_DIR .. "src/devices/bus/bbc/fdc/cumana.h", MAME_DIR .. "src/devices/bus/bbc/fdc/cv1797.cpp", MAME_DIR .. "src/devices/bus/bbc/fdc/cv1797.h", - MAME_DIR .. "src/devices/bus/bbc/fdc/microware.cpp", - MAME_DIR .. "src/devices/bus/bbc/fdc/microware.h", + MAME_DIR .. "src/devices/bus/bbc/fdc/kenda.cpp", + MAME_DIR .. "src/devices/bus/bbc/fdc/kenda.h", MAME_DIR .. "src/devices/bus/bbc/fdc/opus.cpp", MAME_DIR .. "src/devices/bus/bbc/fdc/opus.h", + MAME_DIR .. "src/devices/bus/bbc/fdc/solidisk.cpp", + MAME_DIR .. "src/devices/bus/bbc/fdc/solidisk.h", + MAME_DIR .. "src/devices/bus/bbc/fdc/udm.cpp", + MAME_DIR .. "src/devices/bus/bbc/fdc/udm.h", MAME_DIR .. "src/devices/bus/bbc/fdc/watford.cpp", MAME_DIR .. "src/devices/bus/bbc/fdc/watford.h", } @@ -322,6 +562,78 @@ if (BUSES["BBC_ANALOGUE"]~=null) then MAME_DIR .. "src/devices/bus/bbc/analogue/joystick.h", MAME_DIR .. "src/devices/bus/bbc/analogue/cfa3000a.cpp", MAME_DIR .. "src/devices/bus/bbc/analogue/cfa3000a.h", + MAME_DIR .. "src/devices/bus/bbc/analogue/quinkey.cpp", + MAME_DIR .. "src/devices/bus/bbc/analogue/quinkey.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/bbc/cart/slot.h,BUSES["BBC_CART"] = true +--------------------------------------------------- + +if (BUSES["BBC_CART"]~=null) then + files { + MAME_DIR .. "src/devices/bus/bbc/cart/slot.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/slot.h", + MAME_DIR .. "src/devices/bus/bbc/cart/click.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/click.h", + MAME_DIR .. "src/devices/bus/bbc/cart/mastersd.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/mastersd.h", + MAME_DIR .. "src/devices/bus/bbc/cart/mega256.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/mega256.h", + MAME_DIR .. "src/devices/bus/bbc/cart/mr8000.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/mr8000.h", + MAME_DIR .. "src/devices/bus/bbc/cart/msc.cpp", + MAME_DIR .. "src/devices/bus/bbc/cart/msc.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/bbc/internal/internal.h,BUSES["BBC_INTERNAL"] = true +--------------------------------------------------- + +if (BUSES["BBC_INTERNAL"]~=null) then + files { + MAME_DIR .. "src/devices/bus/bbc/internal/internal.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/internal.h", + MAME_DIR .. "src/devices/bus/bbc/internal/aries.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/aries.h", + MAME_DIR .. "src/devices/bus/bbc/internal/atpl.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/atpl.h", + MAME_DIR .. "src/devices/bus/bbc/internal/cumana68k.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/cumana68k.h", + MAME_DIR .. "src/devices/bus/bbc/internal/integrab.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/integrab.h", + MAME_DIR .. "src/devices/bus/bbc/internal/memex.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/memex.h", + MAME_DIR .. "src/devices/bus/bbc/internal/morleyaa.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/morleyaa.h", + MAME_DIR .. "src/devices/bus/bbc/internal/overlay.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/overlay.h", + MAME_DIR .. "src/devices/bus/bbc/internal/peartree.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/peartree.h", + MAME_DIR .. "src/devices/bus/bbc/internal/ramamp.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/ramamp.h", + MAME_DIR .. "src/devices/bus/bbc/internal/raven20.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/raven20.h", + MAME_DIR .. "src/devices/bus/bbc/internal/romex.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/romex.h", + MAME_DIR .. "src/devices/bus/bbc/internal/stlswr.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/stlswr.h", + MAME_DIR .. "src/devices/bus/bbc/internal/stl2m128.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/stl2m128.h", + MAME_DIR .. "src/devices/bus/bbc/internal/stl4m32.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/stl4m32.h", + MAME_DIR .. "src/devices/bus/bbc/internal/werom.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/werom.h", + MAME_DIR .. "src/devices/bus/bbc/internal/weromram.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/weromram.h", + MAME_DIR .. "src/devices/bus/bbc/internal/we32kram.cpp", + MAME_DIR .. "src/devices/bus/bbc/internal/we32kram.h", } end @@ -335,6 +647,8 @@ if (BUSES["BBC_EXP"]~=null) then files { MAME_DIR .. "src/devices/bus/bbc/exp/exp.cpp", MAME_DIR .. "src/devices/bus/bbc/exp/exp.h", + MAME_DIR .. "src/devices/bus/bbc/exp/autocue.cpp", + MAME_DIR .. "src/devices/bus/bbc/exp/autocue.h", MAME_DIR .. "src/devices/bus/bbc/exp/mertec.cpp", MAME_DIR .. "src/devices/bus/bbc/exp/mertec.h", } @@ -352,6 +666,25 @@ if (BUSES["BBC_JOYPORT"]~=null) then MAME_DIR .. "src/devices/bus/bbc/joyport/joyport.h", MAME_DIR .. "src/devices/bus/bbc/joyport/joystick.cpp", MAME_DIR .. "src/devices/bus/bbc/joyport/joystick.h", + MAME_DIR .. "src/devices/bus/bbc/joyport/mouse.cpp", + MAME_DIR .. "src/devices/bus/bbc/joyport/mouse.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/bbc/modem/modem.h,BUSES["BBC_MODEM"] = true +--------------------------------------------------- + +if (BUSES["BBC_MODEM"]~=null) then + files { + MAME_DIR .. "src/devices/bus/bbc/modem/modem.cpp", + MAME_DIR .. "src/devices/bus/bbc/modem/modem.h", + MAME_DIR .. "src/devices/bus/bbc/modem/meup.cpp", + MAME_DIR .. "src/devices/bus/bbc/modem/meup.h", + MAME_DIR .. "src/devices/bus/bbc/modem/scsiaiv.cpp", + MAME_DIR .. "src/devices/bus/bbc/modem/scsiaiv.h", } end @@ -365,18 +698,48 @@ if (BUSES["BBC_1MHZBUS"]~=null) then files { MAME_DIR .. "src/devices/bus/bbc/1mhzbus/1mhzbus.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/1mhzbus.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/24bbc.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/24bbc.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/2ndserial.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/2ndserial.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/autoprom.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/autoprom.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/barrybox.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/barrybox.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebopl.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebopl.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebsid.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/beebsid.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cc500.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cc500.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cisco.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cisco.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/datacentre.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/datacentre.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/emrmidi.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/emrmidi.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ide.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ide.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ieee488.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ieee488.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m2000.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m2000.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m5000.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/m5000.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/multiform.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/multiform.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/opus3.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/opus3.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/pdram.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/pdram.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/pms64k.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/pms64k.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ramdisc.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/ramdisc.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sasi.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sasi.h", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/scsi.cpp", + MAME_DIR .. "src/devices/bus/bbc/1mhzbus/scsi.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sprite.cpp", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/sprite.h", MAME_DIR .. "src/devices/bus/bbc/1mhzbus/cfa3000opt.cpp", @@ -398,6 +761,10 @@ if (BUSES["BBC_ROM"]~=null) then MAME_DIR .. "src/devices/bus/bbc/rom/rom.h", MAME_DIR .. "src/devices/bus/bbc/rom/ram.cpp", MAME_DIR .. "src/devices/bus/bbc/rom/ram.h", + MAME_DIR .. "src/devices/bus/bbc/rom/nvram.cpp", + MAME_DIR .. "src/devices/bus/bbc/rom/nvram.h", + MAME_DIR .. "src/devices/bus/bbc/rom/datagem.cpp", + MAME_DIR .. "src/devices/bus/bbc/rom/datagem.h", MAME_DIR .. "src/devices/bus/bbc/rom/dfs.cpp", MAME_DIR .. "src/devices/bus/bbc/rom/dfs.h", MAME_DIR .. "src/devices/bus/bbc/rom/genie.cpp", @@ -427,12 +794,22 @@ if (BUSES["BBC_TUBE"]~=null) then MAME_DIR .. "src/devices/bus/bbc/tube/tube_80186.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_80286.cpp", MAME_DIR .. "src/devices/bus/bbc/tube/tube_80286.h", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_a500.cpp", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_a500.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm.cpp", MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm.h", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm7.cpp", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_arm7.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_casper.cpp", MAME_DIR .. "src/devices/bus/bbc/tube/tube_casper.h", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_cms6809.cpp", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_cms6809.h", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_matchbox.cpp", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_matchbox.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_rc6502.cpp", MAME_DIR .. "src/devices/bus/bbc/tube/tube_rc6502.h", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_x25.cpp", + MAME_DIR .. "src/devices/bus/bbc/tube/tube_x25.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_z80.cpp", MAME_DIR .. "src/devices/bus/bbc/tube/tube_z80.h", MAME_DIR .. "src/devices/bus/bbc/tube/tube_zep100.cpp", @@ -452,10 +829,22 @@ if (BUSES["BBC_USERPORT"]~=null) then MAME_DIR .. "src/devices/bus/bbc/userport/userport.h", MAME_DIR .. "src/devices/bus/bbc/userport/beebspch.cpp", MAME_DIR .. "src/devices/bus/bbc/userport/beebspch.h", + MAME_DIR .. "src/devices/bus/bbc/userport/lcd.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/lcd.h", + MAME_DIR .. "src/devices/bus/bbc/userport/lvlecho.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/lvlecho.h", + MAME_DIR .. "src/devices/bus/bbc/userport/m4000.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/m4000.h", + MAME_DIR .. "src/devices/bus/bbc/userport/palext.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/palext.h", MAME_DIR .. "src/devices/bus/bbc/userport/pointer.cpp", MAME_DIR .. "src/devices/bus/bbc/userport/pointer.h", + MAME_DIR .. "src/devices/bus/bbc/userport/sdcard.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/sdcard.h", MAME_DIR .. "src/devices/bus/bbc/userport/usersplit.cpp", MAME_DIR .. "src/devices/bus/bbc/userport/usersplit.h", + MAME_DIR .. "src/devices/bus/bbc/userport/voicebox.cpp", + MAME_DIR .. "src/devices/bus/bbc/userport/voicebox.h", MAME_DIR .. "src/devices/bus/bbc/userport/cfa3000kbd.cpp", MAME_DIR .. "src/devices/bus/bbc/userport/cfa3000kbd.h", } @@ -605,6 +994,8 @@ if (BUSES["C64"]~=null) then MAME_DIR .. "src/devices/bus/c64/swiftlink.h", MAME_DIR .. "src/devices/bus/c64/system3.cpp", MAME_DIR .. "src/devices/bus/c64/system3.h", + MAME_DIR .. "src/devices/bus/c64/tibdd001.cpp", + MAME_DIR .. "src/devices/bus/c64/tibdd001.h", MAME_DIR .. "src/devices/bus/c64/tdos.cpp", MAME_DIR .. "src/devices/bus/c64/tdos.h", MAME_DIR .. "src/devices/bus/c64/turbo232.cpp", @@ -621,6 +1012,8 @@ if (BUSES["C64"]~=null) then MAME_DIR .. "src/devices/bus/c64/xl80.h", MAME_DIR .. "src/devices/bus/c64/zaxxon.cpp", MAME_DIR .. "src/devices/bus/c64/zaxxon.h", + MAME_DIR .. "src/devices/bus/c64/z80videopak.cpp", + MAME_DIR .. "src/devices/bus/c64/z80videopak.h", MAME_DIR .. "src/devices/bus/c64/user.cpp", MAME_DIR .. "src/devices/bus/c64/user.h", MAME_DIR .. "src/devices/bus/c64/4dxh.cpp", @@ -641,6 +1034,21 @@ end --------------------------------------------------- -- +--@src/devices/bus/casloopy/slot.h,BUSES["CASLOOPY"] = true +--------------------------------------------------- + +if (BUSES["CASLOOPY"]~=null) then + files { + MAME_DIR .. "src/devices/bus/casloopy/slot.cpp", + MAME_DIR .. "src/devices/bus/casloopy/slot.h", + MAME_DIR .. "src/devices/bus/casloopy/rom.cpp", + MAME_DIR .. "src/devices/bus/casloopy/rom.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/cbm2/exp.h,BUSES["CBM2"] = true --@src/devices/bus/cbm2/user.h,BUSES["CBM2"] = true --------------------------------------------------- @@ -686,6 +1094,8 @@ if (BUSES["CBMIEC"]~=null) then MAME_DIR .. "src/devices/bus/cbmiec/fd2000.h", MAME_DIR .. "src/devices/bus/cbmiec/interpod.cpp", MAME_DIR .. "src/devices/bus/cbmiec/interpod.h", + MAME_DIR .. "src/devices/bus/cbmiec/mps1200.cpp", + MAME_DIR .. "src/devices/bus/cbmiec/mps1200.h", MAME_DIR .. "src/devices/bus/cbmiec/serialbox.cpp", MAME_DIR .. "src/devices/bus/cbmiec/serialbox.h", MAME_DIR .. "src/devices/bus/cbmiec/vic1515.cpp", @@ -768,6 +1178,10 @@ if (BUSES["COLECO_CART"]~=null) then files { MAME_DIR .. "src/devices/bus/coleco/cartridge/exp.cpp", MAME_DIR .. "src/devices/bus/coleco/cartridge/exp.h", + MAME_DIR .. "src/devices/bus/coleco/cartridge/activision.cpp", + MAME_DIR .. "src/devices/bus/coleco/cartridge/activision.h", + MAME_DIR .. "src/devices/bus/coleco/cartridge/megacart.cpp", + MAME_DIR .. "src/devices/bus/coleco/cartridge/megacart.h", MAME_DIR .. "src/devices/bus/coleco/cartridge/std.cpp", MAME_DIR .. "src/devices/bus/coleco/cartridge/std.h", MAME_DIR .. "src/devices/bus/coleco/cartridge/xin1.h", @@ -778,6 +1192,23 @@ end --------------------------------------------------- -- +--@src/devices/bus/coleco/expansion/expansion.h,BUSES["COLECO_EXPANSION"] = true +--------------------------------------------------- + +if (BUSES["COLECO_EXPANSION"]~=null) then + files { + MAME_DIR .. "src/devices/bus/coleco/expansion/expansion.cpp", + MAME_DIR .. "src/devices/bus/coleco/expansion/expansion.h", + MAME_DIR .. "src/devices/bus/coleco/expansion/cards.cpp", + MAME_DIR .. "src/devices/bus/coleco/expansion/cards.h", + MAME_DIR .. "src/devices/bus/coleco/expansion/sgm.cpp", + MAME_DIR .. "src/devices/bus/coleco/expansion/sgm.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/crvision/slot.h,BUSES["CRVISION"] = true --------------------------------------------------- @@ -800,6 +1231,8 @@ if (BUSES["DMV"]~=null) then files { MAME_DIR .. "src/devices/bus/dmv/dmvbus.cpp", MAME_DIR .. "src/devices/bus/dmv/dmvbus.h", + MAME_DIR .. "src/devices/bus/dmv/k012.cpp", + MAME_DIR .. "src/devices/bus/dmv/k012.h", MAME_DIR .. "src/devices/bus/dmv/k210.cpp", MAME_DIR .. "src/devices/bus/dmv/k210.h", MAME_DIR .. "src/devices/bus/dmv/k220.cpp", @@ -872,8 +1305,18 @@ if (BUSES["ELECTRON"]~=null) then files { MAME_DIR .. "src/devices/bus/electron/exp.cpp", MAME_DIR .. "src/devices/bus/electron/exp.h", + MAME_DIR .. "src/devices/bus/electron/elksd64.cpp", + MAME_DIR .. "src/devices/bus/electron/elksd64.h", + MAME_DIR .. "src/devices/bus/electron/elksd128.cpp", + MAME_DIR .. "src/devices/bus/electron/elksd128.h", MAME_DIR .. "src/devices/bus/electron/fbjoy.cpp", MAME_DIR .. "src/devices/bus/electron/fbjoy.h", + MAME_DIR .. "src/devices/bus/electron/fbprint.cpp", + MAME_DIR .. "src/devices/bus/electron/fbprint.h", + MAME_DIR .. "src/devices/bus/electron/mc68k.cpp", + MAME_DIR .. "src/devices/bus/electron/mc68k.h", + MAME_DIR .. "src/devices/bus/electron/mode7.cpp", + MAME_DIR .. "src/devices/bus/electron/mode7.h", MAME_DIR .. "src/devices/bus/electron/plus1.cpp", MAME_DIR .. "src/devices/bus/electron/plus1.h", MAME_DIR .. "src/devices/bus/electron/plus2.cpp", @@ -886,6 +1329,10 @@ if (BUSES["ELECTRON"]~=null) then MAME_DIR .. "src/devices/bus/electron/rombox.h", MAME_DIR .. "src/devices/bus/electron/romboxp.cpp", MAME_DIR .. "src/devices/bus/electron/romboxp.h", + MAME_DIR .. "src/devices/bus/electron/sidewndr.cpp", + MAME_DIR .. "src/devices/bus/electron/sidewndr.h", + MAME_DIR .. "src/devices/bus/electron/voxbox.cpp", + MAME_DIR .. "src/devices/bus/electron/voxbox.h", MAME_DIR .. "src/devices/bus/electron/m2105.cpp", MAME_DIR .. "src/devices/bus/electron/m2105.h", } @@ -913,12 +1360,16 @@ if (BUSES["ELECTRON_CART"]~=null) then MAME_DIR .. "src/devices/bus/electron/cart/click.h", MAME_DIR .. "src/devices/bus/electron/cart/cumana.cpp", MAME_DIR .. "src/devices/bus/electron/cart/cumana.h", + MAME_DIR .. "src/devices/bus/electron/cart/elksdp1.cpp", + MAME_DIR .. "src/devices/bus/electron/cart/elksdp1.h", MAME_DIR .. "src/devices/bus/electron/cart/mgc.cpp", MAME_DIR .. "src/devices/bus/electron/cart/mgc.h", MAME_DIR .. "src/devices/bus/electron/cart/peg400.cpp", MAME_DIR .. "src/devices/bus/electron/cart/peg400.h", MAME_DIR .. "src/devices/bus/electron/cart/romp144.cpp", MAME_DIR .. "src/devices/bus/electron/cart/romp144.h", + MAME_DIR .. "src/devices/bus/electron/cart/rs423.cpp", + MAME_DIR .. "src/devices/bus/electron/cart/rs423.h", MAME_DIR .. "src/devices/bus/electron/cart/sndexp.cpp", MAME_DIR .. "src/devices/bus/electron/cart/sndexp.h", MAME_DIR .. "src/devices/bus/electron/cart/sndexp3.cpp", @@ -952,6 +1403,41 @@ end --------------------------------------------------- -- +--@src/devices/bus/fmt_scsi/fmt_scsi.h,BUSES["FMT_SCSI"] = true +--------------------------------------------------- + +if (BUSES["FMT_SCSI"]~=null) then + files { + MAME_DIR .. "src/devices/bus/fmt_scsi/fmt_scsi.cpp", + MAME_DIR .. "src/devices/bus/fmt_scsi/fmt_scsi.h", + MAME_DIR .. "src/devices/bus/fmt_scsi/fmt121.cpp", + MAME_DIR .. "src/devices/bus/fmt_scsi/fmt121.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/fp1000/fp1000_exp.h,BUSES["FP1000"] = true +--------------------------------------------------- + +if (BUSES["FP1000"]~=null) then + files { + MAME_DIR .. "src/devices/bus/fp1000/fp1000_exp.cpp", + MAME_DIR .. "src/devices/bus/fp1000/fp1000_exp.h", + MAME_DIR .. "src/devices/bus/fp1000/fp1020fd.cpp", + MAME_DIR .. "src/devices/bus/fp1000/fp1020fd.h", + MAME_DIR .. "src/devices/bus/fp1000/fp1030_rampack.cpp", + MAME_DIR .. "src/devices/bus/fp1000/fp1030_rampack.h", + MAME_DIR .. "src/devices/bus/fp1000/fp1060io.cpp", + MAME_DIR .. "src/devices/bus/fp1000/fp1060io.h", + MAME_DIR .. "src/devices/bus/fp1000/fp1060io_exp.cpp", + MAME_DIR .. "src/devices/bus/fp1000/fp1060io_exp.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/gamate/slot.h,BUSES["GAMATE"] = true --------------------------------------------------- @@ -1025,6 +1511,10 @@ if (BUSES["HPDIO"]~=null) then MAME_DIR .. "src/devices/bus/hp_dio/hp98603b.h", MAME_DIR .. "src/devices/bus/hp_dio/hp98620.cpp", MAME_DIR .. "src/devices/bus/hp_dio/hp98620.h", + MAME_DIR .. "src/devices/bus/hp_dio/hp98624.cpp", + MAME_DIR .. "src/devices/bus/hp_dio/hp98624.h", + MAME_DIR .. "src/devices/bus/hp_dio/hp98628_9.cpp", + MAME_DIR .. "src/devices/bus/hp_dio/hp98628_9.h", MAME_DIR .. "src/devices/bus/hp_dio/hp98643.cpp", MAME_DIR .. "src/devices/bus/hp_dio/hp98643.h", MAME_DIR .. "src/devices/bus/hp_dio/hp98644.cpp", @@ -1070,6 +1560,22 @@ end --------------------------------------------------- -- +--@src/devices/bus/idpartner/bus.h,BUSES["IDPARTNER"] = true +--------------------------------------------------- + +if (BUSES["IDPARTNER"]~=null) then + files { + MAME_DIR .. "src/devices/bus/idpartner/bus.cpp", + MAME_DIR .. "src/devices/bus/idpartner/bus.h", + MAME_DIR .. "src/devices/bus/idpartner/gdp.cpp", + MAME_DIR .. "src/devices/bus/idpartner/gdp.h", + MAME_DIR .. "src/devices/bus/idpartner/sasi.cpp", + MAME_DIR .. "src/devices/bus/idpartner/sasi.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/ieee488/ieee488.h,BUSES["IEEE488"] = true --------------------------------------------------- @@ -1099,10 +1605,14 @@ if (BUSES["IEEE488"]~=null) then MAME_DIR .. "src/devices/bus/ieee488/shark.h", MAME_DIR .. "src/devices/bus/ieee488/hp9122c.cpp", MAME_DIR .. "src/devices/bus/ieee488/hp9122c.h", + MAME_DIR .. "src/devices/bus/ieee488/hp9133.cpp", + MAME_DIR .. "src/devices/bus/ieee488/hp9133.h", MAME_DIR .. "src/devices/bus/ieee488/hp9895.cpp", MAME_DIR .. "src/devices/bus/ieee488/hp9895.h", MAME_DIR .. "src/devices/bus/ieee488/remote488.cpp", MAME_DIR .. "src/devices/bus/ieee488/remote488.h", + MAME_DIR .. "src/devices/bus/ieee488/grid2102.cpp", + MAME_DIR .. "src/devices/bus/ieee488/grid2102.h", } dependency { @@ -1225,98 +1735,105 @@ if (BUSES["ISA"]~=null) then MAME_DIR .. "src/devices/bus/isa/isa.h", MAME_DIR .. "src/devices/bus/isa/isa_cards.cpp", MAME_DIR .. "src/devices/bus/isa/isa_cards.h", - MAME_DIR .. "src/devices/bus/isa/mda.cpp", - MAME_DIR .. "src/devices/bus/isa/mda.h", - MAME_DIR .. "src/devices/bus/isa/wdxt_gen.cpp", - MAME_DIR .. "src/devices/bus/isa/wdxt_gen.h", + MAME_DIR .. "src/devices/bus/isa/3c503.cpp", + MAME_DIR .. "src/devices/bus/isa/3c503.h", + MAME_DIR .. "src/devices/bus/isa/3c505.cpp", + MAME_DIR .. "src/devices/bus/isa/3c505.h", + MAME_DIR .. "src/devices/bus/isa/3xtwin.cpp", + MAME_DIR .. "src/devices/bus/isa/3xtwin.h", + MAME_DIR .. "src/devices/bus/isa/acb2072.cpp", + MAME_DIR .. "src/devices/bus/isa/acb2072.h", MAME_DIR .. "src/devices/bus/isa/adlib.cpp", MAME_DIR .. "src/devices/bus/isa/adlib.h", + MAME_DIR .. "src/devices/bus/isa/aga.cpp", + MAME_DIR .. "src/devices/bus/isa/aga.h", + MAME_DIR .. "src/devices/bus/isa/aha1542b.cpp", + MAME_DIR .. "src/devices/bus/isa/aha1542b.h", + MAME_DIR .. "src/devices/bus/isa/aha1542c.cpp", + MAME_DIR .. "src/devices/bus/isa/aha1542c.h", + MAME_DIR .. "src/devices/bus/isa/aha174x.cpp", + MAME_DIR .. "src/devices/bus/isa/aha174x.h", + MAME_DIR .. "src/devices/bus/isa/asc88.cpp", + MAME_DIR .. "src/devices/bus/isa/asc88.h", + MAME_DIR .. "src/devices/bus/isa/bblue2.cpp", + MAME_DIR .. "src/devices/bus/isa/bblue2.h", + MAME_DIR .. "src/devices/bus/isa/bt54x.cpp", + MAME_DIR .. "src/devices/bus/isa/bt54x.h", + MAME_DIR .. "src/devices/bus/isa/cga.cpp", + MAME_DIR .. "src/devices/bus/isa/cga.h", MAME_DIR .. "src/devices/bus/isa/chessmdr.cpp", MAME_DIR .. "src/devices/bus/isa/chessmdr.h", MAME_DIR .. "src/devices/bus/isa/chessmsr.cpp", MAME_DIR .. "src/devices/bus/isa/chessmsr.h", + MAME_DIR .. "src/devices/bus/isa/cl_sh260.cpp", + MAME_DIR .. "src/devices/bus/isa/cl_sh260.h", MAME_DIR .. "src/devices/bus/isa/com.cpp", MAME_DIR .. "src/devices/bus/isa/com.h", + MAME_DIR .. "src/devices/bus/isa/dcb.cpp", + MAME_DIR .. "src/devices/bus/isa/dcb.h", + MAME_DIR .. "src/devices/bus/isa/dectalk.cpp", + MAME_DIR .. "src/devices/bus/isa/dectalk.h", + MAME_DIR .. "src/devices/bus/isa/ega.cpp", + MAME_DIR .. "src/devices/bus/isa/ega.h", + MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.cpp", + MAME_DIR .. "src/devices/bus/isa/eis_hgb107x.h", + MAME_DIR .. "src/devices/bus/isa/eis_sad8852.cpp", + MAME_DIR .. "src/devices/bus/isa/eis_sad8852.h", + MAME_DIR .. "src/devices/bus/isa/eis_twib.cpp", + MAME_DIR .. "src/devices/bus/isa/eis_twib.h", + MAME_DIR .. "src/devices/bus/isa/ex1280.cpp", + MAME_DIR .. "src/devices/bus/isa/ex1280.h", MAME_DIR .. "src/devices/bus/isa/fdc.cpp", MAME_DIR .. "src/devices/bus/isa/fdc.h", - MAME_DIR .. "src/devices/bus/isa/mufdc.cpp", - MAME_DIR .. "src/devices/bus/isa/mufdc.h", MAME_DIR .. "src/devices/bus/isa/finalchs.cpp", MAME_DIR .. "src/devices/bus/isa/finalchs.h", MAME_DIR .. "src/devices/bus/isa/gblaster.cpp", MAME_DIR .. "src/devices/bus/isa/gblaster.h", MAME_DIR .. "src/devices/bus/isa/gus.cpp", MAME_DIR .. "src/devices/bus/isa/gus.h", - MAME_DIR .. "src/devices/bus/isa/sb16.cpp", - MAME_DIR .. "src/devices/bus/isa/sb16.h", MAME_DIR .. "src/devices/bus/isa/hdc.cpp", MAME_DIR .. "src/devices/bus/isa/hdc.h", + MAME_DIR .. "src/devices/bus/isa/hpblp.cpp", MAME_DIR .. "src/devices/bus/isa/ibm_mfc.cpp", MAME_DIR .. "src/devices/bus/isa/ibm_mfc.h", - MAME_DIR .. "src/devices/bus/isa/cl_sh260.cpp", - MAME_DIR .. "src/devices/bus/isa/cl_sh260.h", - MAME_DIR .. "src/devices/bus/isa/mpu401.cpp", - MAME_DIR .. "src/devices/bus/isa/mpu401.h", - MAME_DIR .. "src/devices/bus/isa/sblaster.cpp", - MAME_DIR .. "src/devices/bus/isa/sblaster.h", - MAME_DIR .. "src/devices/bus/isa/stereo_fx.cpp", - MAME_DIR .. "src/devices/bus/isa/stereo_fx.h", - MAME_DIR .. "src/devices/bus/isa/ssi2001.cpp", - MAME_DIR .. "src/devices/bus/isa/ssi2001.h", + MAME_DIR .. "src/devices/bus/isa/ibm_speech.cpp", + MAME_DIR .. "src/devices/bus/isa/ibm_speech.h", MAME_DIR .. "src/devices/bus/isa/ide.cpp", MAME_DIR .. "src/devices/bus/isa/ide.h", - MAME_DIR .. "src/devices/bus/isa/xtide.cpp", - MAME_DIR .. "src/devices/bus/isa/xtide.h", - MAME_DIR .. "src/devices/bus/isa/side116.cpp", - MAME_DIR .. "src/devices/bus/isa/side116.h", - MAME_DIR .. "src/devices/bus/isa/aha1542b.cpp", - MAME_DIR .. "src/devices/bus/isa/aha1542b.h", - MAME_DIR .. "src/devices/bus/isa/aha1542c.cpp", - MAME_DIR .. "src/devices/bus/isa/aha1542c.h", - MAME_DIR .. "src/devices/bus/isa/aha174x.cpp", - MAME_DIR .. "src/devices/bus/isa/aha174x.h", - MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.cpp", - MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.h", - MAME_DIR .. "src/devices/bus/isa/wd1007a.cpp", - MAME_DIR .. "src/devices/bus/isa/wd1007a.h", - MAME_DIR .. "src/devices/bus/isa/dectalk.cpp", - MAME_DIR .. "src/devices/bus/isa/dectalk.h", - MAME_DIR .. "src/devices/bus/isa/pds.cpp", - MAME_DIR .. "src/devices/bus/isa/pds.h", - MAME_DIR .. "src/devices/bus/isa/omti8621.cpp", - MAME_DIR .. "src/devices/bus/isa/omti8621.h", - MAME_DIR .. "src/devices/bus/isa/cga.cpp", - MAME_DIR .. "src/devices/bus/isa/cga.h", - MAME_DIR .. "src/devices/bus/isa/svga_cirrus.cpp", - MAME_DIR .. "src/devices/bus/isa/svga_cirrus.h", - MAME_DIR .. "src/devices/bus/isa/ega.cpp", - MAME_DIR .. "src/devices/bus/isa/ega.h", - MAME_DIR .. "src/devices/bus/isa/pgc.cpp", - MAME_DIR .. "src/devices/bus/isa/pgc.h", - MAME_DIR .. "src/devices/bus/isa/vga.cpp", - MAME_DIR .. "src/devices/bus/isa/vga.h", - MAME_DIR .. "src/devices/bus/isa/vga_ati.cpp", - MAME_DIR .. "src/devices/bus/isa/vga_ati.h", - MAME_DIR .. "src/devices/bus/isa/mach32.cpp", - MAME_DIR .. "src/devices/bus/isa/mach32.h", - MAME_DIR .. "src/devices/bus/isa/svga_tseng.cpp", - MAME_DIR .. "src/devices/bus/isa/svga_tseng.h", - MAME_DIR .. "src/devices/bus/isa/svga_s3.cpp", - MAME_DIR .. "src/devices/bus/isa/svga_s3.h", - MAME_DIR .. "src/devices/bus/isa/s3virge.cpp", - MAME_DIR .. "src/devices/bus/isa/s3virge.h", - MAME_DIR .. "src/devices/bus/isa/pc1640_iga.cpp", - MAME_DIR .. "src/devices/bus/isa/pc1640_iga.h", - MAME_DIR .. "src/devices/bus/isa/3c503.cpp", - MAME_DIR .. "src/devices/bus/isa/3c503.h", + MAME_DIR .. "src/devices/bus/isa/lbaenhancer.cpp", + MAME_DIR .. "src/devices/bus/isa/lbaenhancer.h", + MAME_DIR .. "src/devices/bus/isa/lpt.cpp", + MAME_DIR .. "src/devices/bus/isa/lpt.h", + MAME_DIR .. "src/devices/bus/isa/lrk330.cpp", + MAME_DIR .. "src/devices/bus/isa/lrk330.h", + MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp", + MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h", + MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp", + MAME_DIR .. "src/devices/bus/isa/mc1502_rom.h", + MAME_DIR .. "src/devices/bus/isa/mcd.cpp", + MAME_DIR .. "src/devices/bus/isa/mcd.h", + MAME_DIR .. "src/devices/bus/isa/mda.cpp", + MAME_DIR .. "src/devices/bus/isa/mda.h", + MAME_DIR .. "src/devices/bus/isa/mpu401.cpp", + MAME_DIR .. "src/devices/bus/isa/mpu401.h", + MAME_DIR .. "src/devices/bus/isa/mufdc.cpp", + MAME_DIR .. "src/devices/bus/isa/mufdc.h", + MAME_DIR .. "src/devices/bus/isa/myb3k_com.cpp", + MAME_DIR .. "src/devices/bus/isa/myb3k_com.h", + MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.cpp", + MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.h", MAME_DIR .. "src/devices/bus/isa/ne1000.cpp", MAME_DIR .. "src/devices/bus/isa/ne1000.h", MAME_DIR .. "src/devices/bus/isa/ne2000.cpp", MAME_DIR .. "src/devices/bus/isa/ne2000.h", - MAME_DIR .. "src/devices/bus/isa/3c505.cpp", - MAME_DIR .. "src/devices/bus/isa/3c505.h", - MAME_DIR .. "src/devices/bus/isa/lpt.cpp", - MAME_DIR .. "src/devices/bus/isa/lpt.h", + MAME_DIR .. "src/devices/bus/isa/np600.cpp", + MAME_DIR .. "src/devices/bus/isa/np600.h", + MAME_DIR .. "src/devices/bus/isa/num9rev.cpp", + MAME_DIR .. "src/devices/bus/isa/num9rev.h", + MAME_DIR .. "src/devices/bus/isa/omti8621.cpp", + MAME_DIR .. "src/devices/bus/isa/omti8621.h", + MAME_DIR .. "src/devices/bus/isa/opus100pm.cpp", + MAME_DIR .. "src/devices/bus/isa/opus100pm.h", MAME_DIR .. "src/devices/bus/isa/p1_fdc.cpp", MAME_DIR .. "src/devices/bus/isa/p1_fdc.h", MAME_DIR .. "src/devices/bus/isa/p1_hdc.cpp", @@ -1325,46 +1842,60 @@ if (BUSES["ISA"]~=null) then MAME_DIR .. "src/devices/bus/isa/p1_rom.h", MAME_DIR .. "src/devices/bus/isa/p1_sound.cpp", MAME_DIR .. "src/devices/bus/isa/p1_sound.h", - MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp", - MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h", - MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp", - MAME_DIR .. "src/devices/bus/isa/mc1502_rom.h", - MAME_DIR .. "src/devices/bus/isa/xsu_cards.cpp", - MAME_DIR .. "src/devices/bus/isa/xsu_cards.h", + MAME_DIR .. "src/devices/bus/isa/pc1640_iga.cpp", + MAME_DIR .. "src/devices/bus/isa/pc1640_iga.h", + MAME_DIR .. "src/devices/bus/isa/pcmidi.cpp", + MAME_DIR .. "src/devices/bus/isa/pcmidi.h", + MAME_DIR .. "src/devices/bus/isa/pds.cpp", + MAME_DIR .. "src/devices/bus/isa/pds.h", + MAME_DIR .. "src/devices/bus/isa/pgc.cpp", + MAME_DIR .. "src/devices/bus/isa/pgc.h", + MAME_DIR .. "src/devices/bus/isa/prose4k1.cpp", + MAME_DIR .. "src/devices/bus/isa/prose4k1.h", + MAME_DIR .. "src/devices/bus/isa/sb16.cpp", + MAME_DIR .. "src/devices/bus/isa/sb16.h", + MAME_DIR .. "src/devices/bus/isa/sblaster.cpp", + MAME_DIR .. "src/devices/bus/isa/sblaster.h", MAME_DIR .. "src/devices/bus/isa/sc499.cpp", MAME_DIR .. "src/devices/bus/isa/sc499.h", - MAME_DIR .. "src/devices/bus/isa/aga.cpp", - MAME_DIR .. "src/devices/bus/isa/aga.h", + MAME_DIR .. "src/devices/bus/isa/side116.cpp", + MAME_DIR .. "src/devices/bus/isa/side116.h", + MAME_DIR .. "src/devices/bus/isa/ssi2001.cpp", + MAME_DIR .. "src/devices/bus/isa/ssi2001.h", + MAME_DIR .. "src/devices/bus/isa/stereo_fx.cpp", + MAME_DIR .. "src/devices/bus/isa/stereo_fx.h", + MAME_DIR .. "src/devices/bus/isa/svga_cirrus.cpp", + MAME_DIR .. "src/devices/bus/isa/svga_cirrus.h", + MAME_DIR .. "src/devices/bus/isa/svga_paradise.cpp", + MAME_DIR .. "src/devices/bus/isa/svga_paradise.h", + MAME_DIR .. "src/devices/bus/isa/svga_s3.cpp", + MAME_DIR .. "src/devices/bus/isa/svga_s3.h", MAME_DIR .. "src/devices/bus/isa/svga_trident.cpp", MAME_DIR .. "src/devices/bus/isa/svga_trident.h", - MAME_DIR .. "src/devices/bus/isa/num9rev.cpp", - MAME_DIR .. "src/devices/bus/isa/num9rev.h", - MAME_DIR .. "src/devices/bus/isa/mcd.cpp", - MAME_DIR .. "src/devices/bus/isa/mcd.h", - MAME_DIR .. "src/devices/bus/isa/myb3k_com.cpp", - MAME_DIR .. "src/devices/bus/isa/myb3k_com.h", - MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.cpp", - MAME_DIR .. "src/devices/bus/isa/myb3k_fdc.h", - MAME_DIR .. "src/devices/bus/isa/eis_sad8852.cpp", - MAME_DIR .. "src/devices/bus/isa/eis_sad8852.h", - MAME_DIR .. "src/devices/bus/isa/lbaenhancer.cpp", - MAME_DIR .. "src/devices/bus/isa/lbaenhancer.h", - MAME_DIR .. "src/devices/bus/isa/np600.cpp", - MAME_DIR .. "src/devices/bus/isa/np600.h", - MAME_DIR .. "src/devices/bus/isa/bt54x.cpp", - MAME_DIR .. "src/devices/bus/isa/bt54x.h", - MAME_DIR .. "src/devices/bus/isa/dcb.cpp", - MAME_DIR .. "src/devices/bus/isa/dcb.h", + MAME_DIR .. "src/devices/bus/isa/svga_tseng.cpp", + MAME_DIR .. "src/devices/bus/isa/svga_tseng.h", + MAME_DIR .. "src/devices/bus/isa/tekram_dc820.cpp", + MAME_DIR .. "src/devices/bus/isa/tekram_dc820.h", MAME_DIR .. "src/devices/bus/isa/ultra12f.cpp", MAME_DIR .. "src/devices/bus/isa/ultra12f.h", MAME_DIR .. "src/devices/bus/isa/ultra14f.cpp", MAME_DIR .. "src/devices/bus/isa/ultra14f.h", MAME_DIR .. "src/devices/bus/isa/ultra24f.cpp", MAME_DIR .. "src/devices/bus/isa/ultra24f.h", - MAME_DIR .. "src/devices/bus/isa/tekram_dc820.cpp", - MAME_DIR .. "src/devices/bus/isa/tekram_dc820.h", - MAME_DIR .. "src/devices/bus/isa/asc88.cpp", - MAME_DIR .. "src/devices/bus/isa/asc88.h", + MAME_DIR .. "src/devices/bus/isa/vga.cpp", + MAME_DIR .. "src/devices/bus/isa/vga.h", + MAME_DIR .. "src/devices/bus/isa/vga_ati.cpp", + MAME_DIR .. "src/devices/bus/isa/vga_ati.h", + MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.cpp", + MAME_DIR .. "src/devices/bus/isa/wd1002a_wx1.h", + MAME_DIR .. "src/devices/bus/isa/wd1007a.cpp", + MAME_DIR .. "src/devices/bus/isa/wd1007a.h", + MAME_DIR .. "src/devices/bus/isa/wdxt_gen.cpp", + MAME_DIR .. "src/devices/bus/isa/wdxt_gen.h", + MAME_DIR .. "src/devices/bus/isa/xsu_cards.cpp", + MAME_DIR .. "src/devices/bus/isa/xsu_cards.h", + MAME_DIR .. "src/devices/bus/isa/xtide.cpp", + MAME_DIR .. "src/devices/bus/isa/xtide.h", } end @@ -1400,81 +1931,197 @@ end --------------------------------------------------- -- ---@src/devices/bus/msx_slot/slot.h,BUSES["MSX_SLOT"] = true +--@src/devices/bus/mpf1/slot.h,BUSES["MPF1"] = true +--------------------------------------------------- + +if (BUSES["MPF1"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mpf1/slot.cpp", + MAME_DIR .. "src/devices/bus/mpf1/slot.h", + MAME_DIR .. "src/devices/bus/mpf1/epb.cpp", + MAME_DIR .. "src/devices/bus/mpf1/epb.h", + MAME_DIR .. "src/devices/bus/mpf1/iom.cpp", + MAME_DIR .. "src/devices/bus/mpf1/iom.h", + MAME_DIR .. "src/devices/bus/mpf1/prt.cpp", + MAME_DIR .. "src/devices/bus/mpf1/prt.h", + MAME_DIR .. "src/devices/bus/mpf1/sgb.cpp", + MAME_DIR .. "src/devices/bus/mpf1/sgb.h", + MAME_DIR .. "src/devices/bus/mpf1/ssb.cpp", + MAME_DIR .. "src/devices/bus/mpf1/ssb.h", + MAME_DIR .. "src/devices/bus/mpf1/tva.cpp", + MAME_DIR .. "src/devices/bus/mpf1/tva.h", + MAME_DIR .. "src/devices/bus/mpf1/vid.cpp", + MAME_DIR .. "src/devices/bus/mpf1/vid.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/msx/ctrl/ctrl.h,BUSES["MSX_CTRL"] = true +--------------------------------------------------- + +if (BUSES["MSX_CTRL"]~=null) then + files { + MAME_DIR .. "src/devices/bus/msx/ctrl/ctrl.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/ctrl.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/hypershot.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/hypershot.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/joystick.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/joystick.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/libbler.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/libbler.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/magickey.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/magickey.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/mouse.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/mouse.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/sgadapt.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/sgadapt.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/towns6b.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/towns6b.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/townspad.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/townspad.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/vaus.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/vaus.h", + MAME_DIR .. "src/devices/bus/msx/ctrl/xe1ap.cpp", + MAME_DIR .. "src/devices/bus/msx/ctrl/xe1ap.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/msx/slot/slot.h,BUSES["MSX_SLOT"] = true --------------------------------------------------- if (BUSES["MSX_SLOT"]~=null) then files { - MAME_DIR .. "src/devices/bus/msx_slot/bunsetsu.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/bunsetsu.h", - MAME_DIR .. "src/devices/bus/msx_slot/cartridge.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/cartridge.h", - MAME_DIR .. "src/devices/bus/msx_slot/disk.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/disk.h", - MAME_DIR .. "src/devices/bus/msx_slot/fs4600.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/fs4600.h", - MAME_DIR .. "src/devices/bus/msx_slot/music.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/music.h", - MAME_DIR .. "src/devices/bus/msx_slot/panasonic08.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/panasonic08.h", - MAME_DIR .. "src/devices/bus/msx_slot/rom.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/rom.h", - MAME_DIR .. "src/devices/bus/msx_slot/ram.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/ram.h", - MAME_DIR .. "src/devices/bus/msx_slot/ram_mm.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/ram_mm.h", - MAME_DIR .. "src/devices/bus/msx_slot/slot.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/slot.h", - MAME_DIR .. "src/devices/bus/msx_slot/sony08.cpp", - MAME_DIR .. "src/devices/bus/msx_slot/sony08.h", - MAME_DIR .. "src/devices/bus/msx_cart/arc.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/arc.h", - MAME_DIR .. "src/devices/bus/msx_cart/ascii.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/ascii.h", - MAME_DIR .. "src/devices/bus/msx_cart/bm_012.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/bm_012.h", - MAME_DIR .. "src/devices/bus/msx_cart/cartridge.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/cartridge.h", - MAME_DIR .. "src/devices/bus/msx_cart/crossblaim.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/crossblaim.h", - MAME_DIR .. "src/devices/bus/msx_cart/disk.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/disk.h", - MAME_DIR .. "src/devices/bus/msx_cart/dooly.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/dooly.h", - MAME_DIR .. "src/devices/bus/msx_cart/fmpac.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/fmpac.h", - MAME_DIR .. "src/devices/bus/msx_cart/fs_sr022.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/fs_sr022.h", - MAME_DIR .. "src/devices/bus/msx_cart/halnote.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/halnote.h", - MAME_DIR .. "src/devices/bus/msx_cart/hfox.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/hfox.h", - MAME_DIR .. "src/devices/bus/msx_cart/holy_quran.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/holy_quran.h", - MAME_DIR .. "src/devices/bus/msx_cart/konami.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/konami.h", - MAME_DIR .. "src/devices/bus/msx_cart/korean.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/korean.h", - MAME_DIR .. "src/devices/bus/msx_cart/majutsushi.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/majutsushi.h", - MAME_DIR .. "src/devices/bus/msx_cart/moonsound.h", - MAME_DIR .. "src/devices/bus/msx_cart/moonsound.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/msx_audio.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/msx_audio.h", - MAME_DIR .. "src/devices/bus/msx_cart/msx_audio_kb.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/msx_audio_kb.h", - MAME_DIR .. "src/devices/bus/msx_cart/msxdos2.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/msxdos2.h", - MAME_DIR .. "src/devices/bus/msx_cart/nomapper.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/nomapper.h", - MAME_DIR .. "src/devices/bus/msx_cart/rtype.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/rtype.h", - MAME_DIR .. "src/devices/bus/msx_cart/superloderunner.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/superloderunner.h", - MAME_DIR .. "src/devices/bus/msx_cart/super_swangi.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/super_swangi.h", - MAME_DIR .. "src/devices/bus/msx_cart/yamaha.cpp", - MAME_DIR .. "src/devices/bus/msx_cart/yamaha.h", + MAME_DIR .. "src/devices/bus/msx/slot/ax230.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/ax230.h", + MAME_DIR .. "src/devices/bus/msx/slot/bruc100.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/bruc100.h", + MAME_DIR .. "src/devices/bus/msx/slot/bunsetsu.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/bunsetsu.h", + MAME_DIR .. "src/devices/bus/msx/slot/cartridge.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/cartridge.h", + MAME_DIR .. "src/devices/bus/msx/slot/disk.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/disk.h", + MAME_DIR .. "src/devices/bus/msx/slot/fs4600.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/fs4600.h", + MAME_DIR .. "src/devices/bus/msx/slot/fsa1fm.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/fsa1fm.h", + MAME_DIR .. "src/devices/bus/msx/slot/msx_write.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/msx_write.h", + MAME_DIR .. "src/devices/bus/msx/slot/music.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/music.h", + MAME_DIR .. "src/devices/bus/msx/slot/panasonic08.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/panasonic08.h", + MAME_DIR .. "src/devices/bus/msx/slot/panasonic08r.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/panasonic08r.h", + MAME_DIR .. "src/devices/bus/msx/slot/rom.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/rom.h", + MAME_DIR .. "src/devices/bus/msx/slot/ram.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/ram.h", + MAME_DIR .. "src/devices/bus/msx/slot/ram_mm.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/ram_mm.h", + MAME_DIR .. "src/devices/bus/msx/slot/msx_rs232.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/msx_rs232.h", + MAME_DIR .. "src/devices/bus/msx/slot/slot.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/slot.h", + MAME_DIR .. "src/devices/bus/msx/slot/sony08.cpp", + MAME_DIR .. "src/devices/bus/msx/slot/sony08.h", + MAME_DIR .. "src/devices/bus/msx/beecard/beecard.cpp", + MAME_DIR .. "src/devices/bus/msx/beecard/beecard.h", + MAME_DIR .. "src/devices/bus/msx/cart/arc.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/arc.h", + MAME_DIR .. "src/devices/bus/msx/cart/ascii.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/ascii.h", + MAME_DIR .. "src/devices/bus/msx/cart/beepack.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/beepack.h", + MAME_DIR .. "src/devices/bus/msx/cart/bm_012.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/bm_012.h", + MAME_DIR .. "src/devices/bus/msx/cart/cartridge.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/cartridge.h", + MAME_DIR .. "src/devices/bus/msx/cart/crossblaim.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/crossblaim.h", + MAME_DIR .. "src/devices/bus/msx/cart/disk.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/disk.h", + MAME_DIR .. "src/devices/bus/msx/cart/dooly.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/dooly.h", + MAME_DIR .. "src/devices/bus/msx/cart/easi_speech.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/easi_speech.h", + MAME_DIR .. "src/devices/bus/msx/cart/fmpac.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/fmpac.h", + MAME_DIR .. "src/devices/bus/msx/cart/franky.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/franky.h", + MAME_DIR .. "src/devices/bus/msx/cart/fs_sr021.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/fs_sr021.h", + MAME_DIR .. "src/devices/bus/msx/cart/fs_sr022.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/fs_sr022.h", + MAME_DIR .. "src/devices/bus/msx/cart/halnote.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/halnote.h", + MAME_DIR .. "src/devices/bus/msx/cart/hbi55.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/hbi55.h", + MAME_DIR .. "src/devices/bus/msx/cart/hfox.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/hfox.h", + MAME_DIR .. "src/devices/bus/msx/cart/holy_quran.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/holy_quran.h", + MAME_DIR .. "src/devices/bus/msx/cart/ide.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/ide.h", + MAME_DIR .. "src/devices/bus/msx/cart/ink.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/ink.h", + MAME_DIR .. "src/devices/bus/msx/cart/kanji.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/kanji.h", + MAME_DIR .. "src/devices/bus/msx/cart/konami.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/konami.h", + MAME_DIR .. "src/devices/bus/msx/cart/korean.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/korean.h", + MAME_DIR .. "src/devices/bus/msx/cart/loveplus.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/loveplus.h", + MAME_DIR .. "src/devices/bus/msx/cart/majutsushi.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/majutsushi.h", + MAME_DIR .. "src/devices/bus/msx/cart/matra.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/matra.h", + MAME_DIR .. "src/devices/bus/msx/cart/moonsound.h", + MAME_DIR .. "src/devices/bus/msx/cart/moonsound.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/msx_audio.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/msx_audio.h", + MAME_DIR .. "src/devices/bus/msx/cart/msx_audio_kb.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/msx_audio_kb.h", + MAME_DIR .. "src/devices/bus/msx/cart/msxdos2.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/msxdos2.h", + MAME_DIR .. "src/devices/bus/msx/cart/nomapper.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/nomapper.h", + MAME_DIR .. "src/devices/bus/msx/cart/quickdisk.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/quickdisk.h", + MAME_DIR .. "src/devices/bus/msx/cart/ram.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/ram.h", + MAME_DIR .. "src/devices/bus/msx/cart/rtype.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/rtype.h", + MAME_DIR .. "src/devices/bus/msx/cart/scsi.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/scsi.h", + MAME_DIR .. "src/devices/bus/msx/cart/slotexpander.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/slotexpander.h", + MAME_DIR .. "src/devices/bus/msx/cart/slotoptions.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/slotoptions.h", + MAME_DIR .. "src/devices/bus/msx/cart/softcard.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/softcard.h", + MAME_DIR .. "src/devices/bus/msx/cart/superloderunner.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/superloderunner.h", + MAME_DIR .. "src/devices/bus/msx/cart/super_swangi.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/super_swangi.h", + MAME_DIR .. "src/devices/bus/msx/cart/video80.h", + MAME_DIR .. "src/devices/bus/msx/cart/video80.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/yamaha_ucn01.cpp", + MAME_DIR .. "src/devices/bus/msx/cart/yamaha_ucn01.h", + MAME_DIR .. "src/devices/bus/msx/minicart/minicart.cpp", + MAME_DIR .. "src/devices/bus/msx/minicart/minicart.h", + MAME_DIR .. "src/devices/bus/msx/module/module.cpp", + MAME_DIR .. "src/devices/bus/msx/module/module.h", + MAME_DIR .. "src/devices/bus/msx/module/sfg.cpp", + MAME_DIR .. "src/devices/bus/msx/module/sfg.h", + MAME_DIR .. "src/devices/bus/msx/module/skw01.cpp", + MAME_DIR .. "src/devices/bus/msx/module/skw01.h", + MAME_DIR .. "src/devices/bus/msx/softcard/softcard.cpp", + MAME_DIR .. "src/devices/bus/msx/softcard/softcard.h", } end @@ -1488,6 +2135,12 @@ if (BUSES["MTX"]~=null) then files { MAME_DIR .. "src/devices/bus/mtx/exp.cpp", MAME_DIR .. "src/devices/bus/mtx/exp.h", + MAME_DIR .. "src/devices/bus/mtx/cfx.cpp", + MAME_DIR .. "src/devices/bus/mtx/cfx.h", + MAME_DIR .. "src/devices/bus/mtx/magrom.cpp", + MAME_DIR .. "src/devices/bus/mtx/magrom.h", + MAME_DIR .. "src/devices/bus/mtx/rompak.cpp", + MAME_DIR .. "src/devices/bus/mtx/rompak.h", MAME_DIR .. "src/devices/bus/mtx/sdx.cpp", MAME_DIR .. "src/devices/bus/mtx/sdx.h", } @@ -1496,6 +2149,26 @@ end --------------------------------------------------- -- +--@src/devices/bus/mc10/mc10_cart.h,BUSES["MC10"] = true +--------------------------------------------------- +if (BUSES["MC10"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mc10/mc10_cart.cpp", + MAME_DIR .. "src/devices/bus/mc10/mc10_cart.h", + MAME_DIR .. "src/devices/bus/mc10/mcx128.cpp", + MAME_DIR .. "src/devices/bus/mc10/mcx128.h", + MAME_DIR .. "src/devices/bus/mc10/multiports_ext.cpp", + MAME_DIR .. "src/devices/bus/mc10/multiports_ext.h", + MAME_DIR .. "src/devices/bus/mc10/pak.cpp", + MAME_DIR .. "src/devices/bus/mc10/pak.h", + MAME_DIR .. "src/devices/bus/mc10/ram.cpp", + MAME_DIR .. "src/devices/bus/mc10/ram.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/kc/kc.h,BUSES["KC"] = true --------------------------------------------------- @@ -1525,8 +2198,18 @@ if (BUSES["O2"]~=null) then MAME_DIR .. "src/devices/bus/odyssey2/slot.h", MAME_DIR .. "src/devices/bus/odyssey2/rom.cpp", MAME_DIR .. "src/devices/bus/odyssey2/rom.h", + MAME_DIR .. "src/devices/bus/odyssey2/4in1.cpp", + MAME_DIR .. "src/devices/bus/odyssey2/4in1.h", MAME_DIR .. "src/devices/bus/odyssey2/chess.cpp", MAME_DIR .. "src/devices/bus/odyssey2/chess.h", + MAME_DIR .. "src/devices/bus/odyssey2/homecomp.cpp", + MAME_DIR .. "src/devices/bus/odyssey2/homecomp.h", + MAME_DIR .. "src/devices/bus/odyssey2/ktaa.cpp", + MAME_DIR .. "src/devices/bus/odyssey2/ktaa.h", + MAME_DIR .. "src/devices/bus/odyssey2/rally.cpp", + MAME_DIR .. "src/devices/bus/odyssey2/rally.h", + MAME_DIR .. "src/devices/bus/odyssey2/test.cpp", + MAME_DIR .. "src/devices/bus/odyssey2/test.h", MAME_DIR .. "src/devices/bus/odyssey2/voice.cpp", MAME_DIR .. "src/devices/bus/odyssey2/voice.h", } @@ -1535,6 +2218,25 @@ end --------------------------------------------------- -- +--@src/devices/bus/pasopia/pac2.h,BUSES["PASOPIA"] = true +--------------------------------------------------- + +if (BUSES["PASOPIA"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pasopia/pac2.cpp", + MAME_DIR .. "src/devices/bus/pasopia/pac2.h", + MAME_DIR .. "src/devices/bus/pasopia/pac2exp.cpp", + MAME_DIR .. "src/devices/bus/pasopia/pac2exp.h", + MAME_DIR .. "src/devices/bus/pasopia/rampac2.cpp", + MAME_DIR .. "src/devices/bus/pasopia/rampac2.h", + MAME_DIR .. "src/devices/bus/pasopia/rompac2.cpp", + MAME_DIR .. "src/devices/bus/pasopia/rompac2.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/pc_joy/pc_joy.h,BUSES["PC_JOY"] = true --------------------------------------------------- @@ -1542,6 +2244,8 @@ if (BUSES["PC_JOY"]~=null) then files { MAME_DIR .. "src/devices/bus/pc_joy/pc_joy.cpp", MAME_DIR .. "src/devices/bus/pc_joy/pc_joy.h", + MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_magnum6.cpp", + MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_magnum6.h", MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_sw.cpp", MAME_DIR .. "src/devices/bus/pc_joy/pc_joy_sw.h", } @@ -1550,6 +2254,29 @@ end --------------------------------------------------- -- +--@src/devices/bus/pccard/pccard.h,BUSES["PCCARD"] = true +--------------------------------------------------- + +if (BUSES["PCCARD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pccard/pccard.cpp", + MAME_DIR .. "src/devices/bus/pccard/pccard.h", + MAME_DIR .. "src/devices/bus/pccard/ataflash.cpp", + MAME_DIR .. "src/devices/bus/pccard/ataflash.h", + MAME_DIR .. "src/devices/bus/pccard/k573npu.cpp", + MAME_DIR .. "src/devices/bus/pccard/k573npu.h", + MAME_DIR .. "src/devices/bus/pccard/konami_dual.cpp", + MAME_DIR .. "src/devices/bus/pccard/konami_dual.h", + MAME_DIR .. "src/devices/bus/pccard/linflash.cpp", + MAME_DIR .. "src/devices/bus/pccard/linflash.h", + MAME_DIR .. "src/devices/bus/pccard/sram.cpp", + MAME_DIR .. "src/devices/bus/pccard/sram.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/pc_kbd/pc_kbdc.h,BUSES["PC_KBD"] = true --------------------------------------------------- @@ -1559,6 +2286,8 @@ if (BUSES["PC_KBD"]~=null) then MAME_DIR .. "src/devices/bus/pc_kbd/pc_kbdc.h", MAME_DIR .. "src/devices/bus/pc_kbd/keyboards.cpp", MAME_DIR .. "src/devices/bus/pc_kbd/keyboards.h", + MAME_DIR .. "src/devices/bus/pc_kbd/cherry_mx1500.cpp", + MAME_DIR .. "src/devices/bus/pc_kbd/cherry_mx1500.h", MAME_DIR .. "src/devices/bus/pc_kbd/ec1841.cpp", MAME_DIR .. "src/devices/bus/pc_kbd/ec1841.h", MAME_DIR .. "src/devices/bus/pc_kbd/iskr1030.cpp", @@ -1669,6 +2398,99 @@ end --------------------------------------------------- -- +--@src/devices/bus/psion/honda/slot.h,BUSES["PSION_HONDA"] = true +--------------------------------------------------- + +if (BUSES["PSION_HONDA"]~=null) then + files { + MAME_DIR .. "src/devices/bus/psion/honda/slot.cpp", + MAME_DIR .. "src/devices/bus/psion/honda/slot.h", + MAME_DIR .. "src/devices/bus/psion/honda/parallel.cpp", + MAME_DIR .. "src/devices/bus/psion/honda/parallel.h", + MAME_DIR .. "src/devices/bus/psion/honda/pclink.cpp", + MAME_DIR .. "src/devices/bus/psion/honda/pclink.h", + MAME_DIR .. "src/devices/bus/psion/honda/ssd.cpp", + MAME_DIR .. "src/devices/bus/psion/honda/ssd.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/psion/module/slot.h,BUSES["PSION_MODULE"] = true +--------------------------------------------------- + +if (BUSES["PSION_MODULE"]~=null) then + files { + MAME_DIR .. "src/devices/bus/psion/module/slot.cpp", + MAME_DIR .. "src/devices/bus/psion/module/slot.h", + MAME_DIR .. "src/devices/bus/psion/module/serpar.cpp", + MAME_DIR .. "src/devices/bus/psion/module/serpar.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/psion/sibo/slot.h,BUSES["PSION_SIBO"] = true +--------------------------------------------------- + +if (BUSES["PSION_SIBO"]~=null) then + files { + MAME_DIR .. "src/devices/bus/psion/sibo/slot.cpp", + MAME_DIR .. "src/devices/bus/psion/sibo/slot.h", + MAME_DIR .. "src/devices/bus/psion/sibo/3fax.cpp", + MAME_DIR .. "src/devices/bus/psion/sibo/3fax.h", + MAME_DIR .. "src/devices/bus/psion/sibo/3link.cpp", + MAME_DIR .. "src/devices/bus/psion/sibo/3link.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/rc2014/rc2014.h,BUSES["RC2014"] = true +--------------------------------------------------- + +if (BUSES["RC2014"]~=null) then + files { + MAME_DIR .. "src/devices/bus/rc2014/rc2014.cpp", + MAME_DIR .. "src/devices/bus/rc2014/rc2014.h", + MAME_DIR .. "src/devices/bus/rc2014/cf.cpp", + MAME_DIR .. "src/devices/bus/rc2014/cf.h", + MAME_DIR .. "src/devices/bus/rc2014/clock.cpp", + MAME_DIR .. "src/devices/bus/rc2014/clock.h", + MAME_DIR .. "src/devices/bus/rc2014/edge.cpp", + MAME_DIR .. "src/devices/bus/rc2014/edge.h", + MAME_DIR .. "src/devices/bus/rc2014/fdc.cpp", + MAME_DIR .. "src/devices/bus/rc2014/fdc.h", + MAME_DIR .. "src/devices/bus/rc2014/ide.cpp", + MAME_DIR .. "src/devices/bus/rc2014/ide.h", + MAME_DIR .. "src/devices/bus/rc2014/micro.cpp", + MAME_DIR .. "src/devices/bus/rc2014/micro.h", + MAME_DIR .. "src/devices/bus/rc2014/modules.cpp", + MAME_DIR .. "src/devices/bus/rc2014/modules.h", + MAME_DIR .. "src/devices/bus/rc2014/ram.cpp", + MAME_DIR .. "src/devices/bus/rc2014/ram.h", + MAME_DIR .. "src/devices/bus/rc2014/rom.cpp", + MAME_DIR .. "src/devices/bus/rc2014/rom.h", + MAME_DIR .. "src/devices/bus/rc2014/romram.cpp", + MAME_DIR .. "src/devices/bus/rc2014/romram.h", + MAME_DIR .. "src/devices/bus/rc2014/rtc.cpp", + MAME_DIR .. "src/devices/bus/rc2014/rtc.h", + MAME_DIR .. "src/devices/bus/rc2014/serial.cpp", + MAME_DIR .. "src/devices/bus/rc2014/serial.h", + MAME_DIR .. "src/devices/bus/rc2014/sound.cpp", + MAME_DIR .. "src/devices/bus/rc2014/sound.h", + MAME_DIR .. "src/devices/bus/rc2014/z180cpu.cpp", + MAME_DIR .. "src/devices/bus/rc2014/z180cpu.h", + MAME_DIR .. "src/devices/bus/rc2014/z80cpu.cpp", + MAME_DIR .. "src/devices/bus/rc2014/z80cpu.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/s100/s100.h,BUSES["S100"] = true --------------------------------------------------- @@ -1678,6 +2500,8 @@ if (BUSES["S100"]~=null) then MAME_DIR .. "src/devices/bus/s100/s100.h", MAME_DIR .. "src/devices/bus/s100/am310.cpp", MAME_DIR .. "src/devices/bus/s100/am310.h", + MAME_DIR .. "src/devices/bus/s100/ascsasi.cpp", + MAME_DIR .. "src/devices/bus/s100/ascsasi.h", MAME_DIR .. "src/devices/bus/s100/dg640.cpp", MAME_DIR .. "src/devices/bus/s100/dg640.h", MAME_DIR .. "src/devices/bus/s100/dj2db.cpp", @@ -1698,6 +2522,8 @@ if (BUSES["S100"]~=null) then MAME_DIR .. "src/devices/bus/s100/polyvti.h", MAME_DIR .. "src/devices/bus/s100/seals8k.cpp", MAME_DIR .. "src/devices/bus/s100/seals8k.h", + MAME_DIR .. "src/devices/bus/s100/vectordualmode.cpp", + MAME_DIR .. "src/devices/bus/s100/vectordualmode.h", MAME_DIR .. "src/devices/bus/s100/wunderbus.cpp", MAME_DIR .. "src/devices/bus/s100/wunderbus.h", } @@ -1706,6 +2532,25 @@ end --------------------------------------------------- -- +--@src/devices/bus/segaai/segaai_exp.h,BUSES["SEGAAI"] = true +--------------------------------------------------- + +if (BUSES["SEGAAI"]~=null) then + files { + MAME_DIR .. "src/devices/bus/segaai/rom.cpp", + MAME_DIR .. "src/devices/bus/segaai/rom.h", + MAME_DIR .. "src/devices/bus/segaai/segaai_exp.cpp", + MAME_DIR .. "src/devices/bus/segaai/segaai_exp.h", + MAME_DIR .. "src/devices/bus/segaai/segaai_slot.cpp", + MAME_DIR .. "src/devices/bus/segaai/segaai_slot.h", + MAME_DIR .. "src/devices/bus/segaai/soundbox.cpp", + MAME_DIR .. "src/devices/bus/segaai/soundbox.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/spc1000/exp.h,BUSES["SPC1000"] = true --------------------------------------------------- @@ -1745,6 +2590,20 @@ if (BUSES["SS50"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/bus/supracan/slot.h,BUSES["SUPRACAN"] = true +--------------------------------------------------- + +if (BUSES["SUPRACAN"]~=null) then + files { + MAME_DIR .. "src/devices/bus/supracan/slot.cpp", + MAME_DIR .. "src/devices/bus/supracan/slot.h", + MAME_DIR .. "src/devices/bus/supracan/rom.cpp", + MAME_DIR .. "src/devices/bus/supracan/rom.h", + } +end + --------------------------------------------------- -- @@ -1765,6 +2624,21 @@ end --------------------------------------------------- -- +--@src/devices/bus/tim011/exp.h,BUSES["TIM011"] = true +--------------------------------------------------- + +if (BUSES["TIM011"]~=null) then + files { + MAME_DIR .. "src/devices/bus/tim011/exp.cpp", + MAME_DIR .. "src/devices/bus/tim011/exp.h", + MAME_DIR .. "src/devices/bus/tim011/aycard.cpp", + MAME_DIR .. "src/devices/bus/tim011/aycard.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/tvc/tvc.h,BUSES["TVC"] = true --------------------------------------------------- @@ -1825,6 +2699,8 @@ if (BUSES["VCS_CTRL"]~=null) then files { MAME_DIR .. "src/devices/bus/vcs_ctrl/ctrl.cpp", MAME_DIR .. "src/devices/bus/vcs_ctrl/ctrl.h", + MAME_DIR .. "src/devices/bus/vcs_ctrl/cx85.cpp", + MAME_DIR .. "src/devices/bus/vcs_ctrl/cx85.h", MAME_DIR .. "src/devices/bus/vcs_ctrl/joystick.cpp", MAME_DIR .. "src/devices/bus/vcs_ctrl/joystick.h", MAME_DIR .. "src/devices/bus/vcs_ctrl/joybooster.cpp", @@ -1837,6 +2713,8 @@ if (BUSES["VCS_CTRL"]~=null) then MAME_DIR .. "src/devices/bus/vcs_ctrl/mouse.h", MAME_DIR .. "src/devices/bus/vcs_ctrl/paddles.cpp", MAME_DIR .. "src/devices/bus/vcs_ctrl/paddles.h", + MAME_DIR .. "src/devices/bus/vcs_ctrl/trakball.cpp", + MAME_DIR .. "src/devices/bus/vcs_ctrl/trakball.h", MAME_DIR .. "src/devices/bus/vcs_ctrl/wheel.cpp", MAME_DIR .. "src/devices/bus/vcs_ctrl/wheel.h", } @@ -1926,6 +2804,10 @@ if (BUSES["VIDBRAIN"]~=null) then MAME_DIR .. "src/devices/bus/vidbrain/exp.h", MAME_DIR .. "src/devices/bus/vidbrain/std.cpp", MAME_DIR .. "src/devices/bus/vidbrain/std.h", + MAME_DIR .. "src/devices/bus/vidbrain/comp_language.cpp", + MAME_DIR .. "src/devices/bus/vidbrain/comp_language.h", + MAME_DIR .. "src/devices/bus/vidbrain/info_manager.cpp", + MAME_DIR .. "src/devices/bus/vidbrain/info_manager.h", MAME_DIR .. "src/devices/bus/vidbrain/money_minder.cpp", MAME_DIR .. "src/devices/bus/vidbrain/money_minder.h", MAME_DIR .. "src/devices/bus/vidbrain/timeshare.cpp", @@ -1975,18 +2857,52 @@ if (BUSES["VME"]~=null) then files { MAME_DIR .. "src/devices/bus/vme/vme.cpp", MAME_DIR .. "src/devices/bus/vme/vme.h", - MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.h", - MAME_DIR .. "src/devices/bus/vme/vme_mvme350.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_mvme350.h", - MAME_DIR .. "src/devices/bus/vme/vme_fccpu20.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_fccpu20.h", - MAME_DIR .. "src/devices/bus/vme/vme_fcisio.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_fcisio.h", - MAME_DIR .. "src/devices/bus/vme/vme_fcscsi.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_fcscsi.h", - MAME_DIR .. "src/devices/bus/vme/vme_hcpu30.cpp", - MAME_DIR .. "src/devices/bus/vme/vme_hcpu30.h", + MAME_DIR .. "src/devices/bus/vme/vme_cards.cpp", + MAME_DIR .. "src/devices/bus/vme/vme_cards.h", + MAME_DIR .. "src/devices/bus/vme/cp31.cpp", + MAME_DIR .. "src/devices/bus/vme/cp31.h", + MAME_DIR .. "src/devices/bus/vme/enp10.cpp", + MAME_DIR .. "src/devices/bus/vme/enp10.h", + MAME_DIR .. "src/devices/bus/vme/hcpu30.cpp", + MAME_DIR .. "src/devices/bus/vme/hcpu30.h", + MAME_DIR .. "src/devices/bus/vme/hk68v10.cpp", + MAME_DIR .. "src/devices/bus/vme/hk68v10.h", + MAME_DIR .. "src/devices/bus/vme/mvme120.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme120.h", + MAME_DIR .. "src/devices/bus/vme/mvme147.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme147.h", + MAME_DIR .. "src/devices/bus/vme/mvme180.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme180.h", + MAME_DIR .. "src/devices/bus/vme/mvme181.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme181.h", + MAME_DIR .. "src/devices/bus/vme/mvme187.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme187.h", + MAME_DIR .. "src/devices/bus/vme/mvme327a.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme327a.h", + MAME_DIR .. "src/devices/bus/vme/mvme328.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme328.h", + MAME_DIR .. "src/devices/bus/vme/mvme350.cpp", + MAME_DIR .. "src/devices/bus/vme/mvme350.h", + MAME_DIR .. "src/devices/bus/vme/mzr8105.cpp", + MAME_DIR .. "src/devices/bus/vme/mzr8105.h", + MAME_DIR .. "src/devices/bus/vme/mzr8300.cpp", + MAME_DIR .. "src/devices/bus/vme/mzr8300.h", + MAME_DIR .. "src/devices/bus/vme/smvme2000.cpp", + MAME_DIR .. "src/devices/bus/vme/smvme2000.h", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu1.cpp", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu1.h", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu20.cpp", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu20.h", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu30.cpp", + MAME_DIR .. "src/devices/bus/vme/sys68k_cpu30.h", + MAME_DIR .. "src/devices/bus/vme/sys68k_iscsi.cpp", + MAME_DIR .. "src/devices/bus/vme/sys68k_iscsi.h", + MAME_DIR .. "src/devices/bus/vme/sys68k_isio.cpp", + MAME_DIR .. "src/devices/bus/vme/sys68k_isio.h", + MAME_DIR .. "src/devices/bus/vme/tp880v.cpp", + MAME_DIR .. "src/devices/bus/vme/tp880v.h", + MAME_DIR .. "src/devices/bus/vme/tp881v.cpp", + MAME_DIR .. "src/devices/bus/vme/tp881v.h", } end @@ -2022,6 +2938,38 @@ end --------------------------------------------------- -- +--@src/devices/bus/wysekbd/wysekbd.h,BUSES["WYSEKBD"] = true +--------------------------------------------------- + +if (BUSES["WYSEKBD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/wysekbd/wysegakb.cpp", + MAME_DIR .. "src/devices/bus/wysekbd/wysegakb.h", + MAME_DIR .. "src/devices/bus/wysekbd/wysekbd.cpp", + MAME_DIR .. "src/devices/bus/wysekbd/wysekbd.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/z29_kbd/keyboard.h,BUSES["Z29_KBD"] = true +--------------------------------------------------- + +if (BUSES["Z29_KBD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/z29_kbd/keyboard.cpp", + MAME_DIR .. "src/devices/bus/z29_kbd/keyboard.h", + MAME_DIR .. "src/devices/bus/z29_kbd/he191_3425.cpp", + MAME_DIR .. "src/devices/bus/z29_kbd/he191_3425.h", + MAME_DIR .. "src/devices/bus/z29_kbd/md_kbd.cpp", + MAME_DIR .. "src/devices/bus/z29_kbd/md_kbd.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/z88/z88.h,BUSES["Z88"] = true --------------------------------------------------- @@ -2047,84 +2995,80 @@ if (BUSES["A2BUS"]~=null) then files { MAME_DIR .. "src/devices/bus/a2bus/a2bus.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2bus.h", - MAME_DIR .. "src/devices/bus/a2bus/a2diskii.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2diskii.h", - MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.h", + MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.h", + MAME_DIR .. "src/devices/bus/a2bus/4play.cpp", + MAME_DIR .. "src/devices/bus/a2bus/4play.h", + MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.h", + MAME_DIR .. "src/devices/bus/a2bus/a2applicard.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2applicard.h", + MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.h", MAME_DIR .. "src/devices/bus/a2bus/a2cffa.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2cffa.h", + MAME_DIR .. "src/devices/bus/a2bus/a2corvus.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2corvus.h", + MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.h", + MAME_DIR .. "src/devices/bus/a2bus/a2dx1.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2dx1.h", + MAME_DIR .. "src/devices/bus/a2bus/a2echoii.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2echoii.h", + MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.h", + MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.h", + MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.h", + MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.h", + MAME_DIR .. "src/devices/bus/a2bus/a2iwm.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2iwm.h", + MAME_DIR .. "src/devices/bus/a2bus/a2mcms.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2mcms.h", MAME_DIR .. "src/devices/bus/a2bus/a2memexp.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2memexp.h", + MAME_DIR .. "src/devices/bus/a2bus/a2midi.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2midi.h", + MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2mockingboard.h", + MAME_DIR .. "src/devices/bus/a2bus/a2parprn.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2parprn.h", + MAME_DIR .. "src/devices/bus/a2bus/a2pic.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2pic.h", + MAME_DIR .. "src/devices/bus/a2bus/a2sam.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2sam.h", MAME_DIR .. "src/devices/bus/a2bus/a2scsi.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2scsi.h", - MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.h", + MAME_DIR .. "src/devices/bus/a2bus/a2sd.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2sd.h", MAME_DIR .. "src/devices/bus/a2bus/a2softcard.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2softcard.h", - MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.h", MAME_DIR .. "src/devices/bus/a2bus/a2ssc.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2ssc.h", + MAME_DIR .. "src/devices/bus/a2bus/a2superdrive.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2superdrive.h", MAME_DIR .. "src/devices/bus/a2bus/a2swyft.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2swyft.h", - MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2eauxslot.h", MAME_DIR .. "src/devices/bus/a2bus/a2themill.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2themill.h", - MAME_DIR .. "src/devices/bus/a2bus/a2sam.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2sam.h", - MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2alfam2.h", - MAME_DIR .. "src/devices/bus/a2bus/laser128.cpp", - MAME_DIR .. "src/devices/bus/a2bus/laser128.h", - MAME_DIR .. "src/devices/bus/a2bus/a2echoii.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2echoii.h", - MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2arcadebd.h", - MAME_DIR .. "src/devices/bus/a2bus/a2midi.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2midi.h", + MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2thunderclock.h", + MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.h", + MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2videoterm.h", MAME_DIR .. "src/devices/bus/a2bus/a2vulcan.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2vulcan.h", + MAME_DIR .. "src/devices/bus/a2bus/a2wico_trackball.cpp", + MAME_DIR .. "src/devices/bus/a2bus/a2wico_trackball.h", MAME_DIR .. "src/devices/bus/a2bus/a2zipdrive.cpp", MAME_DIR .. "src/devices/bus/a2bus/a2zipdrive.h", - MAME_DIR .. "src/devices/bus/a2bus/a2applicard.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2applicard.h", - MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2hsscsi.h", - MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2ultraterm.h", - MAME_DIR .. "src/devices/bus/a2bus/a2pic.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2pic.h", - MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2estd80col.h", - MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2eext80col.h", - MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2eramworks3.h", - MAME_DIR .. "src/devices/bus/a2bus/a2corvus.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2corvus.h", - MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2diskiing.h", - MAME_DIR .. "src/devices/bus/a2bus/a2mcms.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2mcms.h", - MAME_DIR .. "src/devices/bus/a2bus/a2dx1.cpp", - MAME_DIR .. "src/devices/bus/a2bus/a2dx1.h", - MAME_DIR .. "src/devices/bus/a2bus/timemasterho.cpp", - MAME_DIR .. "src/devices/bus/a2bus/timemasterho.h", - MAME_DIR .. "src/devices/bus/a2bus/mouse.cpp", - MAME_DIR .. "src/devices/bus/a2bus/mouse.h", - MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.cpp", - MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.h", - MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.cpp", - MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.h", - MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.cpp", - MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.h", - MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.cpp", - MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.h", - MAME_DIR .. "src/devices/bus/a2bus/ezcgi.cpp", - MAME_DIR .. "src/devices/bus/a2bus/ezcgi.h", - MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.cpp", - MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.h", + MAME_DIR .. "src/devices/bus/a2bus/ace2x00.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ace2x00.h", + MAME_DIR .. "src/devices/bus/a2bus/agat_fdc.cpp", + MAME_DIR .. "src/devices/bus/a2bus/agat_fdc.h", MAME_DIR .. "src/devices/bus/a2bus/agat7langcard.cpp", MAME_DIR .. "src/devices/bus/a2bus/agat7langcard.h", MAME_DIR .. "src/devices/bus/a2bus/agat7ports.cpp", @@ -2133,20 +3077,76 @@ if (BUSES["A2BUS"]~=null) then MAME_DIR .. "src/devices/bus/a2bus/agat7ram.h", MAME_DIR .. "src/devices/bus/a2bus/agat840k_hle.cpp", MAME_DIR .. "src/devices/bus/a2bus/agat840k_hle.h", - MAME_DIR .. "src/devices/bus/a2bus/agat_fdc.cpp", - MAME_DIR .. "src/devices/bus/a2bus/agat_fdc.h", + MAME_DIR .. "src/devices/bus/a2bus/booti.cpp", + MAME_DIR .. "src/devices/bus/a2bus/booti.h", + MAME_DIR .. "src/devices/bus/a2bus/byte8251.cpp", + MAME_DIR .. "src/devices/bus/a2bus/byte8251.h", + MAME_DIR .. "src/devices/bus/a2bus/cards.cpp", + MAME_DIR .. "src/devices/bus/a2bus/cards.h", + MAME_DIR .. "src/devices/bus/a2bus/ccs7710.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ccs7710.h", + MAME_DIR .. "src/devices/bus/a2bus/cmsscsi.cpp", + MAME_DIR .. "src/devices/bus/a2bus/cmsscsi.h", + MAME_DIR .. "src/devices/bus/a2bus/computereyes2.cpp", + MAME_DIR .. "src/devices/bus/a2bus/computereyes2.h", + MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.cpp", + MAME_DIR .. "src/devices/bus/a2bus/corvfdc01.h", + MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.cpp", + MAME_DIR .. "src/devices/bus/a2bus/corvfdc02.h", + MAME_DIR .. "src/devices/bus/a2bus/excel9.cpp", + MAME_DIR .. "src/devices/bus/a2bus/excel9.h", + MAME_DIR .. "src/devices/bus/a2bus/ezcgi.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ezcgi.h", + MAME_DIR .. "src/devices/bus/a2bus/grafex.cpp", + MAME_DIR .. "src/devices/bus/a2bus/grafex.h", + MAME_DIR .. "src/devices/bus/a2bus/grappler.cpp", + MAME_DIR .. "src/devices/bus/a2bus/grappler.h", + MAME_DIR .. "src/devices/bus/a2bus/lancegs.cpp", + MAME_DIR .. "src/devices/bus/a2bus/lancegs.h", + MAME_DIR .. "src/devices/bus/a2bus/laser128.cpp", + MAME_DIR .. "src/devices/bus/a2bus/laser128.h", + MAME_DIR .. "src/devices/bus/a2bus/mouse.cpp", + MAME_DIR .. "src/devices/bus/a2bus/mouse.h", MAME_DIR .. "src/devices/bus/a2bus/nippelclock.cpp", MAME_DIR .. "src/devices/bus/a2bus/nippelclock.h", - MAME_DIR .. "src/devices/bus/a2bus/ssprite.cpp", - MAME_DIR .. "src/devices/bus/a2bus/ssprite.h", + MAME_DIR .. "src/devices/bus/a2bus/noisemaker.cpp", + MAME_DIR .. "src/devices/bus/a2bus/noisemaker.h", + MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.cpp", + MAME_DIR .. "src/devices/bus/a2bus/pc_xporter.h", + MAME_DIR .. "src/devices/bus/a2bus/prodosromdrive.cpp", + MAME_DIR .. "src/devices/bus/a2bus/prodosromdrive.h", + MAME_DIR .. "src/devices/bus/a2bus/q68.cpp", + MAME_DIR .. "src/devices/bus/a2bus/q68.h", + MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ramcard128k.h", + MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ramcard16k.h", + MAME_DIR .. "src/devices/bus/a2bus/romcard.cpp", + MAME_DIR .. "src/devices/bus/a2bus/romcard.h", + MAME_DIR .. "src/devices/bus/a2bus/sider.cpp", + MAME_DIR .. "src/devices/bus/a2bus/sider.h", + MAME_DIR .. "src/devices/bus/a2bus/snesmax.cpp", + MAME_DIR .. "src/devices/bus/a2bus/snesmax.h", + MAME_DIR .. "src/devices/bus/a2bus/softcard3.cpp", + MAME_DIR .. "src/devices/bus/a2bus/softcard3.h", MAME_DIR .. "src/devices/bus/a2bus/ssbapple.cpp", MAME_DIR .. "src/devices/bus/a2bus/ssbapple.h", + MAME_DIR .. "src/devices/bus/a2bus/ssprite.cpp", + MAME_DIR .. "src/devices/bus/a2bus/ssprite.h", + MAME_DIR .. "src/devices/bus/a2bus/suprterminal.cpp", + MAME_DIR .. "src/devices/bus/a2bus/suprterminal.h", + MAME_DIR .. "src/devices/bus/a2bus/timemasterho.cpp", + MAME_DIR .. "src/devices/bus/a2bus/timemasterho.h", + MAME_DIR .. "src/devices/bus/a2bus/titan3plus2.cpp", + MAME_DIR .. "src/devices/bus/a2bus/titan3plus2.h", MAME_DIR .. "src/devices/bus/a2bus/transwarp.cpp", MAME_DIR .. "src/devices/bus/a2bus/transwarp.h", - MAME_DIR .. "src/devices/bus/a2bus/4play.cpp", - MAME_DIR .. "src/devices/bus/a2bus/4play.h", - MAME_DIR .. "src/devices/bus/a2bus/computereyes2.cpp", - MAME_DIR .. "src/devices/bus/a2bus/computereyes2.h", + MAME_DIR .. "src/devices/bus/a2bus/uniprint.cpp", + MAME_DIR .. "src/devices/bus/a2bus/uniprint.h", + MAME_DIR .. "src/devices/bus/a2bus/uthernet.cpp", + MAME_DIR .. "src/devices/bus/a2bus/uthernet.h", + MAME_DIR .. "src/devices/bus/a2bus/vistaa800.cpp", + MAME_DIR .. "src/devices/bus/a2bus/vistaa800.h", } end @@ -2157,6 +3157,8 @@ end if (BUSES["A2GAMEIO"]~=null) then files { + MAME_DIR .. "src/devices/bus/a2gameio/brightpen.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/brightpen.h", MAME_DIR .. "src/devices/bus/a2gameio/computereyes.cpp", MAME_DIR .. "src/devices/bus/a2gameio/computereyes.h", MAME_DIR .. "src/devices/bus/a2gameio/gameio.cpp", @@ -2165,6 +3167,14 @@ if (BUSES["A2GAMEIO"]~=null) then MAME_DIR .. "src/devices/bus/a2gameio/joystick.h", MAME_DIR .. "src/devices/bus/a2gameio/joyport.cpp", MAME_DIR .. "src/devices/bus/a2gameio/joyport.h", + MAME_DIR .. "src/devices/bus/a2gameio/joyport_paddles.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/joyport_paddles.h", + MAME_DIR .. "src/devices/bus/a2gameio/paddles.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/paddles.h", + MAME_DIR .. "src/devices/bus/a2gameio/gizmo.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/gizmo.h", + MAME_DIR .. "src/devices/bus/a2gameio/wico_joystick.cpp", + MAME_DIR .. "src/devices/bus/a2gameio/wico_joystick.h", } end @@ -2178,12 +3188,24 @@ end if (BUSES["NSCSI"]~=null) then files { + MAME_DIR .. "src/devices/bus/nscsi/applecd.cpp", + MAME_DIR .. "src/devices/bus/nscsi/applecd.h", MAME_DIR .. "src/devices/bus/nscsi/cd.cpp", MAME_DIR .. "src/devices/bus/nscsi/cd.h", MAME_DIR .. "src/devices/bus/nscsi/cdd2000.cpp", MAME_DIR .. "src/devices/bus/nscsi/cdd2000.h", MAME_DIR .. "src/devices/bus/nscsi/cdrn820s.cpp", MAME_DIR .. "src/devices/bus/nscsi/cdrn820s.h", + MAME_DIR .. "src/devices/bus/nscsi/cdu75s.cpp", + MAME_DIR .. "src/devices/bus/nscsi/cdu75s.h", + MAME_DIR .. "src/devices/bus/nscsi/cdu415.cpp", + MAME_DIR .. "src/devices/bus/nscsi/cdu415.h", + MAME_DIR .. "src/devices/bus/nscsi/cdu561.cpp", + MAME_DIR .. "src/devices/bus/nscsi/cdu561.h", + MAME_DIR .. "src/devices/bus/nscsi/cfp1080s.cpp", + MAME_DIR .. "src/devices/bus/nscsi/cfp1080s.h", + MAME_DIR .. "src/devices/bus/nscsi/crd254sh.cpp", + MAME_DIR .. "src/devices/bus/nscsi/crd254sh.h", MAME_DIR .. "src/devices/bus/nscsi/cw7501.cpp", MAME_DIR .. "src/devices/bus/nscsi/cw7501.h", MAME_DIR .. "src/devices/bus/nscsi/devices.cpp", @@ -2192,6 +3214,10 @@ if (BUSES["NSCSI"]~=null) then MAME_DIR .. "src/devices/bus/nscsi/hd.h", MAME_DIR .. "src/devices/bus/nscsi/s1410.cpp", MAME_DIR .. "src/devices/bus/nscsi/s1410.h", + MAME_DIR .. "src/devices/bus/nscsi/smoc501.cpp", + MAME_DIR .. "src/devices/bus/nscsi/smoc501.h", + MAME_DIR .. "src/devices/bus/nscsi/tape.cpp", + MAME_DIR .. "src/devices/bus/nscsi/tape.h", } end @@ -2202,6 +3228,8 @@ end if (BUSES["NUBUS"]~=null) then files { + MAME_DIR .. "src/devices/bus/nubus/cards.cpp", + MAME_DIR .. "src/devices/bus/nubus/cards.h", MAME_DIR .. "src/devices/bus/nubus/nubus.cpp", MAME_DIR .. "src/devices/bus/nubus/nubus.h", MAME_DIR .. "src/devices/bus/nubus/nubus_48gc.cpp", @@ -2224,12 +3252,18 @@ if (BUSES["NUBUS"]~=null) then MAME_DIR .. "src/devices/bus/nubus/nubus_asntmc3b.h", MAME_DIR .. "src/devices/bus/nubus/nubus_image.cpp", MAME_DIR .. "src/devices/bus/nubus/nubus_image.h", - MAME_DIR .. "src/devices/bus/nubus/nubus_wsportrait.cpp", - MAME_DIR .. "src/devices/bus/nubus/nubus_wsportrait.h", + MAME_DIR .. "src/devices/bus/nubus/8lc.cpp", + MAME_DIR .. "src/devices/bus/nubus/8lc.h", MAME_DIR .. "src/devices/bus/nubus/bootbug.cpp", MAME_DIR .. "src/devices/bus/nubus/bootbug.h", MAME_DIR .. "src/devices/bus/nubus/quadralink.cpp", MAME_DIR .. "src/devices/bus/nubus/quadralink.h", + MAME_DIR .. "src/devices/bus/nubus/laserview.cpp", + MAME_DIR .. "src/devices/bus/nubus/laserview.h", + MAME_DIR .. "src/devices/bus/nubus/supermac.cpp", + MAME_DIR .. "src/devices/bus/nubus/supermac.h", + MAME_DIR .. "src/devices/bus/nubus/thunder4gx.cpp", + MAME_DIR .. "src/devices/bus/nubus/thunder4gx.h", MAME_DIR .. "src/devices/bus/nubus/pds30_cb264.cpp", MAME_DIR .. "src/devices/bus/nubus/pds30_cb264.h", MAME_DIR .. "src/devices/bus/nubus/pds30_procolor816.cpp", @@ -2238,8 +3272,6 @@ if (BUSES["NUBUS"]~=null) then MAME_DIR .. "src/devices/bus/nubus/pds30_sigmalview.h", MAME_DIR .. "src/devices/bus/nubus/pds30_30hr.cpp", MAME_DIR .. "src/devices/bus/nubus/pds30_30hr.h", - MAME_DIR .. "src/devices/bus/nubus/pds30_mc30.cpp", - MAME_DIR .. "src/devices/bus/nubus/pds30_mc30.h", } end @@ -2250,6 +3282,8 @@ end if (BUSES["CENTRONICS"]~=null) then files { + MAME_DIR .. "src/devices/bus/centronics/adaptator.cpp", + MAME_DIR .. "src/devices/bus/centronics/adaptator.h", MAME_DIR .. "src/devices/bus/centronics/ctronics.cpp", MAME_DIR .. "src/devices/bus/centronics/ctronics.h", MAME_DIR .. "src/devices/bus/centronics/chessmec.cpp", @@ -2258,31 +3292,45 @@ if (BUSES["CENTRONICS"]~=null) then MAME_DIR .. "src/devices/bus/centronics/comxpl80.h", MAME_DIR .. "src/devices/bus/centronics/covox.cpp", MAME_DIR .. "src/devices/bus/centronics/covox.h", + MAME_DIR .. "src/devices/bus/centronics/digiblst.cpp", + MAME_DIR .. "src/devices/bus/centronics/digiblst.h", MAME_DIR .. "src/devices/bus/centronics/dsjoy.cpp", MAME_DIR .. "src/devices/bus/centronics/dsjoy.h", MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp", MAME_DIR .. "src/devices/bus/centronics/epson_ex800.h", + MAME_DIR .. "src/devices/bus/centronics/epson_fx80.cpp", + MAME_DIR .. "src/devices/bus/centronics/epson_fx80.h", MAME_DIR .. "src/devices/bus/centronics/epson_lx800.cpp", MAME_DIR .. "src/devices/bus/centronics/epson_lx800.h", MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.cpp", MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.h", + MAME_DIR .. "src/devices/bus/centronics/epson_rx80.cpp", + MAME_DIR .. "src/devices/bus/centronics/epson_rx80.h", MAME_DIR .. "src/devices/bus/centronics/nec_p72.cpp", MAME_DIR .. "src/devices/bus/centronics/nec_p72.h", + MAME_DIR .. "src/devices/bus/centronics/nlq401.cpp", + MAME_DIR .. "src/devices/bus/centronics/nlq401.h", MAME_DIR .. "src/devices/bus/centronics/printer.cpp", MAME_DIR .. "src/devices/bus/centronics/printer.h", - MAME_DIR .. "src/devices/bus/centronics/digiblst.cpp", - MAME_DIR .. "src/devices/bus/centronics/digiblst.h", + MAME_DIR .. "src/devices/bus/centronics/samdac.cpp", + MAME_DIR .. "src/devices/bus/centronics/samdac.h", + MAME_DIR .. "src/devices/bus/centronics/smartboard.cpp", + MAME_DIR .. "src/devices/bus/centronics/smartboard.h", + MAME_DIR .. "src/devices/bus/centronics/spjoy.cpp", + MAME_DIR .. "src/devices/bus/centronics/spjoy.h", } dependency { { MAME_DIR .. "src/devices/bus/centronics/epson_ex800.cpp", GEN_DIR .. "emu/layout/ex800.lh" }, { MAME_DIR .. "src/devices/bus/centronics/epson_lx800.cpp", GEN_DIR .. "emu/layout/lx800.lh" }, { MAME_DIR .. "src/devices/bus/centronics/epson_lx810l.cpp", GEN_DIR .. "emu/layout/lx800.lh" }, + { MAME_DIR .. "src/devices/bus/centronics/smartboard.cpp", GEN_DIR .. "emu/layout/smartboard.lh" }, } custombuildtask { layoutbuildtask("emu/layout", "ex800"), layoutbuildtask("emu/layout", "lx800"), + layoutbuildtask("emu/layout", "smartboard"), } end @@ -2293,28 +3341,52 @@ end if (BUSES["RS232"]~=null) then files { + MAME_DIR .. "src/devices/bus/rs232/exorterm.cpp", + MAME_DIR .. "src/devices/bus/rs232/exorterm.h", + MAME_DIR .. "src/devices/bus/rs232/hlemouse.cpp", + MAME_DIR .. "src/devices/bus/rs232/hlemouse.h", + MAME_DIR .. "src/devices/bus/rs232/ie15.cpp", + MAME_DIR .. "src/devices/bus/rs232/ie15.h", MAME_DIR .. "src/devices/bus/rs232/keyboard.cpp", MAME_DIR .. "src/devices/bus/rs232/keyboard.h", MAME_DIR .. "src/devices/bus/rs232/loopback.cpp", MAME_DIR .. "src/devices/bus/rs232/loopback.h", + MAME_DIR .. "src/devices/bus/rs232/mboardd.cpp", + MAME_DIR .. "src/devices/bus/rs232/mboardd.h", + MAME_DIR .. "src/devices/bus/rs232/nss_tvinterface.cpp", + MAME_DIR .. "src/devices/bus/rs232/nss_tvinterface.h", MAME_DIR .. "src/devices/bus/rs232/null_modem.cpp", MAME_DIR .. "src/devices/bus/rs232/null_modem.h", + MAME_DIR .. "src/devices/bus/rs232/patchbox.cpp", + MAME_DIR .. "src/devices/bus/rs232/patchbox.h", MAME_DIR .. "src/devices/bus/rs232/printer.cpp", MAME_DIR .. "src/devices/bus/rs232/printer.h", - MAME_DIR .. "src/devices/bus/rs232/rs232.cpp", - MAME_DIR .. "src/devices/bus/rs232/rs232.h", MAME_DIR .. "src/devices/bus/rs232/pty.cpp", MAME_DIR .. "src/devices/bus/rs232/pty.h", - MAME_DIR .. "src/devices/bus/rs232/hlemouse.cpp", - MAME_DIR .. "src/devices/bus/rs232/hlemouse.h", + MAME_DIR .. "src/devices/bus/rs232/rs232.cpp", + MAME_DIR .. "src/devices/bus/rs232/rs232.h", + MAME_DIR .. "src/devices/bus/rs232/rs232_sync_io.cpp", + MAME_DIR .. "src/devices/bus/rs232/rs232_sync_io.h", + MAME_DIR .. "src/devices/bus/rs232/scorpion.cpp", + MAME_DIR .. "src/devices/bus/rs232/scorpion.h", MAME_DIR .. "src/devices/bus/rs232/sun_kbd.cpp", MAME_DIR .. "src/devices/bus/rs232/sun_kbd.h", + MAME_DIR .. "src/devices/bus/rs232/swtpc8212.cpp", + MAME_DIR .. "src/devices/bus/rs232/swtpc8212.h", + MAME_DIR .. "src/devices/bus/rs232/teletex800.cpp", + MAME_DIR .. "src/devices/bus/rs232/teletex800.h", MAME_DIR .. "src/devices/bus/rs232/terminal.cpp", MAME_DIR .. "src/devices/bus/rs232/terminal.h", MAME_DIR .. "src/devices/bus/rs232/xvd701.cpp", MAME_DIR .. "src/devices/bus/rs232/xvd701.h", - MAME_DIR .. "src/devices/bus/rs232/ie15.cpp", - MAME_DIR .. "src/devices/bus/rs232/ie15.h", + } + + dependency { + { MAME_DIR .. "src/devices/bus/rs232/teletex800.cpp", GEN_DIR .. "emu/layout/teletex800.lh" }, + } + + custombuildtask { + layoutbuildtask("emu/layout", "teletex800"), } end @@ -2386,6 +3458,8 @@ if (BUSES["NES"]~=null) then MAME_DIR .. "src/devices/bus/nes/ave.h", MAME_DIR .. "src/devices/bus/nes/bandai.cpp", MAME_DIR .. "src/devices/bus/nes/bandai.h", + MAME_DIR .. "src/devices/bus/nes/batlab.cpp", + MAME_DIR .. "src/devices/bus/nes/batlab.h", MAME_DIR .. "src/devices/bus/nes/benshieng.cpp", MAME_DIR .. "src/devices/bus/nes/benshieng.h", MAME_DIR .. "src/devices/bus/nes/bootleg.cpp", @@ -2410,12 +3484,12 @@ if (BUSES["NES"]~=null) then MAME_DIR .. "src/devices/bus/nes/henggedianzi.h", MAME_DIR .. "src/devices/bus/nes/hes.cpp", MAME_DIR .. "src/devices/bus/nes/hes.h", - MAME_DIR .. "src/devices/bus/nes/hosenkan.cpp", - MAME_DIR .. "src/devices/bus/nes/hosenkan.h", MAME_DIR .. "src/devices/bus/nes/irem.cpp", MAME_DIR .. "src/devices/bus/nes/irem.h", MAME_DIR .. "src/devices/bus/nes/jaleco.cpp", MAME_DIR .. "src/devices/bus/nes/jaleco.h", + MAME_DIR .. "src/devices/bus/nes/jncota.cpp", + MAME_DIR .. "src/devices/bus/nes/jncota.h", MAME_DIR .. "src/devices/bus/nes/jy.cpp", MAME_DIR .. "src/devices/bus/nes/jy.h", MAME_DIR .. "src/devices/bus/nes/kaiser.cpp", @@ -2428,6 +3502,8 @@ if (BUSES["NES"]~=null) then MAME_DIR .. "src/devices/bus/nes/legacy.h", MAME_DIR .. "src/devices/bus/nes/mmc1.cpp", MAME_DIR .. "src/devices/bus/nes/mmc1.h", + MAME_DIR .. "src/devices/bus/nes/mmc1_clones.cpp", + MAME_DIR .. "src/devices/bus/nes/mmc1_clones.h", MAME_DIR .. "src/devices/bus/nes/mmc2.cpp", MAME_DIR .. "src/devices/bus/nes/mmc2.h", MAME_DIR .. "src/devices/bus/nes/mmc3.cpp", @@ -2458,6 +3534,8 @@ if (BUSES["NES"]~=null) then MAME_DIR .. "src/devices/bus/nes/rexsoft.h", MAME_DIR .. "src/devices/bus/nes/sachen.cpp", MAME_DIR .. "src/devices/bus/nes/sachen.h", + MAME_DIR .. "src/devices/bus/nes/sealie.cpp", + MAME_DIR .. "src/devices/bus/nes/sealie.h", MAME_DIR .. "src/devices/bus/nes/somari.cpp", MAME_DIR .. "src/devices/bus/nes/somari.h", MAME_DIR .. "src/devices/bus/nes/subor.cpp", @@ -2472,6 +3550,8 @@ if (BUSES["NES"]~=null) then MAME_DIR .. "src/devices/bus/nes/tengen.h", MAME_DIR .. "src/devices/bus/nes/txc.cpp", MAME_DIR .. "src/devices/bus/nes/txc.h", + MAME_DIR .. "src/devices/bus/nes/vrc_clones.cpp", + MAME_DIR .. "src/devices/bus/nes/vrc_clones.h", MAME_DIR .. "src/devices/bus/nes/waixing.cpp", MAME_DIR .. "src/devices/bus/nes/waixing.h", MAME_DIR .. "src/devices/bus/nes/zemina.cpp", @@ -2482,6 +3562,7 @@ end --------------------------------------------------- -- --@src/devices/bus/nes_ctrl/ctrl.h,BUSES["NES_CTRL"] = true +--@src/devices/bus/nes_ctrl/zapper_sensor.h,BUSES["NES_CTRL"] = true --------------------------------------------------- if (BUSES["NES_CTRL"]~=null) then @@ -2494,14 +3575,20 @@ if (BUSES["NES_CTRL"]~=null) then MAME_DIR .. "src/devices/bus/nes_ctrl/4score.h", MAME_DIR .. "src/devices/bus/nes_ctrl/arkpaddle.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/arkpaddle.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/bandaihs.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/bandaihs.h", MAME_DIR .. "src/devices/bus/nes_ctrl/bcbattle.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/bcbattle.h", - MAME_DIR .. "src/devices/bus/nes_ctrl/ftrainer.cpp", - MAME_DIR .. "src/devices/bus/nes_ctrl/ftrainer.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/dorepiano.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/dorepiano.h", MAME_DIR .. "src/devices/bus/nes_ctrl/fckeybrd.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/fckeybrd.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/fcmat.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/fcmat.h", MAME_DIR .. "src/devices/bus/nes_ctrl/hori.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/hori.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/konamibag.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/konamibag.h", MAME_DIR .. "src/devices/bus/nes_ctrl/konamihs.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/konamihs.h", MAME_DIR .. "src/devices/bus/nes_ctrl/miracle.cpp", @@ -2514,10 +3601,42 @@ if (BUSES["NES_CTRL"]~=null) then MAME_DIR .. "src/devices/bus/nes_ctrl/partytap.h", MAME_DIR .. "src/devices/bus/nes_ctrl/powerpad.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/powerpad.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/rob.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/rob.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/sharpcass.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/sharpcass.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/snesadapter.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/snesadapter.h", MAME_DIR .. "src/devices/bus/nes_ctrl/suborkey.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/suborkey.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/turbofile.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/turbofile.h", MAME_DIR .. "src/devices/bus/nes_ctrl/zapper.cpp", MAME_DIR .. "src/devices/bus/nes_ctrl/zapper.h", + MAME_DIR .. "src/devices/bus/nes_ctrl/zapper_sensor.cpp", + MAME_DIR .. "src/devices/bus/nes_ctrl/zapper_sensor.h", + } + + dependency { + { MAME_DIR .. "src/devices/bus/nes_ctrl/rob.cpp", GEN_DIR .. "emu/layout/nes_rob.lh" }, + } + + custombuildtask { + layoutbuildtask("emu/layout", "nes_rob"), + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/sdk85/memexp.h,BUSES["SDK85"] = true +--------------------------------------------------- + +if (BUSES["SDK85"]~=null) then + files { + MAME_DIR .. "src/devices/bus/sdk85/memexp.cpp", + MAME_DIR .. "src/devices/bus/sdk85/memexp.h", + MAME_DIR .. "src/devices/bus/sdk85/i8755.cpp", + MAME_DIR .. "src/devices/bus/sdk85/i8755.h", } end @@ -2536,6 +3655,8 @@ if (BUSES["SNES"]~=null) then MAME_DIR .. "src/devices/bus/snes/bsx.h", MAME_DIR .. "src/devices/bus/snes/event.cpp", MAME_DIR .. "src/devices/bus/snes/event.h", + MAME_DIR .. "src/devices/bus/snes/profighter.cpp", + MAME_DIR .. "src/devices/bus/snes/profighter.h", MAME_DIR .. "src/devices/bus/snes/rom.cpp", MAME_DIR .. "src/devices/bus/snes/rom.h", MAME_DIR .. "src/devices/bus/snes/rom21.cpp", @@ -2550,6 +3671,8 @@ if (BUSES["SNES"]~=null) then MAME_DIR .. "src/devices/bus/snes/sgb.h", MAME_DIR .. "src/devices/bus/snes/spc7110.cpp", MAME_DIR .. "src/devices/bus/snes/spc7110.h", + MAME_DIR .. "src/devices/bus/snes/st018.cpp", + MAME_DIR .. "src/devices/bus/snes/st018.h", MAME_DIR .. "src/devices/bus/snes/sufami.cpp", MAME_DIR .. "src/devices/bus/snes/sufami.h", MAME_DIR .. "src/devices/bus/snes/upd.cpp", @@ -2628,6 +3751,23 @@ end --------------------------------------------------- -- +--@src/devices/bus/mononcol/slot.h,BUSES["MONONCOL"] = true +--------------------------------------------------- + +if (BUSES["MONONCOL"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mononcol/slot.cpp", + MAME_DIR .. "src/devices/bus/mononcol/slot.h", + MAME_DIR .. "src/devices/bus/mononcol/carts.cpp", + MAME_DIR .. "src/devices/bus/mononcol/carts.h", + MAME_DIR .. "src/devices/bus/mononcol/rom.cpp", + MAME_DIR .. "src/devices/bus/mononcol/rom.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/neogeo/slot.h,BUSES["NEOGEO"] = true --------------------------------------------------- @@ -2790,16 +3930,18 @@ end if (BUSES["SG1000_EXP"]~=null) then files { - MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.cpp", - MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.h", MAME_DIR .. "src/devices/bus/sg1000_exp/fm_unit.cpp", MAME_DIR .. "src/devices/bus/sg1000_exp/fm_unit.h", + MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.cpp", + MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.h", + MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.cpp", + MAME_DIR .. "src/devices/bus/sg1000_exp/sg1000exp.h", MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100.cpp", MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100.h", MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100prn.cpp", MAME_DIR .. "src/devices/bus/sg1000_exp/sk1100prn.h", - MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.cpp", - MAME_DIR .. "src/devices/bus/sg1000_exp/kblink.h", + MAME_DIR .. "src/devices/bus/sg1000_exp/sp400.cpp", + MAME_DIR .. "src/devices/bus/sg1000_exp/sp400.h", } end @@ -2810,24 +3952,42 @@ end if (BUSES["SMS_CTRL"]~=null) then files { - MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.cpp", - MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/controllers.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/controllers.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/diypaddle.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/diypaddle.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/hypershot.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/hypershot.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.h", MAME_DIR .. "src/devices/bus/sms_ctrl/joypad.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/joypad.h", MAME_DIR .. "src/devices/bus/sms_ctrl/lphaser.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/lphaser.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/md6bt.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/md6bt.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/mdpad.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/mdpad.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/mouse.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/mouse.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.h", MAME_DIR .. "src/devices/bus/sms_ctrl/paddle.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/paddle.h", MAME_DIR .. "src/devices/bus/sms_ctrl/rfu.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/rfu.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/rs232adapt.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/rs232adapt.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/smsctrl.h", MAME_DIR .. "src/devices/bus/sms_ctrl/sports.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/sports.h", MAME_DIR .. "src/devices/bus/sms_ctrl/sportsjp.cpp", MAME_DIR .. "src/devices/bus/sms_ctrl/sportsjp.h", - MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.cpp", - MAME_DIR .. "src/devices/bus/sms_ctrl/multitap.h", - MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.cpp", - MAME_DIR .. "src/devices/bus/sms_ctrl/graphic.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/teamplayer.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/teamplayer.h", + MAME_DIR .. "src/devices/bus/sms_ctrl/xe1ap.cpp", + MAME_DIR .. "src/devices/bus/sms_ctrl/xe1ap.h", } end @@ -2852,8 +4012,20 @@ end if (BUSES["TANBUS"]~=null) then files { + MAME_DIR .. "src/devices/bus/tanbus/keyboard/keyboard.cpp", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/keyboard.h", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/mt006.cpp", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/mt006.h", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/mt009.cpp", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/mt009.h", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/spinveti.cpp", + MAME_DIR .. "src/devices/bus/tanbus/keyboard/spinveti.h", MAME_DIR .. "src/devices/bus/tanbus/bullsnd.cpp", MAME_DIR .. "src/devices/bus/tanbus/bullsnd.h", + MAME_DIR .. "src/devices/bus/tanbus/etirtc.cpp", + MAME_DIR .. "src/devices/bus/tanbus/etirtc.h", + MAME_DIR .. "src/devices/bus/tanbus/etisnd.cpp", + MAME_DIR .. "src/devices/bus/tanbus/etisnd.h", MAME_DIR .. "src/devices/bus/tanbus/tanbus.cpp", MAME_DIR .. "src/devices/bus/tanbus/tanbus.h", MAME_DIR .. "src/devices/bus/tanbus/tanex.cpp", @@ -2864,6 +4036,8 @@ if (BUSES["TANBUS"]~=null) then MAME_DIR .. "src/devices/bus/tanbus/tanhrg.h", MAME_DIR .. "src/devices/bus/tanbus/tanram.cpp", MAME_DIR .. "src/devices/bus/tanbus/tanram.h", + MAME_DIR .. "src/devices/bus/tanbus/tanrtc.cpp", + MAME_DIR .. "src/devices/bus/tanbus/tanrtc.h", MAME_DIR .. "src/devices/bus/tanbus/mpvdu.cpp", MAME_DIR .. "src/devices/bus/tanbus/mpvdu.h", MAME_DIR .. "src/devices/bus/tanbus/ra32k.cpp", @@ -2876,6 +4050,8 @@ if (BUSES["TANBUS"]~=null) then MAME_DIR .. "src/devices/bus/tanbus/tug64k.h", MAME_DIR .. "src/devices/bus/tanbus/tug8082.cpp", MAME_DIR .. "src/devices/bus/tanbus/tug8082.h", + MAME_DIR .. "src/devices/bus/tanbus/tugcombo.cpp", + MAME_DIR .. "src/devices/bus/tanbus/tugcombo.h", MAME_DIR .. "src/devices/bus/tanbus/tugpgm.cpp", MAME_DIR .. "src/devices/bus/tanbus/tugpgm.h", } @@ -2930,11 +4106,12 @@ end if (BUSES["TI99"]~=null) then files { - MAME_DIR .. "src/devices/bus/ti99/ti99defs.h", MAME_DIR .. "src/devices/bus/ti99/internal/992board.cpp", MAME_DIR .. "src/devices/bus/ti99/internal/992board.h", MAME_DIR .. "src/devices/bus/ti99/internal/998board.cpp", MAME_DIR .. "src/devices/bus/ti99/internal/998board.h", + MAME_DIR .. "src/devices/bus/ti99/internal/buffram.cpp", + MAME_DIR .. "src/devices/bus/ti99/internal/buffram.h", MAME_DIR .. "src/devices/bus/ti99/internal/datamux.cpp", MAME_DIR .. "src/devices/bus/ti99/internal/datamux.h", MAME_DIR .. "src/devices/bus/ti99/internal/evpcconn.cpp", @@ -2945,6 +4122,8 @@ if (BUSES["TI99"]~=null) then MAME_DIR .. "src/devices/bus/ti99/internal/genkbd.h", MAME_DIR .. "src/devices/bus/ti99/internal/ioport.cpp", MAME_DIR .. "src/devices/bus/ti99/internal/ioport.h", + MAME_DIR .. "src/devices/bus/ti99/internal/splitter.cpp", + MAME_DIR .. "src/devices/bus/ti99/internal/splitter.h", MAME_DIR .. "src/devices/bus/ti99/colorbus/busmouse.cpp", MAME_DIR .. "src/devices/bus/ti99/colorbus/busmouse.h", MAME_DIR .. "src/devices/bus/ti99/colorbus/colorbus.cpp", @@ -2969,8 +4148,14 @@ if (BUSES["TI99"]~=null) then MAME_DIR .. "src/devices/bus/ti99/peb/peribox.h", MAME_DIR .. "src/devices/bus/ti99/peb/bwg.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/bwg.h", + MAME_DIR .. "src/devices/bus/ti99/peb/cc_fdc.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/cc_fdc.h", + MAME_DIR .. "src/devices/bus/ti99/peb/myarcfdc.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/myarcfdc.h", MAME_DIR .. "src/devices/bus/ti99/peb/evpc.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/evpc.h", + MAME_DIR .. "src/devices/bus/ti99/peb/forti.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/forti.h", MAME_DIR .. "src/devices/bus/ti99/peb/hfdc.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/hfdc.h", MAME_DIR .. "src/devices/bus/ti99/peb/horizon.cpp", @@ -2983,50 +4168,86 @@ if (BUSES["TI99"]~=null) then MAME_DIR .. "src/devices/bus/ti99/peb/myarcmem.h", MAME_DIR .. "src/devices/bus/ti99/peb/pcode.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/pcode.h", + MAME_DIR .. "src/devices/bus/ti99/peb/pgram.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/pgram.h", MAME_DIR .. "src/devices/bus/ti99/peb/samsmem.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/samsmem.h", - MAME_DIR .. "src/devices/bus/ti99/peb/spchsyn.cpp", - MAME_DIR .. "src/devices/bus/ti99/peb/spchsyn.h", + MAME_DIR .. "src/devices/bus/ti99/peb/scsicard.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/scsicard.h", + MAME_DIR .. "src/devices/bus/ti99/peb/sidmaster.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/sidmaster.h", + MAME_DIR .. "src/devices/bus/ti99/peb/speechadapter.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/speechadapter.h", MAME_DIR .. "src/devices/bus/ti99/peb/ti_32kmem.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/ti_32kmem.h", MAME_DIR .. "src/devices/bus/ti99/peb/ti_fdc.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/ti_fdc.h", MAME_DIR .. "src/devices/bus/ti99/peb/ti_rs232.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/ti_rs232.h", + MAME_DIR .. "src/devices/bus/ti99/peb/tipi.cpp", + MAME_DIR .. "src/devices/bus/ti99/peb/tipi.h", MAME_DIR .. "src/devices/bus/ti99/peb/tn_ide.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/tn_ide.h", MAME_DIR .. "src/devices/bus/ti99/peb/tn_usbsm.cpp", MAME_DIR .. "src/devices/bus/ti99/peb/tn_usbsm.h", + MAME_DIR .. "src/devices/bus/ti99/sidecar/arcturus.cpp", + MAME_DIR .. "src/devices/bus/ti99/sidecar/arcturus.h", + MAME_DIR .. "src/devices/bus/ti99/sidecar/speechsyn.cpp", + MAME_DIR .. "src/devices/bus/ti99/sidecar/speechsyn.h", } end --------------------------------------------------- -- ---@src/devices/bus/gameboy/gb_slot.h,BUSES["GAMEBOY"] = true +--@src/devices/bus/gameboy/slot.h,BUSES["GAMEBOY"] = true --------------------------------------------------- if (BUSES["GAMEBOY"]~=null) then files { - MAME_DIR .. "src/devices/bus/gameboy/gb_slot.cpp", - MAME_DIR .. "src/devices/bus/gameboy/gb_slot.h", - MAME_DIR .. "src/devices/bus/gameboy/rom.cpp", - MAME_DIR .. "src/devices/bus/gameboy/rom.h", + MAME_DIR .. "src/devices/bus/gameboy/camera.cpp", + MAME_DIR .. "src/devices/bus/gameboy/camera.h", + MAME_DIR .. "src/devices/bus/gameboy/cartbase.cpp", + MAME_DIR .. "src/devices/bus/gameboy/cartbase.h", + MAME_DIR .. "src/devices/bus/gameboy/cartbase.ipp", + MAME_DIR .. "src/devices/bus/gameboy/cartheader.h", + MAME_DIR .. "src/devices/bus/gameboy/carts.cpp", + MAME_DIR .. "src/devices/bus/gameboy/carts.h", + MAME_DIR .. "src/devices/bus/gameboy/gbck003.cpp", + MAME_DIR .. "src/devices/bus/gameboy/gbck003.h", + MAME_DIR .. "src/devices/bus/gameboy/gbslot.cpp", + MAME_DIR .. "src/devices/bus/gameboy/gbslot.h", + MAME_DIR .. "src/devices/bus/gameboy/gbxfile.cpp", + MAME_DIR .. "src/devices/bus/gameboy/gbxfile.h", + MAME_DIR .. "src/devices/bus/gameboy/huc1.cpp", + MAME_DIR .. "src/devices/bus/gameboy/huc1.h", + MAME_DIR .. "src/devices/bus/gameboy/huc3.cpp", + MAME_DIR .. "src/devices/bus/gameboy/huc3.h", + MAME_DIR .. "src/devices/bus/gameboy/liebao.cpp", + MAME_DIR .. "src/devices/bus/gameboy/liebao.h", MAME_DIR .. "src/devices/bus/gameboy/mbc.cpp", MAME_DIR .. "src/devices/bus/gameboy/mbc.h", - } -end - ---------------------------------------------------- --- ---@src/devices/bus/gamegear/ggext.h,BUSES["GAMEGEAR"] = true ---------------------------------------------------- - -if (BUSES["GAMEGEAR"]~=null) then - files { - MAME_DIR .. "src/devices/bus/gamegear/ggext.cpp", - MAME_DIR .. "src/devices/bus/gamegear/ggext.h", - MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.cpp", - MAME_DIR .. "src/devices/bus/gamegear/smsctrladp.h", + MAME_DIR .. "src/devices/bus/gameboy/mbc2.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mbc2.h", + MAME_DIR .. "src/devices/bus/gameboy/mbc3.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mbc3.h", + MAME_DIR .. "src/devices/bus/gameboy/mbc6.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mbc6.h", + MAME_DIR .. "src/devices/bus/gameboy/mbc7.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mbc7.h", + MAME_DIR .. "src/devices/bus/gameboy/mdslot.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mdslot.h", + MAME_DIR .. "src/devices/bus/gameboy/mmm01.cpp", + MAME_DIR .. "src/devices/bus/gameboy/mmm01.h", + MAME_DIR .. "src/devices/bus/gameboy/ntnew.cpp", + MAME_DIR .. "src/devices/bus/gameboy/ntnew.h", + MAME_DIR .. "src/devices/bus/gameboy/rom.cpp", + MAME_DIR .. "src/devices/bus/gameboy/rom.h", + MAME_DIR .. "src/devices/bus/gameboy/slmulti.cpp", + MAME_DIR .. "src/devices/bus/gameboy/slmulti.h", + MAME_DIR .. "src/devices/bus/gameboy/slot.cpp", + MAME_DIR .. "src/devices/bus/gameboy/slot.h", + MAME_DIR .. "src/devices/bus/gameboy/tama5.cpp", + MAME_DIR .. "src/devices/bus/gameboy/tama5.h", } end @@ -3052,12 +4273,14 @@ if (BUSES["BML3"]~=null) then files { MAME_DIR .. "src/devices/bus/bml3/bml3bus.cpp", MAME_DIR .. "src/devices/bus/bml3/bml3bus.h", - MAME_DIR .. "src/devices/bus/bml3/bml3mp1802.cpp", - MAME_DIR .. "src/devices/bus/bml3/bml3mp1802.h", - MAME_DIR .. "src/devices/bus/bml3/bml3mp1805.cpp", - MAME_DIR .. "src/devices/bus/bml3/bml3mp1805.h", - MAME_DIR .. "src/devices/bus/bml3/bml3kanji.cpp", - MAME_DIR .. "src/devices/bus/bml3/bml3kanji.h", + MAME_DIR .. "src/devices/bus/bml3/mp1802.cpp", + MAME_DIR .. "src/devices/bus/bml3/mp1802.h", + MAME_DIR .. "src/devices/bus/bml3/mp1805.cpp", + MAME_DIR .. "src/devices/bus/bml3/mp1805.h", + MAME_DIR .. "src/devices/bus/bml3/kanji.cpp", + MAME_DIR .. "src/devices/bus/bml3/kanji.h", + MAME_DIR .. "src/devices/bus/bml3/rtc.cpp", + MAME_DIR .. "src/devices/bus/bml3/rtc.h", } end @@ -3067,38 +4290,66 @@ end --------------------------------------------------- if (BUSES["COCO"]~=null) then files { - MAME_DIR .. "src/devices/bus/coco/cococart.cpp", - MAME_DIR .. "src/devices/bus/coco/cococart.h", - MAME_DIR .. "src/devices/bus/coco/coco_rs232.cpp", - MAME_DIR .. "src/devices/bus/coco/coco_rs232.h", MAME_DIR .. "src/devices/bus/coco/coco_dcmodem.cpp", MAME_DIR .. "src/devices/bus/coco/coco_dcmodem.h", - MAME_DIR .. "src/devices/bus/coco/coco_orch90.cpp", - MAME_DIR .. "src/devices/bus/coco/coco_orch90.h", - MAME_DIR .. "src/devices/bus/coco/coco_ssc.cpp", - MAME_DIR .. "src/devices/bus/coco/coco_ssc.h", - MAME_DIR .. "src/devices/bus/coco/coco_pak.cpp", - MAME_DIR .. "src/devices/bus/coco/coco_pak.h", + MAME_DIR .. "src/devices/bus/coco/coco_dwsock.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_dwsock.h", MAME_DIR .. "src/devices/bus/coco/coco_fdc.cpp", MAME_DIR .. "src/devices/bus/coco/coco_fdc.h", MAME_DIR .. "src/devices/bus/coco/coco_gmc.cpp", MAME_DIR .. "src/devices/bus/coco/coco_gmc.h", + MAME_DIR .. "src/devices/bus/coco/coco_ide.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_ide.h", + MAME_DIR .. "src/devices/bus/coco/coco_max.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_max.h", + MAME_DIR .. "src/devices/bus/coco/coco_midi.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_midi.h", MAME_DIR .. "src/devices/bus/coco/coco_multi.cpp", MAME_DIR .. "src/devices/bus/coco/coco_multi.h", - MAME_DIR .. "src/devices/bus/coco/coco_dwsock.cpp", - MAME_DIR .. "src/devices/bus/coco/coco_dwsock.h", + MAME_DIR .. "src/devices/bus/coco/coco_orch90.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_orch90.h", + MAME_DIR .. "src/devices/bus/coco/coco_pak.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_pak.h", + MAME_DIR .. "src/devices/bus/coco/coco_psg.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_psg.h", + MAME_DIR .. "src/devices/bus/coco/coco_ram.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_ram.h", + MAME_DIR .. "src/devices/bus/coco/coco_rs232.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_rs232.h", + MAME_DIR .. "src/devices/bus/coco/coco_ssc.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_ssc.h", + MAME_DIR .. "src/devices/bus/coco/coco_stecomp.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_stecomp.h", + MAME_DIR .. "src/devices/bus/coco/coco_sym12.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_sym12.h", MAME_DIR .. "src/devices/bus/coco/coco_t4426.cpp", MAME_DIR .. "src/devices/bus/coco/coco_t4426.h", + MAME_DIR .. "src/devices/bus/coco/coco_wpk.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_wpk.h", + MAME_DIR .. "src/devices/bus/coco/coco_wpk2p.cpp", + MAME_DIR .. "src/devices/bus/coco/coco_wpk2p.h", + MAME_DIR .. "src/devices/bus/coco/cococart.cpp", + MAME_DIR .. "src/devices/bus/coco/cococart.h", MAME_DIR .. "src/devices/bus/coco/dragon_amtor.cpp", MAME_DIR .. "src/devices/bus/coco/dragon_amtor.h", + MAME_DIR .. "src/devices/bus/coco/dragon_claw.cpp", + MAME_DIR .. "src/devices/bus/coco/dragon_claw.h", MAME_DIR .. "src/devices/bus/coco/dragon_fdc.cpp", MAME_DIR .. "src/devices/bus/coco/dragon_fdc.h", MAME_DIR .. "src/devices/bus/coco/dragon_jcbsnd.cpp", MAME_DIR .. "src/devices/bus/coco/dragon_jcbsnd.h", MAME_DIR .. "src/devices/bus/coco/dragon_jcbspch.cpp", MAME_DIR .. "src/devices/bus/coco/dragon_jcbspch.h", + MAME_DIR .. "src/devices/bus/coco/dragon_msx2.cpp", + MAME_DIR .. "src/devices/bus/coco/dragon_msx2.h", + MAME_DIR .. "src/devices/bus/coco/dragon_serial.cpp", + MAME_DIR .. "src/devices/bus/coco/dragon_serial.h", MAME_DIR .. "src/devices/bus/coco/dragon_sprites.cpp", MAME_DIR .. "src/devices/bus/coco/dragon_sprites.h", + MAME_DIR .. "src/devices/bus/coco/meb_intrf.cpp", + MAME_DIR .. "src/devices/bus/coco/meb_intrf.h", + MAME_DIR .. "src/devices/bus/coco/meb_rtime.cpp", + MAME_DIR .. "src/devices/bus/coco/meb_rtime.h", } end @@ -3162,6 +4413,50 @@ end --------------------------------------------------- -- +--@src/devices/bus/epson_qx/option.h,BUSES["EPSON_QX"] = true +--------------------------------------------------- +if (BUSES["EPSON_QX"]~=null) then + files { + MAME_DIR .. "src/devices/bus/epson_qx/cqgmem.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/cqgmem.h", + MAME_DIR .. "src/devices/bus/epson_qx/cr1510.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/cr1510.h", + MAME_DIR .. "src/devices/bus/epson_qx/ide.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/ide.h", + MAME_DIR .. "src/devices/bus/epson_qx/multifont.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/multifont.h", + MAME_DIR .. "src/devices/bus/epson_qx/option.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/option.h", + MAME_DIR .. "src/devices/bus/epson_qx/sound_card.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/sound_card.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/epson_qx/keyboard/keyboard.h,BUSES["EPSON_QX_KEYBOARD"] = true +--------------------------------------------------- + +if (BUSES["EPSON_QX_KEYBOARD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/epson_qx/keyboard/keyboard.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/keyboard/keyboard.h", + MAME_DIR .. "src/devices/bus/epson_qx/keyboard/matrix.cpp", + MAME_DIR .. "src/devices/bus/epson_qx/keyboard/matrix.h", + } + dependency { + { MAME_DIR .. "src/devices/bus/epson_qx/keyboard/keyboard.cpp", GEN_DIR .. "emu/layout/qx10ascii.lh" }, + { MAME_DIR .. "src/devices/bus/epson_qx/keyboard/keyboard.cpp", GEN_DIR .. "emu/layout/qx10hasci.lh" }, + } + + custombuildtask { + layoutbuildtask("emu/layout", "qx10ascii"), + layoutbuildtask("emu/layout", "qx10hasci"), + } +end + +--------------------------------------------------- +-- --@src/devices/bus/pce/pce_slot.h,BUSES["PCE"] = true --------------------------------------------------- if (BUSES["PCE"]~=null) then @@ -3170,6 +4465,34 @@ if (BUSES["PCE"]~=null) then MAME_DIR .. "src/devices/bus/pce/pce_slot.h", MAME_DIR .. "src/devices/bus/pce/pce_rom.cpp", MAME_DIR .. "src/devices/bus/pce/pce_rom.h", + MAME_DIR .. "src/devices/bus/pce/pce_scdsys.cpp", + MAME_DIR .. "src/devices/bus/pce/pce_scdsys.h", + MAME_DIR .. "src/devices/bus/pce/pce_acard.cpp", + MAME_DIR .. "src/devices/bus/pce/pce_acard.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/pce_ctrl/pcectrl.h,BUSES["PCE_CTRL"] = true +--------------------------------------------------- + +if (BUSES["PCE_CTRL"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pce_ctrl/pcectrl.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/pcectrl.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/joypad2.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/joypad2.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/joypad6.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/joypad6.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/mouse.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/mouse.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/multitap.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/multitap.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/pachinko.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/pachinko.h", + MAME_DIR .. "src/devices/bus/pce_ctrl/xhe3.cpp", + MAME_DIR .. "src/devices/bus/pce_ctrl/xhe3.h", } end @@ -3217,6 +4540,8 @@ if (BUSES["ABCKB"]~=null) then MAME_DIR .. "src/devices/bus/abckb/abc99.h", MAME_DIR .. "src/devices/bus/abckb/abc800kb.cpp", MAME_DIR .. "src/devices/bus/abckb/abc800kb.h", + MAME_DIR .. "src/devices/bus/abckb/r8.cpp", + MAME_DIR .. "src/devices/bus/abckb/r8.h", } end @@ -3266,6 +4591,22 @@ end --------------------------------------------------- -- +--@src/devices/bus/mackbd/mackbd.h,BUSES["MACKBD"] = true +--------------------------------------------------- + +if (BUSES["MACKBD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mackbd/keyboard.cpp", + MAME_DIR .. "src/devices/bus/mackbd/keyboard.h", + MAME_DIR .. "src/devices/bus/mackbd/mackbd.cpp", + MAME_DIR .. "src/devices/bus/mackbd/mackbd.h", + MAME_DIR .. "src/devices/bus/mackbd/pluskbd.cpp", + MAME_DIR .. "src/devices/bus/mackbd/pluskbd.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/macpds/macpds.h,BUSES["MACPDS"] = true --------------------------------------------------- if (BUSES["MACPDS"]~=null) then @@ -3312,6 +4653,24 @@ end --------------------------------------------------- -- +--@src/devices/bus/kim1/kim1bus.h,BUSES["KIM1BUS"] = true +--------------------------------------------------- + +if (BUSES["KIM1BUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/kim1/cards.cpp", + MAME_DIR .. "src/devices/bus/kim1/cards.h", + MAME_DIR .. "src/devices/bus/kim1/kim1bus.cpp", + MAME_DIR .. "src/devices/bus/kim1/kim1bus.h", + MAME_DIR .. "src/devices/bus/kim1/k1008_vismem.cpp", + MAME_DIR .. "src/devices/bus/kim1/k1008_vismem.h", + MAME_DIR .. "src/devices/bus/kim1/k1016_16k.cpp", + MAME_DIR .. "src/devices/bus/kim1/k1016_16k.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/amiga/keyboard/keyboard.h,BUSES["AMIGA_KEYBOARD"] = true --------------------------------------------------- @@ -3347,28 +4706,24 @@ if (BUSES["ZORRO"]~=null) then MAME_DIR .. "src/devices/bus/amiga/zorro/a2058.h", MAME_DIR .. "src/devices/bus/amiga/zorro/a2065.cpp", MAME_DIR .. "src/devices/bus/amiga/zorro/a2065.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/a2091.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/a2091.h", MAME_DIR .. "src/devices/bus/amiga/zorro/a2232.cpp", MAME_DIR .. "src/devices/bus/amiga/zorro/a2232.h", - MAME_DIR .. "src/devices/bus/amiga/zorro/a590.cpp", - MAME_DIR .. "src/devices/bus/amiga/zorro/a590.h", - MAME_DIR .. "src/devices/bus/amiga/zorro/action_replay.cpp", - MAME_DIR .. "src/devices/bus/amiga/zorro/action_replay.h", MAME_DIR .. "src/devices/bus/amiga/zorro/buddha.cpp", MAME_DIR .. "src/devices/bus/amiga/zorro/buddha.h", - } -end - ---------------------------------------------------- --- ---@src/devices/bus/sgikbd/sgikbd.h,BUSES["SGIKBD"] = true ---------------------------------------------------- - -if (BUSES["SGIKBD"]~=null) then - files { - MAME_DIR .. "src/devices/bus/sgikbd/hlekbd.cpp", - MAME_DIR .. "src/devices/bus/sgikbd/hlekbd.h", - MAME_DIR .. "src/devices/bus/sgikbd/sgikbd.cpp", - MAME_DIR .. "src/devices/bus/sgikbd/sgikbd.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/merlin.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/merlin.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/oktagon2008.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/oktagon2008.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/picasso2.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/picasso2.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/rainbow2.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/rainbow2.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/ripple.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/ripple.h", + MAME_DIR .. "src/devices/bus/amiga/zorro/toccata.cpp", + MAME_DIR .. "src/devices/bus/amiga/zorro/toccata.h", } end @@ -3426,6 +4781,36 @@ end --------------------------------------------------- -- +--@src/devices/bus/qbus/qbus.h,BUSES["QBUS"] = true +--------------------------------------------------- + +if (BUSES["QBUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/qbus/bk_kmd.cpp", + MAME_DIR .. "src/devices/bus/qbus/bk_kmd.h", + MAME_DIR .. "src/devices/bus/qbus/dsd4432.cpp", + MAME_DIR .. "src/devices/bus/qbus/dsd4432.h", + MAME_DIR .. "src/devices/bus/qbus/dvk_kgd.cpp", + MAME_DIR .. "src/devices/bus/qbus/dvk_kgd.h", + MAME_DIR .. "src/devices/bus/qbus/dvk_mx.cpp", + MAME_DIR .. "src/devices/bus/qbus/dvk_mx.h", + MAME_DIR .. "src/devices/bus/qbus/pc11.cpp", + MAME_DIR .. "src/devices/bus/qbus/pc11.h", + MAME_DIR .. "src/devices/bus/qbus/qbus.cpp", + MAME_DIR .. "src/devices/bus/qbus/qbus.h", + MAME_DIR .. "src/devices/bus/qbus/qg640.cpp", + MAME_DIR .. "src/devices/bus/qbus/qg640.h", + MAME_DIR .. "src/devices/bus/qbus/qtx.cpp", + MAME_DIR .. "src/devices/bus/qbus/qtx.h", + MAME_DIR .. "src/devices/bus/qbus/tdl12.cpp", + MAME_DIR .. "src/devices/bus/qbus/tdl12.h", + MAME_DIR .. "src/devices/bus/qbus/uknc_kmd.cpp", + MAME_DIR .. "src/devices/bus/qbus/uknc_kmd.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/ql/exp.h,BUSES["QL"] = true --------------------------------------------------- @@ -3479,34 +4864,60 @@ if (BUSES["SPECTRUM"]~=null) then MAME_DIR .. "src/devices/bus/spectrum/beta.h", MAME_DIR .. "src/devices/bus/spectrum/beta128.cpp", MAME_DIR .. "src/devices/bus/spectrum/beta128.h", + MAME_DIR .. "src/devices/bus/spectrum/d40.cpp", + MAME_DIR .. "src/devices/bus/spectrum/d40.h", MAME_DIR .. "src/devices/bus/spectrum/intf1.cpp", MAME_DIR .. "src/devices/bus/spectrum/intf1.h", MAME_DIR .. "src/devices/bus/spectrum/intf2.cpp", MAME_DIR .. "src/devices/bus/spectrum/intf2.h", + MAME_DIR .. "src/devices/bus/spectrum/floppyone.cpp", + MAME_DIR .. "src/devices/bus/spectrum/floppyone.h", MAME_DIR .. "src/devices/bus/spectrum/fuller.cpp", MAME_DIR .. "src/devices/bus/spectrum/fuller.h", MAME_DIR .. "src/devices/bus/spectrum/kempjoy.cpp", MAME_DIR .. "src/devices/bus/spectrum/kempjoy.h", + MAME_DIR .. "src/devices/bus/spectrum/kempdisc.cpp", + MAME_DIR .. "src/devices/bus/spectrum/kempdisc.h", + MAME_DIR .. "src/devices/bus/spectrum/logitek.cpp", + MAME_DIR .. "src/devices/bus/spectrum/logitek.h", + MAME_DIR .. "src/devices/bus/spectrum/lprint.cpp", + MAME_DIR .. "src/devices/bus/spectrum/lprint.h", MAME_DIR .. "src/devices/bus/spectrum/melodik.cpp", MAME_DIR .. "src/devices/bus/spectrum/melodik.h", MAME_DIR .. "src/devices/bus/spectrum/mface.cpp", MAME_DIR .. "src/devices/bus/spectrum/mface.h", + MAME_DIR .. "src/devices/bus/spectrum/mgt.cpp", + MAME_DIR .. "src/devices/bus/spectrum/mgt.h", MAME_DIR .. "src/devices/bus/spectrum/mikroplus.cpp", MAME_DIR .. "src/devices/bus/spectrum/mikroplus.h", + MAME_DIR .. "src/devices/bus/spectrum/mpoker.cpp", + MAME_DIR .. "src/devices/bus/spectrum/mpoker.h", + MAME_DIR .. "src/devices/bus/spectrum/musicmachine.cpp", + MAME_DIR .. "src/devices/bus/spectrum/musicmachine.h", MAME_DIR .. "src/devices/bus/spectrum/opus.cpp", MAME_DIR .. "src/devices/bus/spectrum/opus.h", MAME_DIR .. "src/devices/bus/spectrum/plus2test.cpp", MAME_DIR .. "src/devices/bus/spectrum/plus2test.h", MAME_DIR .. "src/devices/bus/spectrum/protek.cpp", MAME_DIR .. "src/devices/bus/spectrum/protek.h", + MAME_DIR .. "src/devices/bus/spectrum/sdi.cpp", + MAME_DIR .. "src/devices/bus/spectrum/sdi.h", + MAME_DIR .. "src/devices/bus/spectrum/sixword.cpp", + MAME_DIR .. "src/devices/bus/spectrum/sixword.h", + MAME_DIR .. "src/devices/bus/spectrum/speccydos.cpp", + MAME_DIR .. "src/devices/bus/spectrum/speccydos.h", MAME_DIR .. "src/devices/bus/spectrum/specdrum.cpp", MAME_DIR .. "src/devices/bus/spectrum/specdrum.h", + MAME_DIR .. "src/devices/bus/spectrum/specmate.cpp", + MAME_DIR .. "src/devices/bus/spectrum/specmate.h", MAME_DIR .. "src/devices/bus/spectrum/uslot.cpp", MAME_DIR .. "src/devices/bus/spectrum/uslot.h", MAME_DIR .. "src/devices/bus/spectrum/usource.cpp", MAME_DIR .. "src/devices/bus/spectrum/usource.h", MAME_DIR .. "src/devices/bus/spectrum/uspeech.cpp", MAME_DIR .. "src/devices/bus/spectrum/uspeech.h", + MAME_DIR .. "src/devices/bus/spectrum/vtx5000.cpp", + MAME_DIR .. "src/devices/bus/spectrum/vtx5000.h", MAME_DIR .. "src/devices/bus/spectrum/wafa.cpp", MAME_DIR .. "src/devices/bus/spectrum/wafa.h", } @@ -3514,6 +4925,24 @@ end --------------------------------------------------- -- +--@src/devices/bus/spectrum/zxbus.h,BUSES["ZXBUS"] = true +--------------------------------------------------- + +if (BUSES["ZXBUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/spectrum/zxbus.cpp", + MAME_DIR .. "src/devices/bus/spectrum/zxbus.h", + MAME_DIR .. "src/devices/bus/spectrum/nemoide.cpp", + MAME_DIR .. "src/devices/bus/spectrum/nemoide.h", + MAME_DIR .. "src/devices/bus/spectrum/neogs.cpp", + MAME_DIR .. "src/devices/bus/spectrum/neogs.h", + MAME_DIR .. "src/devices/bus/spectrum/smuc.cpp", + MAME_DIR .. "src/devices/bus/spectrum/smuc.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/uts_kbd/uts_kbd.h,BUSES["UTS_KBD"] = true --------------------------------------------------- @@ -3540,6 +4969,10 @@ if (BUSES["VSMILE"]~=null) then MAME_DIR .. "src/devices/bus/vsmile/vsmile_ctrl.h", MAME_DIR .. "src/devices/bus/vsmile/pad.cpp", MAME_DIR .. "src/devices/bus/vsmile/pad.h", + MAME_DIR .. "src/devices/bus/vsmile/mat.cpp", + MAME_DIR .. "src/devices/bus/vsmile/mat.h", + MAME_DIR .. "src/devices/bus/vsmile/keyboard.cpp", + MAME_DIR .. "src/devices/bus/vsmile/keyboard.h", MAME_DIR .. "src/devices/bus/vsmile/vsmile_slot.cpp", MAME_DIR .. "src/devices/bus/vsmile/vsmile_slot.h", MAME_DIR .. "src/devices/bus/vsmile/rom.cpp", @@ -3566,6 +4999,8 @@ if (BUSES["VTECH_MEMEXP"]~=null) then MAME_DIR .. "src/devices/bus/vtech/memexp/rs232.h", MAME_DIR .. "src/devices/bus/vtech/memexp/rtty.cpp", MAME_DIR .. "src/devices/bus/vtech/memexp/rtty.h", + MAME_DIR .. "src/devices/bus/vtech/memexp/sdloader.cpp", + MAME_DIR .. "src/devices/bus/vtech/memexp/sdloader.h", MAME_DIR .. "src/devices/bus/vtech/memexp/wordpro.cpp", MAME_DIR .. "src/devices/bus/vtech/memexp/wordpro.h", } @@ -3582,6 +5017,8 @@ if (BUSES["VTECH_IOEXP"]~=null) then MAME_DIR .. "src/devices/bus/vtech/ioexp/ioexp.h", MAME_DIR .. "src/devices/bus/vtech/ioexp/carts.cpp", MAME_DIR .. "src/devices/bus/vtech/ioexp/carts.h", + MAME_DIR .. "src/devices/bus/vtech/ioexp/lpen.cpp", + MAME_DIR .. "src/devices/bus/vtech/ioexp/lpen.h", MAME_DIR .. "src/devices/bus/vtech/ioexp/joystick.cpp", MAME_DIR .. "src/devices/bus/vtech/ioexp/joystick.h", MAME_DIR .. "src/devices/bus/vtech/ioexp/printer.cpp", @@ -3764,30 +5201,6 @@ end --------------------------------------------------- -- ---@src/devices/bus/hp_optroms/hp_optrom.h,BUSES["HP_OPTROM"] = true ---------------------------------------------------- - -if (BUSES["HP_OPTROM"]~=null) then - files { - MAME_DIR .. "src/devices/bus/hp_optroms/hp_optrom.cpp", - MAME_DIR .. "src/devices/bus/hp_optroms/hp_optrom.h", - } -end - ---------------------------------------------------- --- ---@src/devices/bus/hp80_optroms/hp80_optrom.h,BUSES["HP80_OPTROM"] = true ---------------------------------------------------- - -if (BUSES["HP80_OPTROM"]~=null) then - files { - MAME_DIR .. "src/devices/bus/hp80_optroms/hp80_optrom.cpp", - MAME_DIR .. "src/devices/bus/hp80_optroms/hp80_optrom.h", - } -end - ---------------------------------------------------- --- --@src/devices/bus/hp80_io/hp80_io.h,BUSES["HP80_IO"] = true --------------------------------------------------- @@ -3795,8 +5208,12 @@ if (BUSES["HP80_IO"]~=null) then files { MAME_DIR .. "src/devices/bus/hp80_io/hp80_io.cpp", MAME_DIR .. "src/devices/bus/hp80_io/hp80_io.h", + MAME_DIR .. "src/devices/bus/hp80_io/82900.cpp", + MAME_DIR .. "src/devices/bus/hp80_io/82900.h", MAME_DIR .. "src/devices/bus/hp80_io/82937.cpp", MAME_DIR .. "src/devices/bus/hp80_io/82937.h", + MAME_DIR .. "src/devices/bus/hp80_io/82939.cpp", + MAME_DIR .. "src/devices/bus/hp80_io/82939.h", } end @@ -3815,8 +5232,12 @@ if (BUSES["HP9845_IO"]~=null) then MAME_DIR .. "src/devices/bus/hp9845_io/98034.h", MAME_DIR .. "src/devices/bus/hp9845_io/98035.cpp", MAME_DIR .. "src/devices/bus/hp9845_io/98035.h", + MAME_DIR .. "src/devices/bus/hp9845_io/98036.cpp", + MAME_DIR .. "src/devices/bus/hp9845_io/98036.h", MAME_DIR .. "src/devices/bus/hp9845_io/98046.cpp", MAME_DIR .. "src/devices/bus/hp9845_io/98046.h", + MAME_DIR .. "src/devices/bus/hp9845_io/hp9871.cpp", + MAME_DIR .. "src/devices/bus/hp9845_io/hp9871.h", MAME_DIR .. "src/devices/bus/hp9845_io/hp9885.cpp", MAME_DIR .. "src/devices/bus/hp9845_io/hp9885.h", } @@ -3824,6 +5245,20 @@ end --------------------------------------------------- -- +--@src/devices/bus/hp_ipc_io/hp_ipc_io.h,BUSES["HP_IPC_IO"] = true +--------------------------------------------------- + +if (BUSES["HP_IPC_IO"]~=null) then + files { + MAME_DIR .. "src/devices/bus/hp_ipc_io/hp_ipc_io.cpp", + MAME_DIR .. "src/devices/bus/hp_ipc_io/hp_ipc_io.h", + MAME_DIR .. "src/devices/bus/hp_ipc_io/82919.cpp", + MAME_DIR .. "src/devices/bus/hp_ipc_io/82919.h", + } +end + +--------------------------------------------------- +-- --@src/devices/bus/compis/graphics.h,BUSES["COMPIS_GRAPHICS"] = true --------------------------------------------------- @@ -3855,20 +5290,24 @@ end if (BUSES["CBUS"]~=null) then files { + MAME_DIR .. "src/devices/bus/cbus/amd98.cpp", + MAME_DIR .. "src/devices/bus/cbus/amd98.h", + MAME_DIR .. "src/devices/bus/cbus/mif201.cpp", + MAME_DIR .. "src/devices/bus/cbus/mif201.h", + MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.cpp", + MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.h", MAME_DIR .. "src/devices/bus/cbus/pc9801_26.cpp", MAME_DIR .. "src/devices/bus/cbus/pc9801_26.h", + MAME_DIR .. "src/devices/bus/cbus/pc9801_55.cpp", + MAME_DIR .. "src/devices/bus/cbus/pc9801_55.h", MAME_DIR .. "src/devices/bus/cbus/pc9801_86.cpp", MAME_DIR .. "src/devices/bus/cbus/pc9801_86.h", MAME_DIR .. "src/devices/bus/cbus/pc9801_118.cpp", MAME_DIR .. "src/devices/bus/cbus/pc9801_118.h", - MAME_DIR .. "src/devices/bus/cbus/pc9801_amd98.cpp", - MAME_DIR .. "src/devices/bus/cbus/pc9801_amd98.h", - MAME_DIR .. "src/devices/bus/cbus/pc9801_snd.cpp", - MAME_DIR .. "src/devices/bus/cbus/pc9801_snd.h", - MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.cpp", - MAME_DIR .. "src/devices/bus/cbus/mpu_pc98.h", MAME_DIR .. "src/devices/bus/cbus/pc9801_cbus.cpp", MAME_DIR .. "src/devices/bus/cbus/pc9801_cbus.h", + MAME_DIR .. "src/devices/bus/cbus/sb16_ct2720.cpp", + MAME_DIR .. "src/devices/bus/cbus/sb16_ct2720.h", } end @@ -3979,3 +5418,458 @@ if (BUSES["TMC600"]~=null) then MAME_DIR .. "src/devices/bus/tmc600/euro.h", } end + +--------------------------------------------------- +-- +--@src/devices/bus/multibus/multibus.h,BUSES["MULTIBUS"] = true +--------------------------------------------------- + +if (BUSES["MULTIBUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/multibus/multibus.cpp", + MAME_DIR .. "src/devices/bus/multibus/multibus.h", + MAME_DIR .. "src/devices/bus/multibus/isbc202.cpp", + MAME_DIR .. "src/devices/bus/multibus/isbc202.h", + MAME_DIR .. "src/devices/bus/multibus/isbc8024.cpp", + MAME_DIR .. "src/devices/bus/multibus/isbc8024.h", + MAME_DIR .. "src/devices/bus/multibus/cpuap.cpp", + MAME_DIR .. "src/devices/bus/multibus/cpuap.h", + MAME_DIR .. "src/devices/bus/multibus/serad.cpp", + MAME_DIR .. "src/devices/bus/multibus/serad.h", + MAME_DIR .. "src/devices/bus/multibus/labtam_3232.cpp", + MAME_DIR .. "src/devices/bus/multibus/labtam_3232.h", + MAME_DIR .. "src/devices/bus/multibus/labtam_vducom.cpp", + MAME_DIR .. "src/devices/bus/multibus/labtam_vducom.h", + MAME_DIR .. "src/devices/bus/multibus/labtam_z80sbc.cpp", + MAME_DIR .. "src/devices/bus/multibus/labtam_z80sbc.h", + MAME_DIR .. "src/devices/bus/multibus/robotron_k7070.cpp", + MAME_DIR .. "src/devices/bus/multibus/robotron_k7070.h", + MAME_DIR .. "src/devices/bus/multibus/robotron_k7071.cpp", + MAME_DIR .. "src/devices/bus/multibus/robotron_k7071.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/rtpc/kbd_con.h,BUSES["RTPC_KBD"] = true +--------------------------------------------------- + +if (BUSES["RTPC_KBD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/rtpc/kbd_con.cpp", + MAME_DIR .. "src/devices/bus/rtpc/kbd_con.h", + MAME_DIR .. "src/devices/bus/rtpc/kbd.cpp", + MAME_DIR .. "src/devices/bus/rtpc/kbd.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/saitek_osa/expansion.h,BUSES["SAITEK_OSA"] = true +--------------------------------------------------- + +if (BUSES["SAITEK_OSA"]~=null) then + files { + MAME_DIR .. "src/devices/bus/saitek_osa/expansion.cpp", + MAME_DIR .. "src/devices/bus/saitek_osa/expansion.h", + MAME_DIR .. "src/devices/bus/saitek_osa/maestro.cpp", + MAME_DIR .. "src/devices/bus/saitek_osa/maestro.h", + MAME_DIR .. "src/devices/bus/saitek_osa/maestroa.cpp", + MAME_DIR .. "src/devices/bus/saitek_osa/maestroa.h", + MAME_DIR .. "src/devices/bus/saitek_osa/sparc.cpp", + MAME_DIR .. "src/devices/bus/saitek_osa/sparc.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/samcoupe/drive/drive.h,BUSES["SAMCOUPE_DRIVE_PORT"] = true +--------------------------------------------------- + +if (BUSES["SAMCOUPE_DRIVE_PORT"]~=null) then + files { + MAME_DIR .. "src/devices/bus/samcoupe/drive/drive.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/drive/drive.h", + MAME_DIR .. "src/devices/bus/samcoupe/drive/modules.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/drive/modules.h", + MAME_DIR .. "src/devices/bus/samcoupe/drive/atom.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/drive/atom.h", + MAME_DIR .. "src/devices/bus/samcoupe/drive/floppy.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/drive/floppy.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/samcoupe/expansion/expansion.h,BUSES["SAMCOUPE_EXPANSION"] = true +--------------------------------------------------- + +if (BUSES["SAMCOUPE_EXPANSION"]~=null) then + files { + MAME_DIR .. "src/devices/bus/samcoupe/expansion/expansion.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/expansion.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/modules.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/modules.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/blue_sampler.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/blue_sampler.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/dallas.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/dallas.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/onemeg.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/onemeg.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sambus.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sambus.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sdide.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sdide.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sid.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/sid.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/spi.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/spi.h", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/voicebox.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/expansion/voicebox.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/samcoupe/mouse/mouse.h,BUSES["SAMCOUPE_MOUSE_PORT"] = true +--------------------------------------------------- + +if (BUSES["SAMCOUPE_MOUSE_PORT"]~=null) then + files { + MAME_DIR .. "src/devices/bus/samcoupe/mouse/mouseport.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/mouse/mouseport.h", + MAME_DIR .. "src/devices/bus/samcoupe/mouse/modules.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/mouse/modules.h", + MAME_DIR .. "src/devices/bus/samcoupe/mouse/mouse.cpp", + MAME_DIR .. "src/devices/bus/samcoupe/mouse/mouse.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/thomson/extension.h,BUSES["THOMSON"] = true +--------------------------------------------------- + +if (BUSES["THOMSON"]~=null) then + files { + MAME_DIR .. "src/devices/bus/thomson/extension.cpp", + MAME_DIR .. "src/devices/bus/thomson/extension.h", + MAME_DIR .. "src/devices/bus/thomson/cc90_232.cpp", + MAME_DIR .. "src/devices/bus/thomson/cc90_232.h", + MAME_DIR .. "src/devices/bus/thomson/cd90_015.cpp", + MAME_DIR .. "src/devices/bus/thomson/cd90_015.h", + MAME_DIR .. "src/devices/bus/thomson/cq90_028.cpp", + MAME_DIR .. "src/devices/bus/thomson/cq90_028.h", + MAME_DIR .. "src/devices/bus/thomson/cd90_351.cpp", + MAME_DIR .. "src/devices/bus/thomson/cd90_351.h", + MAME_DIR .. "src/devices/bus/thomson/cd90_640.cpp", + MAME_DIR .. "src/devices/bus/thomson/cd90_640.h", + MAME_DIR .. "src/devices/bus/thomson/md90_120.cpp", + MAME_DIR .. "src/devices/bus/thomson/md90_120.h", + MAME_DIR .. "src/devices/bus/thomson/midipak.cpp", + MAME_DIR .. "src/devices/bus/thomson/midipak.h", + MAME_DIR .. "src/devices/bus/thomson/nanoreseau.cpp", + MAME_DIR .. "src/devices/bus/thomson/nanoreseau.h", + MAME_DIR .. "src/devices/bus/thomson/rf57_932.cpp", + MAME_DIR .. "src/devices/bus/thomson/rf57_932.h", + MAME_DIR .. "src/devices/bus/thomson/speech.cpp", + MAME_DIR .. "src/devices/bus/thomson/speech.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/pc8801/pc8801_exp.h,BUSES["PC8801"] = true +--------------------------------------------------- + +if (BUSES["PC8801"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pc8801/gsx8800.cpp", + MAME_DIR .. "src/devices/bus/pc8801/gsx8800.h", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_23.cpp", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_23.h", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_31.cpp", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_31.h", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_exp.cpp", + MAME_DIR .. "src/devices/bus/pc8801/pc8801_exp.h", + MAME_DIR .. "src/devices/bus/pc8801/pcg8100.cpp", + MAME_DIR .. "src/devices/bus/pc8801/pcg8100.h", + MAME_DIR .. "src/devices/bus/pc8801/jmbx1.cpp", + MAME_DIR .. "src/devices/bus/pc8801/jmbx1.h", + MAME_DIR .. "src/devices/bus/pc8801/hmb20.cpp", + MAME_DIR .. "src/devices/bus/pc8801/hmb20.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/jvs/jvs.h,BUSES["JVS"] = true +--------------------------------------------------- + +if (BUSES["JVS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/jvs/cyberlead.cpp", + MAME_DIR .. "src/devices/bus/jvs/cyberlead.h", + MAME_DIR .. "src/devices/bus/jvs/jvs.cpp", + MAME_DIR .. "src/devices/bus/jvs/jvs.h", + MAME_DIR .. "src/devices/bus/jvs/jvshle.cpp", + MAME_DIR .. "src/devices/bus/jvs/jvshle.h", + MAME_DIR .. "src/devices/bus/jvs/namcoio.cpp", + MAME_DIR .. "src/devices/bus/jvs/namcoio.h", + } + + dependency { + { MAME_DIR .. "src/devices/bus/jvs/cyberlead.cpp", GEN_DIR .. "emu/layout/cyberlead.lh" }, + } + + custombuildtask { + layoutbuildtask("emu/layout", "cyberlead"), + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/mtu130/board.h,BUSES["MTU130"] = true +--------------------------------------------------- + +if (BUSES["MTU130"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mtu130/board.cpp", + MAME_DIR .. "src/devices/bus/mtu130/board.h", + MAME_DIR .. "src/devices/bus/mtu130/datamover.cpp", + MAME_DIR .. "src/devices/bus/mtu130/datamover.h", + } + end + +--------------------------------------------------- +-- +--@src/devices/bus/nabupc/option.h,BUSES["NABU"] = true +--------------------------------------------------- +if (BUSES["NABU"]~=null) then + files { + MAME_DIR .. "src/devices/bus/nabupc/adapter.cpp", + MAME_DIR .. "src/devices/bus/nabupc/adapter.h", + MAME_DIR .. "src/devices/bus/nabupc/fdc.cpp", + MAME_DIR .. "src/devices/bus/nabupc/fdc.h", + MAME_DIR .. "src/devices/bus/nabupc/hdd.cpp", + MAME_DIR .. "src/devices/bus/nabupc/hdd.h", + MAME_DIR .. "src/devices/bus/nabupc/option.cpp", + MAME_DIR .. "src/devices/bus/nabupc/option.h", + MAME_DIR .. "src/devices/bus/nabupc/rs232.cpp", + MAME_DIR .. "src/devices/bus/nabupc/rs232.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/mc68000/sysbus.h,BUSES["MC68000_SYSBUS"] = true +--------------------------------------------------- + +if (BUSES["MC68000_SYSBUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/mc68000/sysbus.cpp", + MAME_DIR .. "src/devices/bus/mc68000/sysbus.h", + MAME_DIR .. "src/devices/bus/mc68000/cards.cpp", + MAME_DIR .. "src/devices/bus/mc68000/cards.h", + MAME_DIR .. "src/devices/bus/mc68000/floppy.cpp", + MAME_DIR .. "src/devices/bus/mc68000/floppy.h", + MAME_DIR .. "src/devices/bus/mc68000/ram.cpp", + MAME_DIR .. "src/devices/bus/mc68000/ram.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/waveblaster/waveblaster.h,BUSES["WAVEBLASTER"] = true +--------------------------------------------------- + +if (BUSES["WAVEBLASTER"]~=null) then + files { + MAME_DIR .. "src/devices/bus/waveblaster/waveblaster.cpp", + MAME_DIR .. "src/devices/bus/waveblaster/waveblaster.h", + MAME_DIR .. "src/devices/bus/waveblaster/omniwave.cpp", + MAME_DIR .. "src/devices/bus/waveblaster/omniwave.h", + MAME_DIR .. "src/devices/bus/waveblaster/db50xg.cpp", + MAME_DIR .. "src/devices/bus/waveblaster/db50xg.h", + MAME_DIR .. "src/devices/bus/waveblaster/db60xg.cpp", + MAME_DIR .. "src/devices/bus/waveblaster/db60xg.h", + MAME_DIR .. "src/devices/bus/waveblaster/wg130.cpp", + MAME_DIR .. "src/devices/bus/waveblaster/wg130.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/pci/pci_slot.h,BUSES["PCI"] = true +--------------------------------------------------- + +if (BUSES["PCI"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pci/pci_slot.cpp", + MAME_DIR .. "src/devices/bus/pci/pci_slot.h", + MAME_DIR .. "src/devices/bus/pci/aha2940au.cpp", + MAME_DIR .. "src/devices/bus/pci/aha2940au.h", + MAME_DIR .. "src/devices/bus/pci/audiowerk2.cpp", + MAME_DIR .. "src/devices/bus/pci/audiowerk2.h", + MAME_DIR .. "src/devices/bus/pci/clgd5446.cpp", + MAME_DIR .. "src/devices/bus/pci/clgd5446.h", + MAME_DIR .. "src/devices/bus/pci/clgd546x_laguna.cpp", + MAME_DIR .. "src/devices/bus/pci/clgd546x_laguna.h", + MAME_DIR .. "src/devices/bus/pci/ds2416.cpp", + MAME_DIR .. "src/devices/bus/pci/ds2416.h", + MAME_DIR .. "src/devices/bus/pci/ess_maestro.cpp", + MAME_DIR .. "src/devices/bus/pci/ess_maestro.h", + MAME_DIR .. "src/devices/bus/pci/geforce.cpp", + MAME_DIR .. "src/devices/bus/pci/geforce.h", + MAME_DIR .. "src/devices/bus/pci/mga2064w.cpp", + MAME_DIR .. "src/devices/bus/pci/mga2064w.h", + MAME_DIR .. "src/devices/bus/pci/ncr53c825.cpp", + MAME_DIR .. "src/devices/bus/pci/ncr53c825.h", + MAME_DIR .. "src/devices/bus/pci/neon250.cpp", + MAME_DIR .. "src/devices/bus/pci/neon250.h", + MAME_DIR .. "src/devices/bus/pci/oti_spitfire.cpp", + MAME_DIR .. "src/devices/bus/pci/oti_spitfire.h", + MAME_DIR .. "src/devices/bus/pci/opti82c861.cpp", + MAME_DIR .. "src/devices/bus/pci/opti82c861.h", + MAME_DIR .. "src/devices/bus/pci/pdc20262.cpp", + MAME_DIR .. "src/devices/bus/pci/pdc20262.h", + MAME_DIR .. "src/devices/bus/pci/promotion.cpp", + MAME_DIR .. "src/devices/bus/pci/promotion.h", + MAME_DIR .. "src/devices/bus/pci/riva128.cpp", + MAME_DIR .. "src/devices/bus/pci/riva128.h", + MAME_DIR .. "src/devices/bus/pci/rivatnt.cpp", + MAME_DIR .. "src/devices/bus/pci/rivatnt.h", + MAME_DIR .. "src/devices/bus/pci/rtl8029as_pci.cpp", + MAME_DIR .. "src/devices/bus/pci/rtl8029as_pci.h", + MAME_DIR .. "src/devices/bus/pci/rtl8139_pci.cpp", + MAME_DIR .. "src/devices/bus/pci/rtl8139_pci.h", + MAME_DIR .. "src/devices/bus/pci/sis6326.cpp", + MAME_DIR .. "src/devices/bus/pci/sis6326.h", + MAME_DIR .. "src/devices/bus/pci/sonicvibes.cpp", + MAME_DIR .. "src/devices/bus/pci/sonicvibes.h", + MAME_DIR .. "src/devices/bus/pci/sw1000xg.cpp", + MAME_DIR .. "src/devices/bus/pci/sw1000xg.h", + MAME_DIR .. "src/devices/bus/pci/virge_pci.cpp", + MAME_DIR .. "src/devices/bus/pci/virge_pci.h", + MAME_DIR .. "src/devices/bus/pci/vision.cpp", + MAME_DIR .. "src/devices/bus/pci/vision.h", + MAME_DIR .. "src/devices/bus/pci/vt6306.cpp", + MAME_DIR .. "src/devices/bus/pci/vt6306.h", + MAME_DIR .. "src/devices/bus/pci/wd9710_pci.cpp", + MAME_DIR .. "src/devices/bus/pci/wd9710_pci.h", + MAME_DIR .. "src/devices/bus/pci/ymp21.cpp", + MAME_DIR .. "src/devices/bus/pci/ymp21.h", + MAME_DIR .. "src/devices/bus/pci/zr36057.cpp", + MAME_DIR .. "src/devices/bus/pci/zr36057.h", + } +end + + +--------------------------------------------------- +-- +--@src/devices/bus/plg1x0/plg1x0.h,BUSES["PLG1X0"] = true +--------------------------------------------------- + +if (BUSES["PLG1X0"]~=null) then + files { + MAME_DIR .. "src/devices/bus/plg1x0/plg1x0.cpp", + MAME_DIR .. "src/devices/bus/plg1x0/plg1x0.h", + MAME_DIR .. "src/devices/bus/plg1x0/plg100-vl.cpp", + MAME_DIR .. "src/devices/bus/plg1x0/plg100-vl.h", + MAME_DIR .. "src/devices/bus/plg1x0/plg150-ap.cpp", + MAME_DIR .. "src/devices/bus/plg1x0/plg150-ap.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/heathzenith/h89/h89bus.h,BUSES["H89BUS"] = true +--------------------------------------------------- + +if (BUSES["H89BUS"]~=null) then + files { + MAME_DIR .. "src/devices/bus/heathzenith/h89/cdr_fdc_880h.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/cdr_fdc_880h.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h89bus.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h89bus.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h17_fdc.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h17_fdc.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h_88_3.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h_88_3.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h_88_5.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/h_88_5.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/mms77316_fdc.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/mms77316_fdc.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/sigmasoft_sound.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/sigmasoft_sound.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/sigmasoft_parallel_port.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/sigmasoft_parallel_port.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/we_pullup.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/we_pullup.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/z_89_11.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/z_89_11.h", + MAME_DIR .. "src/devices/bus/heathzenith/h89/z37_fdc.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h89/z37_fdc.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/heathzenith/intr_cntrl/intr_cntrl.h,BUSES["HEATH_INTR_SOCKET"] = true +--------------------------------------------------- + +if (BUSES["HEATH_INTR_SOCKET"]~=null) then + files { + MAME_DIR .. "src/devices/bus/heathzenith/intr_cntrl/intr_cntrl.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/intr_cntrl/intr_cntrl.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/heathzenith/h19/tlb.h,BUSES["HEATH_TLB_CONNECTOR"] = true +--------------------------------------------------- + +if (BUSES["HEATH_TLB_CONNECTOR"]~=null) then + files { + MAME_DIR .. "src/devices/bus/heathzenith/h19/tlb.cpp", + MAME_DIR .. "src/devices/bus/heathzenith/h19/tlb.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/amiga/cpuslot/cpuslot.h,BUSES["AMIGA_CPUSLOT"] = true +--------------------------------------------------- + +if (BUSES["AMIGA_CPUSLOT"]~=null) then + files { + MAME_DIR .. "src/devices/bus/amiga/cpuslot/cpuslot.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/cpuslot.h", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/cards.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/cards.h", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/a570.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/a570.h", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/a590.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/a590.h", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/action_replay.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/action_replay.h", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/megamix500.cpp", + MAME_DIR .. "src/devices/bus/amiga/cpuslot/megamix500.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/bus/st/stcart.h,BUSES["STCART_CONNECTOR"] = true +--------------------------------------------------- + +if (BUSES["STCART_CONNECTOR"]~=null) then + files { + MAME_DIR .. "src/devices/bus/st/stcart.cpp", + MAME_DIR .. "src/devices/bus/st/stcart.h", + MAME_DIR .. "src/devices/bus/st/replay.cpp", + MAME_DIR .. "src/devices/bus/st/replay.h", + } +end diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 788e2cd3eb6..cb130e07527 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -13,7 +13,7 @@ -- Dynamic recompiler objects -------------------------------------------------- -DRC_CPUS = { "E1", "SH", "MIPS3", "POWERPC", "RSP", "ARM7", "ADSP21062", "MB86235", "DSP16", "UNSP" } +DRC_CPUS = { "E1", "SH", "MIPS3", "POWERPC", "ARM7", "ADSP21062", "MB86235", "DSP16", "UNSP" } CPU_INCLUDE_DRC = false for i, v in ipairs(DRC_CPUS) do if (CPUS[v]~=null) then @@ -21,9 +21,10 @@ for i, v in ipairs(DRC_CPUS) do break end end +CPU_INCLUDE_DRC_NATIVE = CPU_INCLUDE_DRC and (not _OPTIONS["FORCE_DRC_C_BACKEND"]) and ((_OPTIONS["PLATFORM"] == "x86") or (_OPTIONS["PLATFORM"] == "arm64")) -if (CPU_INCLUDE_DRC) then +if CPU_INCLUDE_DRC then files { MAME_DIR .. "src/devices/cpu/drcbec.cpp", MAME_DIR .. "src/devices/cpu/drcbec.h", @@ -39,12 +40,17 @@ if (CPU_INCLUDE_DRC) then MAME_DIR .. "src/devices/cpu/uml.h", MAME_DIR .. "src/devices/cpu/x86log.cpp", MAME_DIR .. "src/devices/cpu/x86log.h", - MAME_DIR .. "src/devices/cpu/drcbex86.cpp", - MAME_DIR .. "src/devices/cpu/drcbex86.h", + MAME_DIR .. "src/devices/cpu/drcumlsh.h", + } +end +if CPU_INCLUDE_DRC_NATIVE then + files { + MAME_DIR .. "src/devices/cpu/drcbearm64.cpp", + MAME_DIR .. "src/devices/cpu/drcbearm64.h", MAME_DIR .. "src/devices/cpu/drcbex64.cpp", MAME_DIR .. "src/devices/cpu/drcbex64.h", - MAME_DIR .. "src/devices/cpu/drcumlsh.h", - MAME_DIR .. "src/devices/cpu/x86emit.h", + MAME_DIR .. "src/devices/cpu/drcbex86.cpp", + MAME_DIR .. "src/devices/cpu/drcbex86.h", } end @@ -53,14 +59,14 @@ end --@src/devices/cpu/8x300/8x300.h,CPUS["8X300"] = true -------------------------------------------------- -if (CPUS["8X300"]~=null) then +if CPUS["8X300"] then files { MAME_DIR .. "src/devices/cpu/8x300/8x300.cpp", MAME_DIR .. "src/devices/cpu/8x300/8x300.h", } end -if (CPUS["8X300"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "8X300") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/8x300/8x300dasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/8x300/8x300dasm.cpp") end @@ -70,7 +76,7 @@ end --@src/devices/cpu/dspp/dspp.h,CPUS["DSPP"] = true -------------------------------------------------- -if (CPUS["DSPP"]~=null) then +if CPUS["DSPP"] then files { MAME_DIR .. "src/devices/cpu/dspp/dspp.cpp", MAME_DIR .. "src/devices/cpu/dspp/dspp.h", @@ -80,7 +86,7 @@ if (CPUS["DSPP"]~=null) then } end -if (CPUS["DSPP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DSPP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dspp/dsppdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dspp/dsppdasm.h") end @@ -90,14 +96,14 @@ end --@src/devices/cpu/arc/arc.h,CPUS["ARC"] = true -------------------------------------------------- -if (CPUS["ARC"]~=null) then +if CPUS["ARC"] then files { MAME_DIR .. "src/devices/cpu/arc/arc.cpp", MAME_DIR .. "src/devices/cpu/arc/arc.h", } end -if (CPUS["ARC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ARC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arc/arcdasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arc/arcdasm.cpp") end @@ -107,19 +113,55 @@ end --@src/devices/cpu/arcompact/arcompact.h,CPUS["ARCOMPACT"] = true -------------------------------------------------- -if (CPUS["ARCOMPACT"]~=null) then +if CPUS["ARCOMPACT"] then files { MAME_DIR .. "src/devices/cpu/arcompact/arcompact.cpp", MAME_DIR .. "src/devices/cpu/arcompact/arcompact.h", MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute.cpp", - } -end - -if (CPUS["ARCOMPACT"]~=null or _OPTIONS["with-tools"]) then + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_00to01.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_02to03.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_jumps.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_loop.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_aux.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_2f_sop.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_2f_3f_zop.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_04_3x.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_05.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_05_2f_sop.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_06to0b.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0c_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0d_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0e_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0f_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0f_00_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_0f_00_07_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_12to16_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_17_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_18_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_19_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_1ato1c_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_execute_ops_1dto1f_16bit.cpp", + MAME_DIR .. "src/devices/cpu/arcompact/arcompact_helper.ipp", + } +end + +if opt_tool(CPUS, "ARCOMPACT") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompact_common.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_dispatch.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_internal.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_00to01.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_02to03.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_04.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_04_2f_sop.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_04_2f_3f_zop.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_04_3x.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_05.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_05_2f_sop.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_06to0b.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arcompact/arcompactdasm_ops_16bit.cpp") end -------------------------------------------------- @@ -129,35 +171,40 @@ end --@src/devices/cpu/arm7/arm7.h,CPUS["ARM7"] = true -------------------------------------------------- -if (CPUS["ARM"]~=null) then +if CPUS["ARM"] then files { MAME_DIR .. "src/devices/cpu/arm/arm.cpp", MAME_DIR .. "src/devices/cpu/arm/arm.h", } end -if (CPUS["ARM"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ARM") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm/armdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm/armdasm.h") end -if (CPUS["ARM7"]~=null) then +if CPUS["ARM7"] then files { MAME_DIR .. "src/devices/cpu/arm7/arm7.cpp", MAME_DIR .. "src/devices/cpu/arm7/arm7.h", MAME_DIR .. "src/devices/cpu/arm7/arm7thmb.cpp", MAME_DIR .. "src/devices/cpu/arm7/arm7ops.cpp", + MAME_DIR .. "src/devices/cpu/arm7/ap2010cpu.cpp", + MAME_DIR .. "src/devices/cpu/arm7/ap2010cpu.h", MAME_DIR .. "src/devices/cpu/arm7/lpc210x.cpp", MAME_DIR .. "src/devices/cpu/arm7/lpc210x.h", + MAME_DIR .. "src/devices/cpu/arm7/upd800468.cpp", + MAME_DIR .. "src/devices/cpu/arm7/upd800468.h", MAME_DIR .. "src/devices/cpu/arm7/arm7core.h", MAME_DIR .. "src/devices/cpu/arm7/arm7core.hxx", MAME_DIR .. "src/devices/cpu/arm7/arm7drc.hxx", MAME_DIR .. "src/devices/cpu/arm7/arm7help.h", MAME_DIR .. "src/devices/cpu/arm7/arm7tdrc.hxx", + MAME_DIR .. "src/devices/cpu/arm7/cecalls.hxx", } end -if (CPUS["ARM7"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ARM7") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm7/arm7dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/arm7/arm7dasm.h") end @@ -167,14 +214,14 @@ end --@src/devices/cpu/se3208/se3208.h,CPUS["SE3208"] = true -------------------------------------------------- -if (CPUS["SE3208"]~=null) then +if CPUS["SE3208"] then files { MAME_DIR .. "src/devices/cpu/se3208/se3208.cpp", MAME_DIR .. "src/devices/cpu/se3208/se3208.h", } end -if (CPUS["SE3208"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SE3208") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/se3208/se3208dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/se3208/se3208dis.h") end @@ -184,7 +231,7 @@ end --@src/devices/cpu/amis2000/amis2000.h,CPUS["AMIS2000"] = true -------------------------------------------------- -if (CPUS["AMIS2000"]~=null) then +if CPUS["AMIS2000"] then files { MAME_DIR .. "src/devices/cpu/amis2000/amis2000.cpp", MAME_DIR .. "src/devices/cpu/amis2000/amis2000.h", @@ -192,34 +239,17 @@ if (CPUS["AMIS2000"]~=null) then } end -if (CPUS["AMIS2000"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "AMIS2000") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/amis2000/amis2000d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/amis2000/amis2000d.h") end -------------------------------------------------- --- Alpha 8201 ---@src/devices/cpu/alph8201/alph8201.h,CPUS["ALPHA8201"] = true --------------------------------------------------- - -if (CPUS["ALPHA8201"]~=null) then - files { - MAME_DIR .. "src/devices/cpu/alph8201/alph8201.cpp", - MAME_DIR .. "src/devices/cpu/alph8201/alph8201.h", - } -end - -if (CPUS["ALPHA8201"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alph8201/8201dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alph8201/8201dasm.h") -end - --------------------------------------------------- -- Analog Devices ADSP21xx series --@src/devices/cpu/adsp2100/adsp2100.h,CPUS["ADSP21XX"] = true -------------------------------------------------- -if (CPUS["ADSP21XX"]~=null) then +if CPUS["ADSP21XX"] then files { MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.cpp", MAME_DIR .. "src/devices/cpu/adsp2100/adsp2100.h", @@ -227,7 +257,7 @@ if (CPUS["ADSP21XX"]~=null) then } end -if (CPUS["ADSP21XX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ADSP21XX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/adsp2100/2100dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/adsp2100/2100dasm.h") end @@ -237,7 +267,7 @@ end --@src/devices/cpu/sharc/sharc.h,CPUS["ADSP21062"] = true -------------------------------------------------- -if (CPUS["ADSP21062"]~=null) then +if CPUS["ADSP21062"] then files { MAME_DIR .. "src/devices/cpu/sharc/sharc.cpp", MAME_DIR .. "src/devices/cpu/sharc/sharc.h", @@ -252,7 +282,7 @@ if (CPUS["ADSP21062"]~=null) then } end -if (CPUS["ADSP21062"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ADSP21062") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sharc/sharcdsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sharc/sharcdsm.h") end @@ -262,14 +292,14 @@ end --@src/devices/cpu/apexc/apexc.h,CPUS["APEXC"] = true -------------------------------------------------- -if (CPUS["APEXC"]~=null) then +if CPUS["APEXC"] then files { MAME_DIR .. "src/devices/cpu/apexc/apexc.cpp", MAME_DIR .. "src/devices/cpu/apexc/apexc.h", } end -if (CPUS["APEXC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "APEXC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/apexc/apexcdsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/apexc/apexcdsm.h") end @@ -279,7 +309,7 @@ end --@src/devices/cpu/dsp16/dsp16.h,CPUS["DSP16"] = true -------------------------------------------------- -if (CPUS["DSP16"]~=null) then +if CPUS["DSP16"] then files { MAME_DIR .. "src/devices/cpu/dsp16/dsp16.cpp", MAME_DIR .. "src/devices/cpu/dsp16/dsp16.h", @@ -293,7 +323,7 @@ if (CPUS["DSP16"]~=null) then } end -if (CPUS["DSP16"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DSP16") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp16/dsp16dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp16/dsp16dis.h") end @@ -303,7 +333,7 @@ end --@src/devices/cpu/dsp32/dsp32.h,CPUS["DSP32C"] = true -------------------------------------------------- -if (CPUS["DSP32C"]~=null) then +if CPUS["DSP32C"] then files { MAME_DIR .. "src/devices/cpu/dsp32/dsp32.cpp", MAME_DIR .. "src/devices/cpu/dsp32/dsp32.h", @@ -311,7 +341,7 @@ if (CPUS["DSP32C"]~=null) then } end -if (CPUS["DSP32C"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DSP32C") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp32/dsp32dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp32/dsp32dis.h") end @@ -321,14 +351,14 @@ end --@src/devices/cpu/asap/asap.h,CPUS["ASAP"] = true -------------------------------------------------- -if (CPUS["ASAP"]~=null) then +if CPUS["ASAP"] then files { MAME_DIR .. "src/devices/cpu/asap/asap.cpp", MAME_DIR .. "src/devices/cpu/asap/asap.h", } end -if (CPUS["ASAP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ASAP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/asap/asapdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/asap/asapdasm.h") end @@ -338,7 +368,7 @@ end --@src/devices/cpu/am29000/am29000.h,CPUS["AM29000"] = true -------------------------------------------------- -if (CPUS["AM29000"]~=null) then +if CPUS["AM29000"] then files { MAME_DIR .. "src/devices/cpu/am29000/am29000.cpp", MAME_DIR .. "src/devices/cpu/am29000/am29000.h", @@ -346,7 +376,7 @@ if (CPUS["AM29000"]~=null) then } end -if (CPUS["AM29000"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "AM29000") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/am29000/am29dasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/am29000/am29dasm.cpp") end @@ -356,14 +386,14 @@ end --@src/devices/cpu/jaguar/jaguar.h,CPUS["JAGUAR"] = true -------------------------------------------------- -if (CPUS["JAGUAR"]~=null) then +if CPUS["JAGUAR"] then files { MAME_DIR .. "src/devices/cpu/jaguar/jaguar.cpp", MAME_DIR .. "src/devices/cpu/jaguar/jaguar.h", } end -if (CPUS["JAGUAR"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "JAGUAR") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/jaguar/jagdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/jaguar/jagdasm.h") end @@ -373,14 +403,14 @@ end --@src/devices/cpu/cubeqcpu/cubeqcpu.h,CPUS["CUBEQCPU"] = true -------------------------------------------------- -if (CPUS["CUBEQCPU"]~=null) then +if CPUS["CUBEQCPU"] then files { MAME_DIR .. "src/devices/cpu/cubeqcpu/cubeqcpu.cpp", MAME_DIR .. "src/devices/cpu/cubeqcpu/cubeqcpu.h", } end -if (CPUS["CUBEQCPU"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CUBEQCPU") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cubeqcpu/cubedasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cubeqcpu/cubedasm.h") end @@ -390,14 +420,14 @@ end --@src/devices/cpu/es5510/es5510.h,CPUS["ES5510"] = true -------------------------------------------------- -if (CPUS["ES5510"]~=null) then +if CPUS["ES5510"] then files { MAME_DIR .. "src/devices/cpu/es5510/es5510.cpp", MAME_DIR .. "src/devices/cpu/es5510/es5510.h", } end -if (CPUS["ES5510"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ES5510") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/es5510/es5510d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/es5510/es5510d.h") end @@ -407,14 +437,14 @@ end --@src/devices/cpu/esrip/esrip.h,CPUS["ESRIP"] = true -------------------------------------------------- -if (CPUS["ESRIP"]~=null) then +if CPUS["ESRIP"] then files { MAME_DIR .. "src/devices/cpu/esrip/esrip.cpp", MAME_DIR .. "src/devices/cpu/esrip/esrip.h", } end -if (CPUS["ESRIP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ESRIP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/esrip/esripdsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/esrip/esripdsm.h") end @@ -424,7 +454,7 @@ end --@src/devices/cpu/e0c6200/e0c6200.h,CPUS["E0C6200"] = true -------------------------------------------------- -if (CPUS["E0C6200"]~=null) then +if CPUS["E0C6200"] then files { MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200.cpp", MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200.h", @@ -434,7 +464,7 @@ if (CPUS["E0C6200"]~=null) then } end -if (CPUS["E0C6200"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "E0C6200") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e0c6200/e0c6200d.h") end @@ -444,24 +474,44 @@ end --@src/devices/cpu/cosmac/cosmac.h,CPUS["COSMAC"] = true -------------------------------------------------- -if (CPUS["COSMAC"]~=null) then +if CPUS["COSMAC"] then files { MAME_DIR .. "src/devices/cpu/cosmac/cosmac.cpp", MAME_DIR .. "src/devices/cpu/cosmac/cosmac.h", } end -if (CPUS["COSMAC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "COSMAC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cosmac/cosdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cosmac/cosdasm.h") end -------------------------------------------------- --- National Semiconductor COP400 family +-- National Semiconductor COPS(MM57) family +--@src/devices/cpu/cops1/mm5799.h,CPUS["COPS1"] = true +-------------------------------------------------- + +if CPUS["COPS1"] then + files { + MAME_DIR .. "src/devices/cpu/cops1/cops1base.cpp", + MAME_DIR .. "src/devices/cpu/cops1/cops1base.h", + MAME_DIR .. "src/devices/cpu/cops1/mm5799.cpp", + MAME_DIR .. "src/devices/cpu/cops1/mm5799.h", + MAME_DIR .. "src/devices/cpu/cops1/mm5799op.cpp", + } +end + +if opt_tool(CPUS, "COPS1") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cops1/cops1d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cops1/cops1d.h") +end + +-------------------------------------------------- +-- National Semiconductor COPS(COP400) family --@src/devices/cpu/cop400/cop400.h,CPUS["COP400"] = true -------------------------------------------------- -if (CPUS["COP400"]~=null) then +if CPUS["COP400"] then files { MAME_DIR .. "src/devices/cpu/cop400/cop400.cpp", MAME_DIR .. "src/devices/cpu/cop400/cop400.h", @@ -469,7 +519,7 @@ if (CPUS["COP400"]~=null) then } end -if (CPUS["COP400"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "COP400") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop410ds.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop410ds.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cop400/cop420ds.cpp") @@ -485,14 +535,14 @@ end --@src/devices/cpu/cp1610/cp1610.h,CPUS["CP1610"] = true -------------------------------------------------- -if (CPUS["CP1610"]~=null) then +if CPUS["CP1610"] then files { MAME_DIR .. "src/devices/cpu/cp1610/cp1610.cpp", MAME_DIR .. "src/devices/cpu/cp1610/cp1610.h", } end -if (CPUS["CP1610"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CP1610") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cp1610/1610dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cp1610/1610dasm.h") end @@ -502,14 +552,14 @@ end --@src/devices/cpu/ccpu/ccpu.h,CPUS["CCPU"] = true -------------------------------------------------- -if (CPUS["CCPU"]~=null) then +if CPUS["CCPU"] then files { MAME_DIR .. "src/devices/cpu/ccpu/ccpu.cpp", MAME_DIR .. "src/devices/cpu/ccpu/ccpu.h", } end -if (CPUS["CCPU"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CCPU") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ccpu/ccpudasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ccpu/ccpudasm.cpp") end @@ -519,7 +569,7 @@ end --@src/devices/cpu/t11/t11.h,CPUS["T11"] = true -------------------------------------------------- -if (CPUS["T11"]~=null) then +if CPUS["T11"] then files { MAME_DIR .. "src/devices/cpu/t11/t11.cpp", MAME_DIR .. "src/devices/cpu/t11/t11.h", @@ -528,7 +578,7 @@ if (CPUS["T11"]~=null) then } end -if (CPUS["T11"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "T11") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/t11/t11dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/t11/t11dasm.h") end @@ -536,16 +586,19 @@ end -------------------------------------------------- -- DEC PDP-8 --@src/devices/cpu/pdp8/pdp8.h,CPUS["PDP8"] = true +--@src/devices/cpu/pdp8/hd6120.h,CPUS["PDP8"] = true -------------------------------------------------- -if (CPUS["PDP8"]~=null) then +if CPUS["PDP8"] then files { + MAME_DIR .. "src/devices/cpu/pdp8/hd6120.cpp", + MAME_DIR .. "src/devices/cpu/pdp8/hd6120.h", MAME_DIR .. "src/devices/cpu/pdp8/pdp8.cpp", MAME_DIR .. "src/devices/cpu/pdp8/pdp8.h", } end -if (CPUS["PDP8"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PDP8") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp8/pdp8dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp8/pdp8dasm.h") end @@ -555,50 +608,86 @@ end --@src/devices/cpu/f8/f8.h,CPUS["F8"] = true -------------------------------------------------- -if (CPUS["F8"]~=null) then +if CPUS["F8"] then files { MAME_DIR .. "src/devices/cpu/f8/f8.cpp", MAME_DIR .. "src/devices/cpu/f8/f8.h", } end -if (CPUS["F8"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "F8") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f8/f8dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f8/f8dasm.h") end -------------------------------------------------- +-- Fujitsu FR +--@src/devices/cpu/fr/fr.h,CPUS["FR"] = true +-------------------------------------------------- + +if CPUS["FR"] then + files { + MAME_DIR .. "src/devices/cpu/fr/fr.cpp", + MAME_DIR .. "src/devices/cpu/fr/fr.h", + } +end + +if opt_tool(CPUS, "FR") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/fr/frdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/fr/frdasm.h") +end + +-------------------------------------------------- -- G65816 --@src/devices/cpu/g65816/g65816.h,CPUS["G65816"] = true -------------------------------------------------- -if (CPUS["G65816"]~=null) then +if CPUS["G65816"] then files { MAME_DIR .. "src/devices/cpu/g65816/g65816.cpp", MAME_DIR .. "src/devices/cpu/g65816/g65816.h", + MAME_DIR .. "src/devices/cpu/g65816/g65816cm.h", + MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h", MAME_DIR .. "src/devices/cpu/g65816/g65816o0.cpp", MAME_DIR .. "src/devices/cpu/g65816/g65816o1.cpp", MAME_DIR .. "src/devices/cpu/g65816/g65816o2.cpp", MAME_DIR .. "src/devices/cpu/g65816/g65816o3.cpp", MAME_DIR .. "src/devices/cpu/g65816/g65816o4.cpp", - MAME_DIR .. "src/devices/cpu/g65816/g65816cm.h", - MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h", - MAME_DIR .. "src/devices/cpu/g65816/g65816op.h", + MAME_DIR .. "src/devices/cpu/g65816/g65816op.ipp", } end -if (CPUS["G65816"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "G65816") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/g65816/g65816ds.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/g65816/g65816ds.h") end -------------------------------------------------- +-- Hitachi H16 +--@src/devices/cpu/h16/hd641016.h,CPUS["H16"] = true +-------------------------------------------------- + +if CPUS["H16"] then + files { + MAME_DIR .. "src/devices/cpu/h16/hd641016.cpp", + MAME_DIR .. "src/devices/cpu/h16/hd641016.h", + } +end + +if opt_tool(CPUS, "H16") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h16/h16dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h16/h16dasm.h") +end + +-------------------------------------------------- -- Hitachi H8 (16/32-bit H8/300, H8/300H, H8S2000 and H8S2600 series) --@src/devices/cpu/h8/h8.h,CPUS["H8"] = true -------------------------------------------------- -if (CPUS["H8"]~=null) then +if CPUS["H8"] then files { + MAME_DIR .. "src/devices/cpu/h8/c77.cpp", + MAME_DIR .. "src/devices/cpu/h8/c77.h", MAME_DIR .. "src/devices/cpu/h8/h8.cpp", MAME_DIR .. "src/devices/cpu/h8/h8.h", MAME_DIR .. "src/devices/cpu/h8/h8h.cpp", @@ -607,8 +696,8 @@ if (CPUS["H8"]~=null) then MAME_DIR .. "src/devices/cpu/h8/h8s2000.h", MAME_DIR .. "src/devices/cpu/h8/h8s2600.cpp", MAME_DIR .. "src/devices/cpu/h8/h8s2600.h", - MAME_DIR .. "src/devices/cpu/h8/h83337.cpp", - MAME_DIR .. "src/devices/cpu/h8/h83337.h", + MAME_DIR .. "src/devices/cpu/h8/h8325.cpp", + MAME_DIR .. "src/devices/cpu/h8/h8325.h", MAME_DIR .. "src/devices/cpu/h8/h83002.cpp", MAME_DIR .. "src/devices/cpu/h8/h83002.h", MAME_DIR .. "src/devices/cpu/h8/h83003.cpp", @@ -617,12 +706,22 @@ if (CPUS["H8"]~=null) then MAME_DIR .. "src/devices/cpu/h8/h83006.h", MAME_DIR .. "src/devices/cpu/h8/h83008.cpp", MAME_DIR .. "src/devices/cpu/h8/h83008.h", + MAME_DIR .. "src/devices/cpu/h8/h83032.cpp", + MAME_DIR .. "src/devices/cpu/h8/h83032.h", + MAME_DIR .. "src/devices/cpu/h8/h83042.cpp", + MAME_DIR .. "src/devices/cpu/h8/h83042.h", MAME_DIR .. "src/devices/cpu/h8/h83048.cpp", MAME_DIR .. "src/devices/cpu/h8/h83048.h", + MAME_DIR .. "src/devices/cpu/h8/h83217.cpp", + MAME_DIR .. "src/devices/cpu/h8/h83217.h", + MAME_DIR .. "src/devices/cpu/h8/h83337.cpp", + MAME_DIR .. "src/devices/cpu/h8/h83337.h", MAME_DIR .. "src/devices/cpu/h8/h8s2245.cpp", MAME_DIR .. "src/devices/cpu/h8/h8s2245.h", - MAME_DIR .. "src/devices/cpu/h8/h8s2320.cpp", - MAME_DIR .. "src/devices/cpu/h8/h8s2320.h", + MAME_DIR .. "src/devices/cpu/h8/h8s2319.cpp", + MAME_DIR .. "src/devices/cpu/h8/h8s2319.h", + MAME_DIR .. "src/devices/cpu/h8/h8s2329.cpp", + MAME_DIR .. "src/devices/cpu/h8/h8s2329.h", MAME_DIR .. "src/devices/cpu/h8/h8s2357.cpp", MAME_DIR .. "src/devices/cpu/h8/h8s2357.h", MAME_DIR .. "src/devices/cpu/h8/h8s2655.cpp", @@ -645,6 +744,10 @@ if (CPUS["H8"]~=null) then MAME_DIR .. "src/devices/cpu/h8/h8_sci.h", MAME_DIR .. "src/devices/cpu/h8/h8_watchdog.cpp", MAME_DIR .. "src/devices/cpu/h8/h8_watchdog.h", + MAME_DIR .. "src/devices/cpu/h8/gt913.cpp", + MAME_DIR .. "src/devices/cpu/h8/gt913.h", + MAME_DIR .. "src/devices/cpu/h8/swx00.cpp", + MAME_DIR .. "src/devices/cpu/h8/swx00.h", } dependency { @@ -652,6 +755,7 @@ if (CPUS["H8"]~=null) then { MAME_DIR .. "src/devices/cpu/h8/h8h.cpp", GEN_DIR .. "emu/cpu/h8/h8h.hxx" }, { MAME_DIR .. "src/devices/cpu/h8/h8s2000.cpp", GEN_DIR .. "emu/cpu/h8/h8s2000.hxx" }, { MAME_DIR .. "src/devices/cpu/h8/h8s2600.cpp", GEN_DIR .. "emu/cpu/h8/h8s2600.hxx" }, + { MAME_DIR .. "src/devices/cpu/h8/gt913.cpp", GEN_DIR .. "emu/cpu/h8/gt913.hxx" }, } custombuildtask { @@ -659,19 +763,22 @@ if (CPUS["H8"]~=null) then { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8h.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300H source file...", PYTHON .. " $(1) $(<) s h $(@)" }}, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2000.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2000 source file...", PYTHON .. " $(1) $(<) s s20 $(@)" }}, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2600.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2600 source file...", PYTHON .. " $(1) $(<) s s26 $(@)" }}, + { MAME_DIR .. "src/devices/cpu/h8/gt913.lst" , GEN_DIR .. "emu/cpu/h8/gt913.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating GT913 source file...", PYTHON .. " $(1) $(<) s g $(@)" }}, } end -if (CPUS["H8"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300 disassembler source file...", PYTHON .. " $(1) $(<) d o $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8hd.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300H disassembler source file...", PYTHON .. " $(1) $(<) d h $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2000d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2000 disassembler source file...", PYTHON .. " $(1) $(<) d s20 $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2600d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2600 disassembler source file...", PYTHON .. " $(1) $(<) d s26 $(@)" }}) +if opt_tool(CPUS, "H8") then + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300 disassembler source file...", PYTHON .. " $(1) $(<) d o $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8hd.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8-300H disassembler source file...", PYTHON .. " $(1) $(<) d h $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2000d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2000 disassembler source file...", PYTHON .. " $(1) $(<) d s20 $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/h8.lst" , GEN_DIR .. "emu/cpu/h8/h8s2600d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating H8S/2600 disassembler source file...", PYTHON .. " $(1) $(<) d s26 $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/h8/gt913.lst" , GEN_DIR .. "emu/cpu/h8/gt913d.hxx", { MAME_DIR .. "src/devices/cpu/h8/h8make.py" }, {"@echo Generating GT913 disassembler source file...", PYTHON .. " $(1) $(<) d g $(@)" }}) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8d.cpp", GEN_DIR .. "emu/cpu/h8/h8d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8hd.cpp", GEN_DIR .. "emu/cpu/h8/h8hd.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8s2000d.cpp", GEN_DIR .. "emu/cpu/h8/h8s2000d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/h8s2600d.cpp", GEN_DIR .. "emu/cpu/h8/h8s2600d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/h8/gt913d.cpp", GEN_DIR .. "emu/cpu/h8/gt913d.hxx" }) table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8d.h") @@ -681,6 +788,33 @@ if (CPUS["H8"]~=null or _OPTIONS["with-tools"]) then table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2000d.h") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2600d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/h8s2600d.h") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/gt913d.cpp") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/h8/gt913d.h") +end + +-------------------------------------------------- +-- Hitachi H8/500 series +--@src/devices/cpu/h8500/h8500.h,CPUS["H8500"] = true +-------------------------------------------------- + +if CPUS["H8500"] then + files { + MAME_DIR .. "src/devices/cpu/h8500/h8500.cpp", + MAME_DIR .. "src/devices/cpu/h8500/h8500.h", + MAME_DIR .. "src/devices/cpu/h8500/h8510.cpp", + MAME_DIR .. "src/devices/cpu/h8500/h8510.h", + MAME_DIR .. "src/devices/cpu/h8500/h8520.cpp", + MAME_DIR .. "src/devices/cpu/h8500/h8520.h", + MAME_DIR .. "src/devices/cpu/h8500/h8532.cpp", + MAME_DIR .. "src/devices/cpu/h8500/h8532.h", + MAME_DIR .. "src/devices/cpu/h8500/h8534.cpp", + MAME_DIR .. "src/devices/cpu/h8500/h8534.h", + } +end + +if opt_tool(CPUS, "H8500") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h8500/h8500dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h8500/h8500dasm.h") end -------------------------------------------------- @@ -688,14 +822,14 @@ end --@src/devices/cpu/hcd62121/hcd62121.h,CPUS["HCD62121"] = true -------------------------------------------------- -if (CPUS["HCD62121"]~=null) then +if CPUS["HCD62121"] then files { MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.cpp", MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121.h", } end -if (CPUS["HCD62121"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "HCD62121") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hcd62121/hcd62121d.h") end @@ -705,7 +839,7 @@ end --@src/devices/cpu/hmcs40/hmcs40.h,CPUS["HMCS40"] = true -------------------------------------------------- -if (CPUS["HMCS40"]~=null) then +if CPUS["HMCS40"] then files { MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40.cpp", MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40.h", @@ -713,49 +847,103 @@ if (CPUS["HMCS40"]~=null) then } end -if (CPUS["HMCS40"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "HMCS40") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs40/hmcs40d.h") end -------------------------------------------------- +-- Hitachi HMCS400 series +--@src/devices/cpu/hmcs400/hmcs400.h,CPUS["HMCS400"] = true +-------------------------------------------------- + +if CPUS["HMCS400"] then + files { + MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400.cpp", + MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400.h", + MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400op.cpp", + } +end + +if opt_tool(CPUS, "HMCS400") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400d.h") +end + +-------------------------------------------------- -- Hitachi SuperH series (SH1/SH2/SH3/SH4) --@src/devices/cpu/sh/sh2.h,CPUS["SH"] = true --@src/devices/cpu/sh/sh4.h,CPUS["SH"] = true -------------------------------------------------- -if (CPUS["SH"]~=null) then +if CPUS["SH"] then files { + MAME_DIR .. "src/devices/cpu/sh/sh_fe.cpp", MAME_DIR .. "src/devices/cpu/sh/sh.cpp", MAME_DIR .. "src/devices/cpu/sh/sh.h", MAME_DIR .. "src/devices/cpu/sh/sh2.cpp", MAME_DIR .. "src/devices/cpu/sh/sh2.h", - MAME_DIR .. "src/devices/cpu/sh/sh2comn.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh2comn.h", - MAME_DIR .. "src/devices/cpu/sh/sh_fe.cpp", MAME_DIR .. "src/devices/cpu/sh/sh2fe.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh4fe.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.h", - MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.h", - MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.h", + MAME_DIR .. "src/devices/cpu/sh/sh3comn.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh3comn.h", MAME_DIR .. "src/devices/cpu/sh/sh4.cpp", MAME_DIR .. "src/devices/cpu/sh/sh4.h", MAME_DIR .. "src/devices/cpu/sh/sh4comn.cpp", MAME_DIR .. "src/devices/cpu/sh/sh4comn.h", - MAME_DIR .. "src/devices/cpu/sh/sh3comn.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh3comn.h", - MAME_DIR .. "src/devices/cpu/sh/sh4tmu.cpp", - MAME_DIR .. "src/devices/cpu/sh/sh4tmu.h", MAME_DIR .. "src/devices/cpu/sh/sh4dmac.cpp", MAME_DIR .. "src/devices/cpu/sh/sh4dmac.h", + MAME_DIR .. "src/devices/cpu/sh/sh4fe.cpp", MAME_DIR .. "src/devices/cpu/sh/sh4regs.h", + MAME_DIR .. "src/devices/cpu/sh/sh4tmu.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh4tmu.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_bsc.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_bsc.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_dmac.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_dmac.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_intc.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_intc.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_mtu.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_mtu.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_port.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_port.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014_sci.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014_sci.h", + MAME_DIR .. "src/devices/cpu/sh/sh7014.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7014.h", + MAME_DIR .. "src/devices/cpu/sh/sh7021.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7021.h", + MAME_DIR .. "src/devices/cpu/sh/sh7032.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7032.h", + MAME_DIR .. "src/devices/cpu/sh/sh7042.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7042.h", + MAME_DIR .. "src/devices/cpu/sh/sh_adc.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_adc.h", + MAME_DIR .. "src/devices/cpu/sh/sh_bsc.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_bsc.h", + MAME_DIR .. "src/devices/cpu/sh/sh_cmt.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_cmt.h", + MAME_DIR .. "src/devices/cpu/sh/sh_dmac.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_dmac.h", + MAME_DIR .. "src/devices/cpu/sh/sh_intc.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_intc.h", + MAME_DIR .. "src/devices/cpu/sh/sh_mtu.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_mtu.h", + MAME_DIR .. "src/devices/cpu/sh/sh_port.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_port.h", + MAME_DIR .. "src/devices/cpu/sh/sh_sci.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh_sci.h", + MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7604_bus.h", + MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7604_sci.h", + MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7604_wdt.h", + MAME_DIR .. "src/devices/cpu/sh/sh7604.cpp", + MAME_DIR .. "src/devices/cpu/sh/sh7604.h", } end -if (CPUS["SH"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SH") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sh/sh_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sh/sh_dasm.h") end @@ -765,14 +953,14 @@ end --@src/devices/cpu/st62xx/st62xx.h,CPUS["ST62XX"] = true -------------------------------------------------- -if (CPUS["ST62XX"]~=null) then +if CPUS["ST62XX"] then files { MAME_DIR .. "src/devices/cpu/st62xx/st62xx.cpp", MAME_DIR .. "src/devices/cpu/st62xx/st62xx.h", } end -if (CPUS["ST62XX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ST62XX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st62xx/st62xx_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st62xx/st62xx_dasm.h") end @@ -782,14 +970,14 @@ end --@src/devices/cpu/hphybrid/hphybrid.h,CPUS["HPHYBRID"] = true -------------------------------------------------- -if (CPUS["HPHYBRID"]~=null) then +if CPUS["HPHYBRID"] then files { MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid.cpp", MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid.h", } end -if (CPUS["HPHYBRID"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "HPHYBRID") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_dasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hphybrid/hphybrid_defs.h") @@ -800,14 +988,14 @@ end --@src/devices/cpu/nanoprocessor/nanoprocessor.h,CPUS["NANOPROCESSOR"] = true -------------------------------------------------- -if (CPUS["NANOPROCESSOR"]~=null) then +if CPUS["NANOPROCESSOR"] then files { MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor.cpp", MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor.h", } end -if (CPUS["NANOPROCESSOR"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "NANOPROCESSOR") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nanoprocessor/nanoprocessor_dasm.h") end @@ -817,14 +1005,14 @@ end --@src/devices/cpu/capricorn/capricorn.h,CPUS["CAPRICORN"] = true -------------------------------------------------- -if (CPUS["CAPRICORN"]~=null) then +if CPUS["CAPRICORN"] then files { MAME_DIR .. "src/devices/cpu/capricorn/capricorn.cpp", MAME_DIR .. "src/devices/cpu/capricorn/capricorn.h", } end -if (CPUS["CAPRICORN"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CAPRICORN") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/capricorn/capricorn_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/capricorn/capricorn_dasm.h") end @@ -834,14 +1022,14 @@ end --@src/devices/cpu/h6280/h6280.h,CPUS["H6280"] = true -------------------------------------------------- -if (CPUS["H6280"]~=null) then +if CPUS["H6280"] then files { MAME_DIR .. "src/devices/cpu/h6280/h6280.cpp", MAME_DIR .. "src/devices/cpu/h6280/h6280.h", } end -if (CPUS["H6280"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "H6280") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h6280/6280dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/h6280/6280dasm.h") end @@ -851,7 +1039,7 @@ end --@src/devices/cpu/e132xs/e132xs.h,CPUS["E1"] = true -------------------------------------------------- -if (CPUS["E1"]~=null) then +if CPUS["E1"] then files { MAME_DIR .. "src/devices/cpu/e132xs/e132xs.cpp", MAME_DIR .. "src/devices/cpu/e132xs/e132xs.h", @@ -863,7 +1051,7 @@ if (CPUS["E1"]~=null) then } end -if (CPUS["E1"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "E1") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e132xs/32xsdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/e132xs/32xsdasm.h") end @@ -873,14 +1061,14 @@ end --@src/devices/cpu/ie15/ie15.h,CPUS["IE15"] = true -------------------------------------------------- -if (CPUS["IE15"]~=null) then +if CPUS["IE15"] then files { MAME_DIR .. "src/devices/cpu/ie15/ie15.cpp", MAME_DIR .. "src/devices/cpu/ie15/ie15.h", } end -if (CPUS["IE15"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "IE15") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ie15/ie15dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ie15/ie15dasm.h") end @@ -890,14 +1078,14 @@ end --@src/devices/cpu/mcs40/mcs40.h,CPUS["MCS40"] = true -------------------------------------------------- -if (CPUS["MCS40"]~=null) then +if CPUS["MCS40"] then files { MAME_DIR .. "src/devices/cpu/mcs40/mcs40.cpp", MAME_DIR .. "src/devices/cpu/mcs40/mcs40.h", } end -if (CPUS["MCS40"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MCS40") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs40/mcs40dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs40/mcs40dasm.h") end @@ -907,14 +1095,14 @@ end --@src/devices/cpu/i8008/i8008.h,CPUS["I8008"] = true -------------------------------------------------- -if (CPUS["I8008"]~=null) then +if CPUS["I8008"] then files { MAME_DIR .. "src/devices/cpu/i8008/i8008.cpp", MAME_DIR .. "src/devices/cpu/i8008/i8008.h", } end -if (CPUS["I8008"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "I8008") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8008/8008dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8008/8008dasm.h") end @@ -924,14 +1112,14 @@ end --@src/devices/cpu/scmp/scmp.h,CPUS["SCMP"] = true -------------------------------------------------- -if (CPUS["SCMP"]~=null) then +if CPUS["SCMP"] then files { MAME_DIR .. "src/devices/cpu/scmp/scmp.cpp", MAME_DIR .. "src/devices/cpu/scmp/scmp.h", } end -if (CPUS["SCMP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SCMP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scmp/scmpdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scmp/scmpdasm.h") end @@ -941,14 +1129,14 @@ end --@src/devices/cpu/i8085/i8085.h,CPUS["I8085"] = true -------------------------------------------------- -if (CPUS["I8085"]~=null) then +if CPUS["I8085"] then files { MAME_DIR .. "src/devices/cpu/i8085/i8085.cpp", MAME_DIR .. "src/devices/cpu/i8085/i8085.h", } end -if (CPUS["I8085"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "I8085") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8085/8085dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8085/8085dasm.h") end @@ -958,7 +1146,7 @@ end --@src/devices/cpu/i8089/i8089.h,CPUS["I8089"] = true -------------------------------------------------- -if (CPUS["I8089"]~=null) then +if CPUS["I8089"] then files { MAME_DIR .. "src/devices/cpu/i8089/i8089.cpp", MAME_DIR .. "src/devices/cpu/i8089/i8089.h", @@ -968,7 +1156,7 @@ if (CPUS["I8089"]~=null) then } end -if (CPUS["I8089"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "I8089") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8089/i8089_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i8089/i8089_dasm.h") end @@ -978,14 +1166,14 @@ end --@src/devices/cpu/mcs48/mcs48.h,CPUS["MCS48"] = true -------------------------------------------------- -if (CPUS["MCS48"]~=null) then +if CPUS["MCS48"] then files { MAME_DIR .. "src/devices/cpu/mcs48/mcs48.cpp", MAME_DIR .. "src/devices/cpu/mcs48/mcs48.h", } end -if (CPUS["MCS48"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MCS48") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs48/mcs48dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs48/mcs48dsm.h") end @@ -995,29 +1183,64 @@ end --@src/devices/cpu/mcs51/mcs51.h,CPUS["MCS51"] = true -------------------------------------------------- -if (CPUS["MCS51"]~=null) then +if CPUS["MCS51"] then files { MAME_DIR .. "src/devices/cpu/mcs51/mcs51.cpp", MAME_DIR .. "src/devices/cpu/mcs51/mcs51.h", MAME_DIR .. "src/devices/cpu/mcs51/mcs51ops.hxx", - MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.cpp", - MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.h", } end -if (CPUS["MCS51"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MCS51") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.h") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.h") end -------------------------------------------------- +-- Appotech AXC-51 (extended Intel 8051) +--@src/devices/cpu/axc51/axc51.h,CPUS["AXC51"] = true +-------------------------------------------------- + +if CPUS["AXC51"] then + files { + MAME_DIR .. "src/devices/cpu/axc51/axc51.cpp", + MAME_DIR .. "src/devices/cpu/axc51/axc51.h", + MAME_DIR .. "src/devices/cpu/axc51/axc51ops.hxx", + MAME_DIR .. "src/devices/cpu/axc51/axc51extops.hxx", + } +end + +if opt_tool(CPUS, "AXC51") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/axc51/axc51dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/acx51/axc51dasm.h") +end + + +-------------------------------------------------- +-- Philips XA (80c51 inspired) +--@src/devices/cpu/xa/xa.h,CPUS["XA"] = true +-------------------------------------------------- + +if CPUS["XA"] then + files { + MAME_DIR .. "src/devices/cpu/xa/xa.cpp", + MAME_DIR .. "src/devices/cpu/xa/xa_ops.cpp", + MAME_DIR .. "src/devices/cpu/xa/xa.h", + } +end + +if opt_tool(CPUS, "XA") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xa/xadasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xa/xadasm.h") +end + + +-------------------------------------------------- -- Intel MCS-96 --@src/devices/cpu/mcs96/mcs96.h,CPUS["MCS96"] = true -------------------------------------------------- -if (CPUS["MCS96"]~=null) then +if CPUS["MCS96"] then files { MAME_DIR .. "src/devices/cpu/mcs96/mcs96.cpp", MAME_DIR .. "src/devices/cpu/mcs96/mcs96.h", @@ -1039,7 +1262,7 @@ if (CPUS["MCS96"]~=null) then } end -if (CPUS["MCS96"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MCS96") then table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst", GEN_DIR .. "emu/cpu/mcs96/i8x9xd.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8x9x disassembler source file...", PYTHON .. " $(1) d i8x9x $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/mcs96/mcs96ops.lst", GEN_DIR .. "emu/cpu/mcs96/i8xc196d.hxx", { MAME_DIR .. "src/devices/cpu/mcs96/mcs96make.py" }, {"@echo Generating i8xc196 disassembler source file...", PYTHON .. " $(1) d i8xc196 $(<) $(2) $(@)" }}) @@ -1058,7 +1281,7 @@ if (CPUS["MCS96"]~=null or _OPTIONS["with-tools"]) then --@src/devices/cpu/i386/i386.h,CPUS["I386"] = true -------------------------------------------------- -if (CPUS["I86"]~=null) then +if CPUS["I86"] then files { MAME_DIR .. "src/devices/cpu/i86/i86.cpp", MAME_DIR .. "src/devices/cpu/i86/i86.h", @@ -1070,12 +1293,15 @@ if (CPUS["I86"]~=null) then } end -if (CPUS["I86"]~=null or CPUS["I386"]~=null or CPU_INCLUDE_DRC or _OPTIONS["with-tools"]) then +-- Beware that opt_tool can set the value, so we want both to be executed always +local want_disasm_i86 = opt_tool(CPUS, "I86") +local want_disasm_i386 = opt_tool(CPUS, "I386") +if want_disasm_i86 or want_disasm_i386 or CPU_INCLUDE_DRC_NATIVE then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i386/i386dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i386/i386dasm.h") end -if (CPUS["I386"]~=null) then +if CPUS["I386"] then files { MAME_DIR .. "src/devices/cpu/i386/i386.cpp", MAME_DIR .. "src/devices/cpu/i386/i386.h", @@ -1102,7 +1328,7 @@ end --@src/devices/cpu/i860/i860.h,CPUS["I860"] = true -------------------------------------------------- -if (CPUS["I860"]~=null) then +if CPUS["I860"] then files { MAME_DIR .. "src/devices/cpu/i860/i860.cpp", MAME_DIR .. "src/devices/cpu/i860/i860.h", @@ -1110,7 +1336,7 @@ if (CPUS["I860"]~=null) then } end -if (CPUS["I860"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "I860") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i860/i860dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i860/i860dis.h") end @@ -1120,14 +1346,14 @@ end --@src/devices/cpu/i960/i960.h,CPUS["I960"] = true -------------------------------------------------- -if (CPUS["I960"]~=null) then +if CPUS["I960"] then files { MAME_DIR .. "src/devices/cpu/i960/i960.cpp", MAME_DIR .. "src/devices/cpu/i960/i960.h", } end -if (CPUS["I960"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "I960") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i960/i960dis.h") end @@ -1137,7 +1363,7 @@ end --@src/devices/cpu/lh5801/lh5801.h,CPUS["LH5801"] = true -------------------------------------------------- -if (CPUS["LH5801"]~=null) then +if CPUS["LH5801"] then files { MAME_DIR .. "src/devices/cpu/lh5801/lh5801.cpp", MAME_DIR .. "src/devices/cpu/lh5801/lh5801.h", @@ -1145,7 +1371,7 @@ if (CPUS["LH5801"]~=null) then } end -if (CPUS["LH5801"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "LH5801") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lh5801/5801dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lh5801/5801dasm.h") end @@ -1155,14 +1381,14 @@ end --@src/devices/cpu/ssem/ssem.h,CPUS["SSEM"] = true -------------------------------------------------- -if (CPUS["SSEM"]~=null) then +if CPUS["SSEM"] then files { MAME_DIR .. "src/devices/cpu/ssem/ssem.cpp", MAME_DIR .. "src/devices/cpu/ssem/ssem.h", } end -if (CPUS["SSEM"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SSEM") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/ssemdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/ssemdasm.h") end @@ -1172,16 +1398,35 @@ end --@src/devices/cpu/diablo/diablo1300.h,CPUS["DIABLO"] = true -------------------------------------------------- -if (CPUS["DIABLO"]~=null) then +if CPUS["DIABLO"] then files { MAME_DIR .. "src/devices/cpu/diablo/diablo1300.cpp", MAME_DIR .. "src/devices/cpu/diablo/diablo1300.h", } end -if (CPUS["DIABLO"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DIABLO") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/diablo/diablo1300dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssem/diablo1300dasm.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/diablo/diablo1300dasm.h") +end + +-------------------------------------------------- +-- KL1839VM1 +--@src/devices/cpu/mpk1839/kl1839vm1.h,CPUS["KL1839VM1"] = true +-------------------------------------------------- + +if CPUS["KL1839VM1"] then + files { + MAME_DIR .. "src/devices/cpu/mpk1839/kl1839vm1.cpp", + MAME_DIR .. "src/devices/cpu/mpk1839/kl1839vm1.h", + MAME_DIR .. "src/devices/cpu/vax/vaxdasm.cpp", + MAME_DIR .. "src/devices/cpu/vax/vaxdasm.h", + } +end + +if opt_tool(CPUS, "KL1839VM1") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mpk1839/kl1839vm1dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mpk1839/kl1839vm1dasm.h") end -------------------------------------------------- @@ -1189,14 +1434,14 @@ end --@src/devices/cpu/mb88xx/mb88xx.h,CPUS["MB88XX"] = true -------------------------------------------------- -if (CPUS["MB88XX"]~=null) then +if CPUS["MB88XX"] then files { MAME_DIR .. "src/devices/cpu/mb88xx/mb88xx.cpp", MAME_DIR .. "src/devices/cpu/mb88xx/mb88xx.h", } end -if (CPUS["MB88XX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MB88XX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb88xx/mb88dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb88xx/mb88dasm.h") end @@ -1206,14 +1451,14 @@ end --@src/devices/cpu/mb86233/mb86233.h,CPUS["MB86233"] = true -------------------------------------------------- -if (CPUS["MB86233"]~=null) then +if CPUS["MB86233"] then files { MAME_DIR .. "src/devices/cpu/mb86233/mb86233.cpp", MAME_DIR .. "src/devices/cpu/mb86233/mb86233.h", } end -if (CPUS["MB86233"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MB86233") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86233/mb86233d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86233/mb86233d.h") end @@ -1223,7 +1468,7 @@ end --@src/devices/cpu/mb86235/mb86235.h,CPUS["MB86235"] = true -------------------------------------------------- -if (CPUS["MB86235"]~=null) then +if CPUS["MB86235"] then files { MAME_DIR .. "src/devices/cpu/mb86235/mb86235.cpp", MAME_DIR .. "src/devices/cpu/mb86235/mb86235.h", @@ -1234,7 +1479,7 @@ if (CPUS["MB86235"]~=null) then } end -if (CPUS["MB86235"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MB86235") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86235/mb86235d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mb86235/mb86235d.h") end @@ -1244,48 +1489,104 @@ end --@src/devices/cpu/pic16c5x/pic16c5x.h,CPUS["PIC16C5X"] = true -------------------------------------------------- -if (CPUS["PIC16C5X"]~=null) then +if CPUS["PIC16C5X"] then files { MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.cpp", MAME_DIR .. "src/devices/cpu/pic16c5x/pic16c5x.h", } end -if (CPUS["PIC16C5X"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PIC16C5X") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c5x/16c5xdsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c5x/16c5xdsm.h") end -------------------------------------------------- +-- PIC1670 - Disassembler only temporarily +--@src/devices/cpu/pic1670/pic1670.h,CPUS["PIC1670"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "PIC1670") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic1670/pic1670d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic1670/pic1670d.h") +end + +-------------------------------------------------- -- Microchip PIC16C62x --@src/devices/cpu/pic16c62x/pic16c62x.h,CPUS["PIC16C62X"] = true -------------------------------------------------- -if (CPUS["PIC16C62X"]~=null) then +if CPUS["PIC16C62X"] then files { MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.cpp", MAME_DIR .. "src/devices/cpu/pic16c62x/pic16c62x.h", } end -if (CPUS["PIC16C62X"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PIC16C62X") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c62x/16c62xdsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16c62x/16c62xdsm.h") end -------------------------------------------------- +-- Microchip PIC16x8x +--@src/devices/cpu/pic16x8x/pic16x8x.h,CPUS["PIC16X8X"] = true +-------------------------------------------------- + +if CPUS["PIC16X8X"] then + files { + MAME_DIR .. "src/devices/cpu/pic16x8x/pic16x8x.cpp", + MAME_DIR .. "src/devices/cpu/pic16x8x/pic16x8x.h", + } +end + +if opt_tool(CPUS, "PIC16X8X") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16x8x/16x8xdsm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16x8x/16x8xdsm.h") +end + +-------------------------------------------------- +-- Generic PIC16 - Disassembler only +--@src/devices/cpu/pic16/pic16.h,CPUS["PIC16"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "PIC16") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16/pic16d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic16/pic16d.h") +end + +-------------------------------------------------- +-- Microchip PIC17 +--@src/devices/cpu/pic17/pic17.h,CPUS["PIC17"] = true +-------------------------------------------------- + +if CPUS["PIC17"] then + files { + MAME_DIR .. "src/devices/cpu/pic17/pic17.cpp", + MAME_DIR .. "src/devices/cpu/pic17/pic17.h", + MAME_DIR .. "src/devices/cpu/pic17/pic17c4x.cpp", + MAME_DIR .. "src/devices/cpu/pic17/pic17c4x.h", + } +end + +if opt_tool(CPUS, "PIC17") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic17/pic17d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pic17/pic17d.h") +end + +-------------------------------------------------- -- MIPS R3000 (MIPS I/II) series --@src/devices/cpu/mips/mips1.h,CPUS["MIPS1"] = true -------------------------------------------------- -if (CPUS["MIPS1"]~=null) then +if CPUS["MIPS1"] then files { MAME_DIR .. "src/devices/cpu/mips/mips1.cpp", MAME_DIR .. "src/devices/cpu/mips/mips1.h", } end -if (CPUS["MIPS1"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MIPS1") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips1dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips1dsm.h") end @@ -1296,7 +1597,7 @@ end --@src/devices/cpu/mips/r4000.h,CPUS["MIPS3"] = true -------------------------------------------------- -if (CPUS["MIPS3"]~=null) then +if CPUS["MIPS3"] then files { MAME_DIR .. "src/devices/cpu/mips/mips3com.cpp", MAME_DIR .. "src/devices/cpu/mips/mips3com.h", @@ -1315,7 +1616,7 @@ if (CPUS["MIPS3"]~=null) then } end -if (CPUS["MIPS3"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MIPS3") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips3dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/mips3dsm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mips/vudasm.cpp") @@ -1327,7 +1628,7 @@ end --@src/devices/cpu/psx/psx.h,CPUS["PSX"] = true -------------------------------------------------- -if (CPUS["PSX"]~=null) then +if CPUS["PSX"] then files { MAME_DIR .. "src/devices/cpu/psx/psx.cpp", MAME_DIR .. "src/devices/cpu/psx/psx.h", @@ -1347,17 +1648,34 @@ if (CPUS["PSX"]~=null) then } end -if (CPUS["PSX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PSX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/psx/psxdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/psx/psxdasm.h") end -------------------------------------------------- +-- MIPS-X +--@src/devices/cpu/mipsx/mipsx.h,CPUS["MIPSX"] = true +-------------------------------------------------- + +if CPUS["MIPSX"] then + files { + MAME_DIR .. "src/devices/cpu/mipsx/mipsx.cpp", + MAME_DIR .. "src/devices/cpu/mipsx/mipsx.h", + } +end + +if opt_tool(CPUS, "MIPSX") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mipsx/mipsxdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mipsx/mipsxdasm.h") +end + +-------------------------------------------------- -- Mitsubishi MELPS 4 series --@src/devices/cpu/melps4/melps4.h,CPUS["MELPS4"] = true -------------------------------------------------- -if (CPUS["MELPS4"]~=null) then +if CPUS["MELPS4"] then files { MAME_DIR .. "src/devices/cpu/melps4/melps4.cpp", MAME_DIR .. "src/devices/cpu/melps4/melps4.h", @@ -1367,17 +1685,35 @@ if (CPUS["MELPS4"]~=null) then } end -if (CPUS["MELPS4"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MELPS4") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/melps4/melps4d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/melps4/melps4d.h") end -------------------------------------------------- +-- Mitsubishi M16C, disassembler only +-------------------------------------------------- + +if opt_tool(CPUS, "M16C") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m16c/m16cdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m16c/m16cdasm.h") +end + +-------------------------------------------------- +-- Mitsubishi M32C, disassembler only +-------------------------------------------------- + +if opt_tool(CPUS, "M32C") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m32c/m32cdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m32c/m32cdasm.h") +end + +-------------------------------------------------- -- Mitsubishi M37702 and M37710 (based on 65C816) --@src/devices/cpu/m37710/m37710.h,CPUS["M37710"] = true -------------------------------------------------- -if (CPUS["M37710"]~=null) then +if CPUS["M37710"] then files { MAME_DIR .. "src/devices/cpu/m37710/m37710.cpp", MAME_DIR .. "src/devices/cpu/m37710/m37710.h", @@ -1391,53 +1727,75 @@ if (CPUS["M37710"]~=null) then } end -if (CPUS["M37710"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "M37710") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m37710/m7700ds.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m37710/m7700ds.h") end -------------------------------------------------- --- Mostek 6502 and its many derivatives ---@src/devices/cpu/m6502/m6502.h,CPUS["M6502"] = true +-- MOS Technology 6502 and its many derivatives --@src/devices/cpu/m6502/deco16.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/g65sc02.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/gew7.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/gew12.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m3745x.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m37640.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m4510.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m65ce02.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m65c02.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/r65c02.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m65sc02.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m50734.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m5074x.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6500_1.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m6502.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m6503.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6504.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6507.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6509.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6510.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m6510t.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m65ce02.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/m740.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m7501.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/m8502.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/n2a03.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m740.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m3745x.h,CPUS["M6502"] = true ---@src/devices/cpu/m6502/m5074x.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/r65c02.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/r65c19.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/rp2a03.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/st2xxx.h,CPUS["ST2XXX"] = true +--@src/devices/cpu/m6502/st2204.h,CPUS["ST2XXX"] = true +--@src/devices/cpu/m6502/st2205u.h,CPUS["ST2XXX"] = true +--@src/devices/cpu/m6502/w65c02.h,CPUS["M6502"] = true +--@src/devices/cpu/m6502/w65c02s.h,CPUS["M6502"] = true --@src/devices/cpu/m6502/xavix.h,CPUS["XAVIX"] = true --@src/devices/cpu/m6502/xavix.h,CPUS["XAVIX2000"] = true -------------------------------------------------- -if (CPUS["M6502"]~=null) then +if CPUS["M6502"] then files { MAME_DIR .. "src/devices/cpu/m6502/deco16.cpp", MAME_DIR .. "src/devices/cpu/m6502/deco16.h", + MAME_DIR .. "src/devices/cpu/m6502/g65sc02.cpp", + MAME_DIR .. "src/devices/cpu/m6502/g65sc02.h", + MAME_DIR .. "src/devices/cpu/m6502/gew7.cpp", + MAME_DIR .. "src/devices/cpu/m6502/gew7.h", + MAME_DIR .. "src/devices/cpu/m6502/gew12.cpp", + MAME_DIR .. "src/devices/cpu/m6502/gew12.h", + MAME_DIR .. "src/devices/cpu/m6502/m3745x.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m3745x.h", + MAME_DIR .. "src/devices/cpu/m6502/m37640.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m37640.h", MAME_DIR .. "src/devices/cpu/m6502/m4510.cpp", MAME_DIR .. "src/devices/cpu/m6502/m4510.h", - MAME_DIR .. "src/devices/cpu/m6502/m6502.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m6502.h", - MAME_DIR .. "src/devices/cpu/m6502/m65c02.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m65c02.h", - MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m65ce02.h", - MAME_DIR .. "src/devices/cpu/m6502/m65sc02.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m65sc02.h", + MAME_DIR .. "src/devices/cpu/m6502/m50734.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m50734.h", + MAME_DIR .. "src/devices/cpu/m6502/m5074x.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m5074x.h", MAME_DIR .. "src/devices/cpu/m6502/m6500_1.cpp", MAME_DIR .. "src/devices/cpu/m6502/m6500_1.h", + MAME_DIR .. "src/devices/cpu/m6502/m6502.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m6502.h", + MAME_DIR .. "src/devices/cpu/m6502/m6502mcu.h", + MAME_DIR .. "src/devices/cpu/m6502/m6502mcu.ipp", + MAME_DIR .. "src/devices/cpu/m6502/m6503.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m6503.h", MAME_DIR .. "src/devices/cpu/m6502/m6504.cpp", MAME_DIR .. "src/devices/cpu/m6502/m6504.h", MAME_DIR .. "src/devices/cpu/m6502/m6507.cpp", @@ -1448,83 +1806,122 @@ if (CPUS["M6502"]~=null) then MAME_DIR .. "src/devices/cpu/m6502/m6510.h", MAME_DIR .. "src/devices/cpu/m6502/m6510t.cpp", MAME_DIR .. "src/devices/cpu/m6502/m6510t.h", + MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m65ce02.h", + MAME_DIR .. "src/devices/cpu/m6502/m740.cpp", + MAME_DIR .. "src/devices/cpu/m6502/m740.h", MAME_DIR .. "src/devices/cpu/m6502/m7501.cpp", MAME_DIR .. "src/devices/cpu/m6502/m7501.h", MAME_DIR .. "src/devices/cpu/m6502/m8502.cpp", MAME_DIR .. "src/devices/cpu/m6502/m8502.h", - MAME_DIR .. "src/devices/cpu/m6502/n2a03.cpp", - MAME_DIR .. "src/devices/cpu/m6502/n2a03.h", MAME_DIR .. "src/devices/cpu/m6502/r65c02.cpp", MAME_DIR .. "src/devices/cpu/m6502/r65c02.h", - MAME_DIR .. "src/devices/cpu/m6502/m740.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m740.h", - MAME_DIR .. "src/devices/cpu/m6502/m3745x.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m3745x.h", - MAME_DIR .. "src/devices/cpu/m6502/m5074x.cpp", - MAME_DIR .. "src/devices/cpu/m6502/m5074x.h", - MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp", - MAME_DIR .. "src/devices/cpu/m6502/xavix.h", - MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp", - MAME_DIR .. "src/devices/cpu/m6502/xavix2000.h", + MAME_DIR .. "src/devices/cpu/m6502/r65c19.cpp", + MAME_DIR .. "src/devices/cpu/m6502/r65c19.h", + MAME_DIR .. "src/devices/cpu/m6502/rp2a03.cpp", + MAME_DIR .. "src/devices/cpu/m6502/rp2a03.h", + MAME_DIR .. "src/devices/cpu/m6502/w65c02.cpp", + MAME_DIR .. "src/devices/cpu/m6502/w65c02.h", + MAME_DIR .. "src/devices/cpu/m6502/w65c02s.cpp", + MAME_DIR .. "src/devices/cpu/m6502/w65c02s.h", } custombuildtask { - { MAME_DIR .. "src/devices/cpu/m6502/odeco16.lst", GEN_DIR .. "emu/cpu/m6502/deco16.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/ddeco16.lst" }, {"@echo Generating deco16 disassembler source file...", PYTHON .. " $(1) s deco16 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om4510.lst", GEN_DIR .. "emu/cpu/m6502/m4510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm4510.lst" }, {"@echo Generating m4510 disassembler source file...", PYTHON .. " $(1) s m4510 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om6502.lst", GEN_DIR .. "emu/cpu/m6502/m6502.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6502.lst" }, {"@echo Generating m6502 disassembler source file...", PYTHON .. " $(1) s m6502 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om65c02.lst", GEN_DIR .. "emu/cpu/m6502/m65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65c02.lst" }, {"@echo Generating m65c02 disassembler source file...", PYTHON .. " $(1) s m65c02 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om65ce02.lst", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65ce02.lst" }, {"@echo Generating m65ce02 disassembler source file...", PYTHON .. " $(1) s m65ce02 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om6509.lst", GEN_DIR .. "emu/cpu/m6502/m6509.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6509.lst" }, {"@echo Generating m6509 disassembler source file...", PYTHON .. " $(1) s m6509 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om6510.lst", GEN_DIR .. "emu/cpu/m6502/m6510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6510.lst" }, {"@echo Generating m6510 disassembler source file...", PYTHON .. " $(1) s m6510 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/on2a03.lst", GEN_DIR .. "emu/cpu/m6502/n2a03.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dn2a03.lst" }, {"@echo Generating n2a03 disassembler source file...", PYTHON .. " $(1) s n2a03 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/om740.lst" , GEN_DIR .. "emu/cpu/m6502/m740.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm740.lst" }, {"@echo Generating m740 disassembler source file...", PYTHON .. " $(1) s m740 $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/dr65c02.lst", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", }, {"@echo Generating r65c02 disassembler source file...", PYTHON .. " $(1) s r65c02 - $(<) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavix.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix disassembler source file...", PYTHON .. " $(1) s xavix $(<) $(2) $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 disassembler source file...", PYTHON .. " $(1) s xavix2000 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/odeco16.lst", GEN_DIR .. "emu/cpu/m6502/deco16.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/ddeco16.lst" }, {"@echo Generating deco16 instruction source file...", PYTHON .. " $(1) s deco16 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om4510.lst", GEN_DIR .. "emu/cpu/m6502/m4510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm4510.lst" }, {"@echo Generating m4510 instruction source file...", PYTHON .. " $(1) s m4510 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om6502.lst", GEN_DIR .. "emu/cpu/m6502/m6502.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6502.lst" }, {"@echo Generating m6502 instruction source file...", PYTHON .. " $(1) s m6502 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om65ce02.lst", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65ce02.lst" }, {"@echo Generating m65ce02 instruction source file...", PYTHON .. " $(1) s m65ce02 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om6509.lst", GEN_DIR .. "emu/cpu/m6502/m6509.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6509.lst" }, {"@echo Generating m6509 instruction source file...", PYTHON .. " $(1) s m6509 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om6510.lst", GEN_DIR .. "emu/cpu/m6502/m6510.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6510.lst" }, {"@echo Generating m6510 instruction source file...", PYTHON .. " $(1) s m6510 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/om740.lst" , GEN_DIR .. "emu/cpu/m6502/m740.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm740.lst" }, {"@echo Generating m740 instruction source file...", PYTHON .. " $(1) s m740 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/dr65c02.lst", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", }, {"@echo Generating r65c02 instruction source file...", PYTHON .. " $(1) s r65c02 - $(<) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/or65c19.lst", GEN_DIR .. "emu/cpu/m6502/r65c19.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dr65c19.lst" }, {"@echo Generating r65c19 instruction source file...", PYTHON .. " $(1) s r65c19 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/orp2a03.lst", GEN_DIR .. "emu/cpu/m6502/rp2a03.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/drp2a03.lst" }, {"@echo Generating rp2a03 instruction source file...", PYTHON .. " $(1) s rp2a03_core $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/ow65c02.lst", GEN_DIR .. "emu/cpu/m6502/w65c02.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dw65c02.lst" }, {"@echo Generating w65c02 instruction source file...", PYTHON .. " $(1) s w65c02 $(<) $(2) $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6502/ow65c02s.lst", GEN_DIR .. "emu/cpu/m6502/w65c02s.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dw65c02s.lst" }, {"@echo Generating w65c02s instruction source file...", PYTHON .. " $(1) s w65c02s $(<) $(2) $(@)" }}, } dependency { { MAME_DIR .. "src/devices/cpu/m6502/deco16.cpp", GEN_DIR .. "emu/cpu/m6502/deco16.hxx" }, { MAME_DIR .. "src/devices/cpu/m6502/m4510.cpp", GEN_DIR .. "emu/cpu/m6502/m4510.hxx" }, { MAME_DIR .. "src/devices/cpu/m6502/m6502.cpp", GEN_DIR .. "emu/cpu/m6502/m6502.hxx" }, - { MAME_DIR .. "src/devices/cpu/m6502/m65c02.cpp", GEN_DIR .. "emu/cpu/m6502/m65c02.hxx" }, - { MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx" }, { MAME_DIR .. "src/devices/cpu/m6502/m6509.cpp", GEN_DIR .. "emu/cpu/m6502/m6509.hxx" }, { MAME_DIR .. "src/devices/cpu/m6502/m6510.cpp", GEN_DIR .. "emu/cpu/m6502/m6510.hxx" }, - { MAME_DIR .. "src/devices/cpu/m6502/n2a03.cpp", GEN_DIR .. "emu/cpu/m6502/n2a03.hxx" }, - { MAME_DIR .. "src/devices/cpu/m6502/r65c02.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/m65ce02.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02.hxx" }, { MAME_DIR .. "src/devices/cpu/m6502/m740.cpp", GEN_DIR .. "emu/cpu/m6502/m740.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/r65c02.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/r65c19.cpp", GEN_DIR .. "emu/cpu/m6502/r65c19.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/rp2a03.cpp", GEN_DIR .. "emu/cpu/m6502/rp2a03.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/w65c02.cpp", GEN_DIR .. "emu/cpu/m6502/w65c02.hxx" }, + { MAME_DIR .. "src/devices/cpu/m6502/w65c02s.cpp", GEN_DIR .. "emu/cpu/m6502/w65c02s.hxx" }, + } +end + +if CPUS["ST2XXX"] then + files { + MAME_DIR .. "src/devices/cpu/m6502/st2xxx.cpp", + MAME_DIR .. "src/devices/cpu/m6502/st2xxx.h", + MAME_DIR .. "src/devices/cpu/m6502/st2204.cpp", + MAME_DIR .. "src/devices/cpu/m6502/st2204.h", + MAME_DIR .. "src/devices/cpu/m6502/st2205u.cpp", + MAME_DIR .. "src/devices/cpu/m6502/st2205u.h", + } +end + +if CPUS["XAVIX"] then + files { + MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp", + MAME_DIR .. "src/devices/cpu/m6502/xavix.h", + } + + custombuildtask { + { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavix.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix instruction source file...", PYTHON .. " $(1) s xavix $(<) $(2) $(@)" }}, + } + + dependency { { MAME_DIR .. "src/devices/cpu/m6502/xavix.cpp", GEN_DIR .. "emu/cpu/m6502/xavix.hxx" }, + } +end + +if CPUS["XAVIX2000"] then + files { + MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp", + MAME_DIR .. "src/devices/cpu/m6502/xavix2000.h", + } + + custombuildtask { + { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 instruction source file...", PYTHON .. " $(1) s xavix2000 $(<) $(2) $(@)" }}, + } + + dependency { { MAME_DIR .. "src/devices/cpu/m6502/xavix2000.cpp", GEN_DIR .. "emu/cpu/m6502/xavix2000.hxx" }, } end -if (CPUS["M6502"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "M6502") then table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/odeco16.lst", GEN_DIR .. "emu/cpu/m6502/deco16d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/ddeco16.lst" }, {"@echo Generating deco16 disassembler source file...", PYTHON .. " $(1) d deco16 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om4510.lst", GEN_DIR .. "emu/cpu/m6502/m4510d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm4510.lst" }, {"@echo Generating m4510 disassembler source file...", PYTHON .. " $(1) d m4510 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6502.lst", GEN_DIR .. "emu/cpu/m6502/m6502d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6502.lst" }, {"@echo Generating m6502 disassembler source file...", PYTHON .. " $(1) d m6502 $(<) $(2) $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om65c02.lst", GEN_DIR .. "emu/cpu/m6502/m65c02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65c02.lst" }, {"@echo Generating m65c02 disassembler source file...", PYTHON .. " $(1) d m65c02 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om65ce02.lst", GEN_DIR .. "emu/cpu/m6502/m65ce02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm65ce02.lst" }, {"@echo Generating m65ce02 disassembler source file...", PYTHON .. " $(1) d m65ce02 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6509.lst", GEN_DIR .. "emu/cpu/m6502/m6509d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6509.lst" }, {"@echo Generating m6509 disassembler source file...", PYTHON .. " $(1) d m6509 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om6510.lst", GEN_DIR .. "emu/cpu/m6502/m6510d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm6510.lst" }, {"@echo Generating m6510 disassembler source file...", PYTHON .. " $(1) d m6510 $(<) $(2) $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/on2a03.lst", GEN_DIR .. "emu/cpu/m6502/n2a03d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dn2a03.lst" }, {"@echo Generating n2a03 disassembler source file...", PYTHON .. " $(1) d n2a03 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/om740.lst" , GEN_DIR .. "emu/cpu/m6502/m740d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dm740.lst" }, {"@echo Generating m740 disassembler source file...", PYTHON .. " $(1) d m740 $(<) $(2) $(@)" }}) table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/dr65c02.lst", GEN_DIR .. "emu/cpu/m6502/r65c02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", }, {"@echo Generating r65c02 disassembler source file...", PYTHON .. " $(1) d r65c02 - $(<) $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix disassembler source file...", PYTHON .. " $(1) d xavix $(<) $(2) $(@)" }}) - table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 disassembler source file...", PYTHON .. " $(1) d xavix2000 $(<) $(2) $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/or65c19.lst", GEN_DIR .. "emu/cpu/m6502/r65c19d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dr65c19.lst" }, {"@echo Generating r65c19 disassembler source file...", PYTHON .. " $(1) d r65c19 $(<) $(2) $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/orp2a03.lst", GEN_DIR .. "emu/cpu/m6502/rp2a03d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/drp2a03.lst" }, {"@echo Generating rp2a03 disassembler source file...", PYTHON .. " $(1) d rp2a03 $(<) $(2) $(@)" }}) + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/ow65c02.lst", GEN_DIR .. "emu/cpu/m6502/w65c02d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dw65c02.lst" }, {"@echo Generating w65c02 disassembler source file...", PYTHON .. " $(1) d w65c02 $(<) $(2) $(@)" }}) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/deco16d.cpp", GEN_DIR .. "emu/cpu/m6502/deco16d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m4510d.cpp", GEN_DIR .. "emu/cpu/m6502/m4510d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6502d.cpp", GEN_DIR .. "emu/cpu/m6502/m6502d.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/m65c02d.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6509d.cpp", GEN_DIR .. "emu/cpu/m6502/m6509d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m6510d.cpp", GEN_DIR .. "emu/cpu/m6502/m6510d.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/n2a03d.cpp", GEN_DIR .. "emu/cpu/m6502/n2a03d.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/r65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.cpp", GEN_DIR .. "emu/cpu/m6502/m65ce02d.hxx" }) table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/m740d.cpp", GEN_DIR .. "emu/cpu/m6502/m740d.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavixd.cpp", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx" }) - table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.cpp", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/r65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/r65c02d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/r65c19d.cpp", GEN_DIR .. "emu/cpu/m6502/r65c19d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/rp2a03d.cpp", GEN_DIR .. "emu/cpu/m6502/rp2a03d.hxx" }) + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/w65c02d.cpp", GEN_DIR .. "emu/cpu/m6502/w65c02d.hxx" }) table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/deco16d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/deco16d.h") @@ -1536,18 +1933,34 @@ if (CPUS["M6502"]~=null or _OPTIONS["with-tools"]) then table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6509d.h") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6510d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m6510d.h") - table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65c02d.cpp") - table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65c02d.h") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m65ce02d.h") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m740d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/m740d.h") - table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/n2a03d.cpp") - table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/n2a03d.h") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c02d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c02d.h") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c19d.cpp") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/r65c19d.h") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/rp2a03d.cpp") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/rp2a03d.h") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/w65c02d.cpp") + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/w65c02d.h") +end + +if opt_tool(CPUS, "XAVIX") then + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix.lst", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix.lst" }, {"@echo Generating xavix disassembler source file...", PYTHON .. " $(1) d xavix $(<) $(2) $(@)" }}) + + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavixd.cpp", GEN_DIR .. "emu/cpu/m6502/xavixd.hxx" }) + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavixd.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavixd.h") +end + +if opt_tool(CPUS, "XAVIX2000") then + table.insert(disasm_custombuildtask, { MAME_DIR .. "src/devices/cpu/m6502/oxavix2000.lst", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx", { MAME_DIR .. "src/devices/cpu/m6502/m6502make.py", MAME_DIR .. "src/devices/cpu/m6502/dxavix2000.lst" }, {"@echo Generating xavix2000 disassembler source file...", PYTHON .. " $(1) d xavix2000 $(<) $(2) $(@)" }}) + + table.insert(disasm_dependency, { MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.cpp", GEN_DIR .. "emu/cpu/m6502/xavix2000d.hxx" }) + table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.cpp") table.insert(disasm_files, MAME_DIR .. "src/devices/cpu/m6502/xavix2000d.h") end @@ -1558,18 +1971,17 @@ end --@src/devices/cpu/m6800/m6801.h,CPUS["M6800"] = true -------------------------------------------------- -if (CPUS["M6800"]~=null) then +if CPUS["M6800"] then files { MAME_DIR .. "src/devices/cpu/m6800/m6800.cpp", MAME_DIR .. "src/devices/cpu/m6800/m6800.h", MAME_DIR .. "src/devices/cpu/m6800/m6801.cpp", MAME_DIR .. "src/devices/cpu/m6800/m6801.h", MAME_DIR .. "src/devices/cpu/m6800/6800ops.hxx", - MAME_DIR .. "src/devices/cpu/m6800/6800tbl.hxx", } end -if (CPUS["M6800"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "M6800") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6800/6800dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6800/6800dasm.h") end @@ -1579,20 +1991,26 @@ end --@src/devices/cpu/m6805/m6805.h,CPUS["M6805"] = true -------------------------------------------------- -if (CPUS["M6805"]~=null) then +if CPUS["M6805"] then files { MAME_DIR .. "src/devices/cpu/m6805/m6805.cpp", MAME_DIR .. "src/devices/cpu/m6805/m6805.h", MAME_DIR .. "src/devices/cpu/m6805/m6805defs.h", MAME_DIR .. "src/devices/cpu/m6805/6805ops.hxx", + MAME_DIR .. "src/devices/cpu/m6805/hd6305.cpp", + MAME_DIR .. "src/devices/cpu/m6805/hd6305.h", MAME_DIR .. "src/devices/cpu/m6805/m68705.cpp", MAME_DIR .. "src/devices/cpu/m6805/m68705.h", MAME_DIR .. "src/devices/cpu/m6805/m68hc05.cpp", MAME_DIR .. "src/devices/cpu/m6805/m68hc05.h", + MAME_DIR .. "src/devices/cpu/m6805/m68hc05e1.cpp", + MAME_DIR .. "src/devices/cpu/m6805/m68hc05e1.h", + MAME_DIR .. "src/devices/cpu/m6805/m68hc05pge.cpp", + MAME_DIR .. "src/devices/cpu/m6805/m68hc05pge.h", } end -if (CPUS["M6805"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "M6805") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6805/6805dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6805/6805dasm.h") end @@ -1604,7 +2022,7 @@ end --@src/devices/cpu/m6809/konami.h,CPUS["M6809"] = true -------------------------------------------------- -if (CPUS["M6809"]~=null) then +if CPUS["M6809"] then files { MAME_DIR .. "src/devices/cpu/m6809/m6809.cpp", MAME_DIR .. "src/devices/cpu/m6809/m6809.h", @@ -1622,13 +2040,13 @@ if (CPUS["M6809"]~=null) then } custombuildtask { - { MAME_DIR .. "src/devices/cpu/m6809/m6809.ops" , GEN_DIR .. "emu/cpu/m6809/m6809.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating m6809 source file...", PYTHON .. " $(1) $(<) > $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6809/hd6309.ops" , GEN_DIR .. "emu/cpu/m6809/hd6309.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating hd6309 source file...", PYTHON .. " $(1) $(<) > $(@)" }}, - { MAME_DIR .. "src/devices/cpu/m6809/konami.ops" , GEN_DIR .. "emu/cpu/m6809/konami.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.ops" }, {"@echo Generating konami source file...", PYTHON .. " $(1) $(<) > $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6809/m6809.lst" , GEN_DIR .. "emu/cpu/m6809/m6809.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.lst" }, {"@echo Generating m6809 source file...", PYTHON .. " $(1) $(<) > $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6809/hd6309.lst" , GEN_DIR .. "emu/cpu/m6809/hd6309.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.lst" }, {"@echo Generating hd6309 source file...", PYTHON .. " $(1) $(<) > $(@)" }}, + { MAME_DIR .. "src/devices/cpu/m6809/konami.lst" , GEN_DIR .. "emu/cpu/m6809/konami.hxx", { MAME_DIR .. "src/devices/cpu/m6809/m6809make.py" , MAME_DIR .. "src/devices/cpu/m6809/base6x09.lst" }, {"@echo Generating konami source file...", PYTHON .. " $(1) $(<) > $(@)" }}, } end -if (CPUS["M6809"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "M6809") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6809/6x09dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m6809/6x09dasm.h") end @@ -1638,7 +2056,7 @@ end --@src/devices/cpu/mc68hc11/mc68hc11.h,CPUS["MC68HC11"] = true -------------------------------------------------- -if (CPUS["MC68HC11"]~=null) then +if CPUS["MC68HC11"] then files { MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.cpp", MAME_DIR .. "src/devices/cpu/mc68hc11/mc68hc11.h", @@ -1647,7 +2065,7 @@ if (CPUS["MC68HC11"]~=null) then } end -if (CPUS["MC68HC11"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MC68HC11") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mc68hc11/hc11dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mc68hc11/hc11dasm.h") end @@ -1655,21 +2073,74 @@ end -------------------------------------------------- -- Motorola 68000 series --@src/devices/cpu/m68000/m68000.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/m68008.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/m68010.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/m68020.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/m68030.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/m68040.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/scc68070.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/fscpu32.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/mcf5206e.h,CPUS["M680X0"] = true +--@src/devices/cpu/m68000/tmp68301.h,CPUS["M680X0"] = true -------------------------------------------------- -if (CPUS["M680X0"]~=null) then +if CPUS["M680X0"] then files { MAME_DIR .. "src/devices/cpu/m68000/m68kcpu.cpp", MAME_DIR .. "src/devices/cpu/m68000/m68kcpu.h", MAME_DIR .. "src/devices/cpu/m68000/m68kops.cpp", MAME_DIR .. "src/devices/cpu/m68000/m68kops.h", - MAME_DIR .. "src/devices/cpu/m68000/m68000.h", - MAME_DIR .. "src/devices/cpu/m68000/m68kfpu.hxx", + MAME_DIR .. "src/devices/cpu/m68000/m68kfpu.cpp", MAME_DIR .. "src/devices/cpu/m68000/m68kmmu.h", - } -end - -if (CPUS["M680X0"]~=null or _OPTIONS["with-tools"]) then + MAME_DIR .. "src/devices/cpu/m68000/m68kmusashi.h", + MAME_DIR .. "src/devices/cpu/m68000/m68kcommon.h", + MAME_DIR .. "src/devices/cpu/m68000/m68kcommon.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000.h", + MAME_DIR .. "src/devices/cpu/m68000/m68000.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000.lst", + MAME_DIR .. "src/devices/cpu/m68000/m68000gen.py", + MAME_DIR .. "src/devices/cpu/m68000/m68000-decode.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000-head.h", + MAME_DIR .. "src/devices/cpu/m68000/m68000-sdf.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000-sif.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000-sdp.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000-sip.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu-head.h", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu-sdfm.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu-sifm.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu-sdpm.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu-sipm.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu.h", + MAME_DIR .. "src/devices/cpu/m68000/m68000mcu.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68008-head.h", + MAME_DIR .. "src/devices/cpu/m68000/m68008-sdf8.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68008-sif8.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68008-sdp8.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68008-sip8.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68008.h", + MAME_DIR .. "src/devices/cpu/m68000/m68008.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68000musashi.h", + MAME_DIR .. "src/devices/cpu/m68000/m68000musashi.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68010.h", + MAME_DIR .. "src/devices/cpu/m68000/m68010.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68020.h", + MAME_DIR .. "src/devices/cpu/m68000/m68020.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68030.h", + MAME_DIR .. "src/devices/cpu/m68000/m68030.cpp", + MAME_DIR .. "src/devices/cpu/m68000/m68040.h", + MAME_DIR .. "src/devices/cpu/m68000/m68040.cpp", + MAME_DIR .. "src/devices/cpu/m68000/scc68070.h", + MAME_DIR .. "src/devices/cpu/m68000/scc68070.cpp", + MAME_DIR .. "src/devices/cpu/m68000/fscpu32.h", + MAME_DIR .. "src/devices/cpu/m68000/fscpu32.cpp", + MAME_DIR .. "src/devices/cpu/m68000/mcf5206e.h", + MAME_DIR .. "src/devices/cpu/m68000/mcf5206e.cpp", + MAME_DIR .. "src/devices/cpu/m68000/tmp68301.h", + MAME_DIR .. "src/devices/cpu/m68000/tmp68301.cpp", + } +end + +if opt_tool(CPUS, "M680X0") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68000/m68kdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68000/m68kdasm.h") end @@ -1679,7 +2150,7 @@ end --@src/devices/cpu/dsp56156/dsp56156.h,CPUS["DSP56156"] = true -------------------------------------------------- -if (CPUS["DSP56156"]~=null) then +if CPUS["DSP56156"] then files { MAME_DIR .. "src/devices/cpu/dsp56156/dsp56156.cpp", MAME_DIR .. "src/devices/cpu/dsp56156/dsp56156.h", @@ -1692,7 +2163,7 @@ if (CPUS["DSP56156"]~=null) then } end -if (CPUS["DSP56156"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DSP56156") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56156/dsp56dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56156/dsp56dsm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56156/opcode.cpp") @@ -1707,25 +2178,19 @@ end -------------------------------------------------- -- PDP-1 --- TX0 --@src/devices/cpu/pdp1/pdp1.h,CPUS["PDP1"] = true ---@src/devices/cpu/pdp1/tx0.h,CPUS["PDP1"] = true -------------------------------------------------- -if (CPUS["PDP1"]~=null) then +if CPUS["PDP1"] then files { MAME_DIR .. "src/devices/cpu/pdp1/pdp1.cpp", MAME_DIR .. "src/devices/cpu/pdp1/pdp1.h", - MAME_DIR .. "src/devices/cpu/pdp1/tx0.cpp", - MAME_DIR .. "src/devices/cpu/pdp1/tx0.h", } end -if (CPUS["PDP1"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PDP1") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/pdp1dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/pdp1dasm.h") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/tx0dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pdp1/tx0dasm.h") end -------------------------------------------------- @@ -1733,14 +2198,14 @@ end --@src/devices/cpu/patinhofeio/patinhofeio_cpu.h,CPUS["PATINHOFEIO"] = true -------------------------------------------------- -if (CPUS["PATINHOFEIO"]~=null) then +if CPUS["PATINHOFEIO"] then files { MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio.cpp", MAME_DIR .. "src/devices/cpu/patinhofeio/patinhofeio_cpu.h", } end -if (CPUS["PATINHOFEIO"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PATINHOFEIO") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/patinhofeio/patinho_feio_dasm.h") end @@ -1750,7 +2215,7 @@ end --@src/devices/cpu/powerpc/ppc.h,CPUS["POWERPC"] = true -------------------------------------------------- -if (CPUS["POWERPC"]~=null) then +if CPUS["POWERPC"] then files { MAME_DIR .. "src/devices/cpu/powerpc/ppccom.cpp", MAME_DIR .. "src/devices/cpu/powerpc/ppccom.h", @@ -1761,7 +2226,7 @@ if (CPUS["POWERPC"]~=null) then } end -if (CPUS["POWERPC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "POWERPC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/powerpc/ppc_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/powerpc/ppc_dasm.h") end @@ -1774,19 +2239,20 @@ end --@src/devices/cpu/v30mz/v30mz.h,CPUS["V30MZ"] = true -------------------------------------------------- -if (CPUS["NEC"]~=null) then +if CPUS["NEC"] then files { MAME_DIR .. "src/devices/cpu/nec/nec.cpp", MAME_DIR .. "src/devices/cpu/nec/nec.h", MAME_DIR .. "src/devices/cpu/nec/necea.h", MAME_DIR .. "src/devices/cpu/nec/necinstr.h", MAME_DIR .. "src/devices/cpu/nec/necinstr.hxx", + MAME_DIR .. "src/devices/cpu/nec/nec80inst.hxx", MAME_DIR .. "src/devices/cpu/nec/necmacro.h", MAME_DIR .. "src/devices/cpu/nec/necmodrm.h", - MAME_DIR .. "src/devices/cpu/nec/necpriv.h", + MAME_DIR .. "src/devices/cpu/nec/necpriv.ipp", MAME_DIR .. "src/devices/cpu/nec/v25instr.h", MAME_DIR .. "src/devices/cpu/nec/v25instr.hxx", - MAME_DIR .. "src/devices/cpu/nec/v25priv.h", + MAME_DIR .. "src/devices/cpu/nec/v25priv.ipp", MAME_DIR .. "src/devices/cpu/nec/v25.cpp", MAME_DIR .. "src/devices/cpu/nec/v25.h", MAME_DIR .. "src/devices/cpu/nec/v25sfr.cpp", @@ -1795,19 +2261,19 @@ if (CPUS["NEC"]~=null) then } end -if (CPUS["NEC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "NEC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.h") end -if (CPUS["V30MZ"]~=null) then +if CPUS["V30MZ"] then files { MAME_DIR .. "src/devices/cpu/v30mz/v30mz.cpp", MAME_DIR .. "src/devices/cpu/v30mz/v30mz.h", } end -if (CPUS["V30MZ"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "V30MZ") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nec/necdasm.h") end @@ -1817,7 +2283,7 @@ end --@src/devices/cpu/v60/v60.h,CPUS["V60"] = true -------------------------------------------------- -if (CPUS["V60"]~=null) then +if CPUS["V60"] then files { MAME_DIR .. "src/devices/cpu/v60/v60.cpp", MAME_DIR .. "src/devices/cpu/v60/v60.h", @@ -1836,7 +2302,7 @@ if (CPUS["V60"]~=null) then } end -if (CPUS["V60"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "V60") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v60/v60d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v60/v60d.h") end @@ -1846,31 +2312,40 @@ end --@src/devices/cpu/v810/v810.h,CPUS["V810"] = true -------------------------------------------------- -if (CPUS["V810"]~=null) then +if CPUS["V810"] then files { MAME_DIR .. "src/devices/cpu/v810/v810.cpp", MAME_DIR .. "src/devices/cpu/v810/v810.h", } end -if (CPUS["V810"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "V810") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v810/v810dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v810/v810dasm.h") end -------------------------------------------------- +-- NEC V850, disassembler only +-------------------------------------------------- + +if opt_tool(CPUS, "V850") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v850/v850dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v850/v850dasm.h") +end + +-------------------------------------------------- -- NEC uPD7725 --@src/devices/cpu/upd7725/upd7725.h,CPUS["UPD7725"] = true -------------------------------------------------- -if (CPUS["UPD7725"]~=null) then +if CPUS["UPD7725"] then files { MAME_DIR .. "src/devices/cpu/upd7725/upd7725.cpp", MAME_DIR .. "src/devices/cpu/upd7725/upd7725.h", } end -if (CPUS["UPD7725"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "UPD7725") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7725/dasm7725.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7725/dasm7725.h") end @@ -1878,21 +2353,20 @@ end -------------------------------------------------- -- NEC uPD7810 series --@src/devices/cpu/upd7810/upd7810.h,CPUS["UPD7810"] = true +--@src/devices/cpu/upd7810/upd7811.h,CPUS["UPD7810"] = true -------------------------------------------------- -if (CPUS["UPD7810"]~=null) then +if CPUS["UPD7810"] then files { MAME_DIR .. "src/devices/cpu/upd7810/upd7810.cpp", MAME_DIR .. "src/devices/cpu/upd7810/upd7810.h", MAME_DIR .. "src/devices/cpu/upd7810/upd7810_opcodes.cpp", MAME_DIR .. "src/devices/cpu/upd7810/upd7810_table.cpp", MAME_DIR .. "src/devices/cpu/upd7810/upd7810_macros.h", - MAME_DIR .. "src/devices/cpu/upd7810/upd7811.cpp", - MAME_DIR .. "src/devices/cpu/upd7810/upd7811.h", } end -if (CPUS["UPD7810"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "UPD7810") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7810/upd7810_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd7810/upd7810_dasm.h") end @@ -1902,7 +2376,7 @@ end --@src/devices/cpu/ucom4/ucom4.h,CPUS["UCOM4"] = true -------------------------------------------------- -if (CPUS["UCOM4"]~=null) then +if CPUS["UCOM4"] then files { MAME_DIR .. "src/devices/cpu/ucom4/ucom4.cpp", MAME_DIR .. "src/devices/cpu/ucom4/ucom4.h", @@ -1910,7 +2384,7 @@ if (CPUS["UCOM4"]~=null) then } end -if (CPUS["UCOM4"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "UCOM4") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ucom4/ucom4d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ucom4/ucom4d.h") end @@ -1920,7 +2394,7 @@ end --@src/devices/cpu/minx/minx.h,CPUS["MINX"] = true -------------------------------------------------- -if (CPUS["MINX"]~=null) then +if CPUS["MINX"] then files { MAME_DIR .. "src/devices/cpu/minx/minx.cpp", MAME_DIR .. "src/devices/cpu/minx/minx.h", @@ -1931,7 +2405,7 @@ if (CPUS["MINX"]~=null) then } end -if (CPUS["MINX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MINX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/minx/minxd.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/minx/minxd.h") end @@ -1941,66 +2415,80 @@ end --@src/devices/cpu/rsp/rsp.h,CPUS["RSP"] = true -------------------------------------------------- -if (CPUS["RSP"]~=null) then +if CPUS["RSP"] then files { MAME_DIR .. "src/devices/cpu/rsp/rsp.cpp", MAME_DIR .. "src/devices/cpu/rsp/rsp.h", MAME_DIR .. "src/devices/cpu/rsp/rspdefs.h", - MAME_DIR .. "src/devices/cpu/rsp/rspdrc.cpp", - MAME_DIR .. "src/devices/cpu/rsp/rspfe.cpp", - MAME_DIR .. "src/devices/cpu/rsp/rspfe.h", - MAME_DIR .. "src/devices/cpu/rsp/rspcp2.cpp", - MAME_DIR .. "src/devices/cpu/rsp/rspcp2.h", - MAME_DIR .. "src/devices/cpu/rsp/rspcp2d.cpp", - MAME_DIR .. "src/devices/cpu/rsp/rspcp2d.h", - MAME_DIR .. "src/devices/cpu/rsp/clamp.h", - MAME_DIR .. "src/devices/cpu/rsp/vabs.h", - MAME_DIR .. "src/devices/cpu/rsp/vadd.h", - MAME_DIR .. "src/devices/cpu/rsp/vaddc.h", - MAME_DIR .. "src/devices/cpu/rsp/vand.h", - MAME_DIR .. "src/devices/cpu/rsp/vch.h", - MAME_DIR .. "src/devices/cpu/rsp/vcl.h", - MAME_DIR .. "src/devices/cpu/rsp/vcmp.h", - MAME_DIR .. "src/devices/cpu/rsp/vcr.h", - MAME_DIR .. "src/devices/cpu/rsp/vdivh.h", - MAME_DIR .. "src/devices/cpu/rsp/vldst.h", - MAME_DIR .. "src/devices/cpu/rsp/vmac.h", - MAME_DIR .. "src/devices/cpu/rsp/vmov.h", - MAME_DIR .. "src/devices/cpu/rsp/vmrg.h", - MAME_DIR .. "src/devices/cpu/rsp/vmudh.h", - MAME_DIR .. "src/devices/cpu/rsp/vmul.h", - MAME_DIR .. "src/devices/cpu/rsp/vmulh.h", - MAME_DIR .. "src/devices/cpu/rsp/vmull.h", - MAME_DIR .. "src/devices/cpu/rsp/vmulm.h", - MAME_DIR .. "src/devices/cpu/rsp/vmuln.h", - MAME_DIR .. "src/devices/cpu/rsp/vor.h", - MAME_DIR .. "src/devices/cpu/rsp/vrcpsq.h", - MAME_DIR .. "src/devices/cpu/rsp/vrsq.h", - MAME_DIR .. "src/devices/cpu/rsp/vsub.h", - MAME_DIR .. "src/devices/cpu/rsp/vsubc.h", - MAME_DIR .. "src/devices/cpu/rsp/vxor.h", MAME_DIR .. "src/devices/cpu/rsp/rspdiv.h", } end -if (CPUS["RSP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "RSP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rsp/rsp_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rsp/rsp_dasm.h") end -------------------------------------------------- +-- Matsushita (Panasonic) MN1400 +--@src/devices/cpu/mn1400/mn1400.h,CPUS["MN1400"] = true +-------------------------------------------------- + +if CPUS["MN1400"] then + files { + MAME_DIR .. "src/devices/cpu/mn1400/mn1400base.cpp", + MAME_DIR .. "src/devices/cpu/mn1400/mn1400base.h", + MAME_DIR .. "src/devices/cpu/mn1400/mn1400.cpp", + MAME_DIR .. "src/devices/cpu/mn1400/mn1400.h", + MAME_DIR .. "src/devices/cpu/mn1400/mn1400op.cpp", + } +end + +if opt_tool(CPUS, "MN1400") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1400/mn1400d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1400/mn1400d.h") +end + +-------------------------------------------------- +-- Panafacom MN1610, disassembler only +--@src/devices/cpu/mn1610/mn1610d.h,CPUS["MN1610"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "MN1610") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1610/mn1610d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1610/mn1610d.h") +end + +-------------------------------------------------- +-- Panasonic MN1880 +--@src/devices/cpu/mn1880/mn1880.h,CPUS["MN1880"] = true +-------------------------------------------------- + +if CPUS["MN1880"] then + files { + MAME_DIR .. "src/devices/cpu/mn1880/mn1880.cpp", + MAME_DIR .. "src/devices/cpu/mn1880/mn1880.h", + } +end + +if opt_tool(CPUS, "MN1880") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1880/mn1880d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn1880/mn1880d.h") +end + +-------------------------------------------------- -- Panasonic MN10200 --@src/devices/cpu/mn10200/mn10200.h,CPUS["MN10200"] = true -------------------------------------------------- -if (CPUS["MN10200"]~=null) then +if CPUS["MN10200"] then files { MAME_DIR .. "src/devices/cpu/mn10200/mn10200.cpp", MAME_DIR .. "src/devices/cpu/mn10200/mn10200.h", } end -if (CPUS["MN10200"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "MN10200") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10200/mn102dis.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10200/mn102dis.h") end @@ -2010,16 +2498,16 @@ end --@src/devices/cpu/saturn/saturn.h,CPUS["SATURN"] = true -------------------------------------------------- -if (CPUS["SATURN"]~=null) then +if CPUS["SATURN"] then files { MAME_DIR .. "src/devices/cpu/saturn/saturn.cpp", MAME_DIR .. "src/devices/cpu/saturn/saturn.h", - MAME_DIR .. "src/devices/cpu/saturn/satops.hxx", - MAME_DIR .. "src/devices/cpu/saturn/sattable.hxx", + MAME_DIR .. "src/devices/cpu/saturn/satops.ipp", + MAME_DIR .. "src/devices/cpu/saturn/sattable.ipp", } end -if (CPUS["SATURN"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SATURN") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/saturn/saturnds.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/saturn/saturnds.h") end @@ -2027,29 +2515,36 @@ end -------------------------------------------------- -- Sharp SM510 series --@src/devices/cpu/sm510/sm510.h,CPUS["SM510"] = true +--@src/devices/cpu/sm510/sm511.h,CPUS["SM510"] = true +--@src/devices/cpu/sm510/sm530.h,CPUS["SM510"] = true +--@src/devices/cpu/sm510/sm590.h,CPUS["SM510"] = true +--@src/devices/cpu/sm510/sm5a.h,CPUS["SM510"] = true -------------------------------------------------- -if (CPUS["SM510"]~=null) then +if CPUS["SM510"] then files { MAME_DIR .. "src/devices/cpu/sm510/sm510base.cpp", + MAME_DIR .. "src/devices/cpu/sm510/sm510base.h", MAME_DIR .. "src/devices/cpu/sm510/sm510.h", + MAME_DIR .. "src/devices/cpu/sm510/sm510.cpp", MAME_DIR .. "src/devices/cpu/sm510/sm510op.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm510core.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm511core.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm530.h", - MAME_DIR .. "src/devices/cpu/sm510/sm530op.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm530core.cpp", + MAME_DIR .. "src/devices/cpu/sm510/sm511.h", + MAME_DIR .. "src/devices/cpu/sm510/sm511.cpp", MAME_DIR .. "src/devices/cpu/sm510/sm500.h", + MAME_DIR .. "src/devices/cpu/sm510/sm500.cpp", MAME_DIR .. "src/devices/cpu/sm510/sm500op.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm500core.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm5acore.cpp", + MAME_DIR .. "src/devices/cpu/sm510/sm5a.h", + MAME_DIR .. "src/devices/cpu/sm510/sm5a.cpp", + MAME_DIR .. "src/devices/cpu/sm510/sm530.h", + MAME_DIR .. "src/devices/cpu/sm510/sm530.cpp", + MAME_DIR .. "src/devices/cpu/sm510/sm530op.cpp", MAME_DIR .. "src/devices/cpu/sm510/sm590.h", + MAME_DIR .. "src/devices/cpu/sm510/sm590.cpp", MAME_DIR .. "src/devices/cpu/sm510/sm590op.cpp", - MAME_DIR .. "src/devices/cpu/sm510/sm590core.cpp", } end -if (CPUS["SM510"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SM510") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm510/sm510d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm510/sm510d.h") end @@ -2059,7 +2554,7 @@ end --@src/devices/cpu/sm8500/sm8500.h,CPUS["SM8500"] = true -------------------------------------------------- -if (CPUS["SM8500"]~=null) then +if CPUS["SM8500"] then files { MAME_DIR .. "src/devices/cpu/sm8500/sm8500.cpp", MAME_DIR .. "src/devices/cpu/sm8500/sm8500.h", @@ -2067,7 +2562,7 @@ if (CPUS["SM8500"]~=null) then } end -if (CPUS["SM8500"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SM8500") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm8500/sm8500d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sm8500/sm8500d.h") end @@ -2077,15 +2572,14 @@ end --@src/devices/cpu/s2650/s2650.h,CPUS["S2650"] = true -------------------------------------------------- -if (CPUS["S2650"]~=null) then +if CPUS["S2650"] then files { MAME_DIR .. "src/devices/cpu/s2650/s2650.cpp", MAME_DIR .. "src/devices/cpu/s2650/s2650.h", - MAME_DIR .. "src/devices/cpu/s2650/s2650cpu.h", } end -if (CPUS["S2650"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "S2650") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/s2650/2650dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/s2650/2650dasm.h") end @@ -2095,7 +2589,7 @@ end --@src/devices/cpu/sc61860/sc61860.h,CPUS["SC61860"] = true -------------------------------------------------- -if (CPUS["SC61860"]~=null) then +if CPUS["SC61860"] then files { MAME_DIR .. "src/devices/cpu/sc61860/sc61860.cpp", MAME_DIR .. "src/devices/cpu/sc61860/sc61860.h", @@ -2105,7 +2599,7 @@ if (CPUS["SC61860"]~=null) then } end -if (CPUS["SC61860"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SC61860") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sc61860/scdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sc61860/scdasm.h") end @@ -2115,7 +2609,7 @@ end --@src/devices/cpu/spc700/spc700.h,CPUS["SPC700"] = true -------------------------------------------------- -if (CPUS["SPC700"]~=null) then +if CPUS["SPC700"] then files { MAME_DIR .. "src/devices/cpu/spc700/spc700.cpp", MAME_DIR .. "src/devices/cpu/spc700/spc700.h", @@ -2123,7 +2617,7 @@ if (CPUS["SPC700"]~=null) then } end -if (CPUS["SPC700"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SPC700") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/spc700/spc700ds.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/spc700/spc700ds.h") end @@ -2133,14 +2627,14 @@ end --@src/devices/cpu/ssp1601/ssp1601.h,CPUS["SSP1601"] = true -------------------------------------------------- -if (CPUS["SSP1601"]~=null) then +if CPUS["SSP1601"] then files { MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601.cpp", MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601.h", } end -if (CPUS["SSP1601"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SSP1601") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ssp1601/ssp1601d.h") end @@ -2150,7 +2644,7 @@ end --@src/devices/cpu/unsp/unsp.h,CPUS["UNSP"] = true -------------------------------------------------- -if (CPUS["UNSP"]~=null) then +if CPUS["UNSP"] then files { MAME_DIR .. "src/devices/cpu/unsp/unsp.cpp", MAME_DIR .. "src/devices/cpu/unsp/unsp.h", @@ -2166,7 +2660,7 @@ if (CPUS["UNSP"]~=null) then } end -if (CPUS["UNSP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "UNSP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/unsp/unspdasm_extended.cpp") @@ -2181,14 +2675,14 @@ end --@src/devices/cpu/avr8/avr8.h,CPUS["AVR8"] = true -------------------------------------------------- -if (CPUS["AVR8"]~=null) then +if CPUS["AVR8"] then files { MAME_DIR .. "src/devices/cpu/avr8/avr8.cpp", MAME_DIR .. "src/devices/cpu/avr8/avr8.h", } end -if (CPUS["AVR8"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "AVR8") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/avr8/avr8dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/avr8/avr8dasm.h") end @@ -2199,13 +2693,16 @@ end --@src/devices/cpu/tms1000/tms1000c.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tms1100.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tms1400.h,CPUS["TMS1000"] = true +--@src/devices/cpu/tms1000/tms2100.h,CPUS["TMS1000"] = true +--@src/devices/cpu/tms1000/tms2400.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tms0970.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tms0980.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tms0270.h,CPUS["TMS1000"] = true --@src/devices/cpu/tms1000/tp0320.h,CPUS["TMS1000"] = true +--@src/devices/cpu/tms1000/smc1102.h,CPUS["TMS1000"] = true -------------------------------------------------- -if (CPUS["TMS1000"]~=null) then +if CPUS["TMS1000"] then files { MAME_DIR .. "src/devices/cpu/tms1000/tms1k_base.cpp", MAME_DIR .. "src/devices/cpu/tms1000/tms1k_base.h", @@ -2217,6 +2714,10 @@ if (CPUS["TMS1000"]~=null) then MAME_DIR .. "src/devices/cpu/tms1000/tms1100.h", MAME_DIR .. "src/devices/cpu/tms1000/tms1400.cpp", MAME_DIR .. "src/devices/cpu/tms1000/tms1400.h", + MAME_DIR .. "src/devices/cpu/tms1000/tms2100.cpp", + MAME_DIR .. "src/devices/cpu/tms1000/tms2100.h", + MAME_DIR .. "src/devices/cpu/tms1000/tms2400.cpp", + MAME_DIR .. "src/devices/cpu/tms1000/tms2400.h", MAME_DIR .. "src/devices/cpu/tms1000/tms0970.cpp", MAME_DIR .. "src/devices/cpu/tms1000/tms0970.h", MAME_DIR .. "src/devices/cpu/tms1000/tms0980.cpp", @@ -2225,10 +2726,12 @@ if (CPUS["TMS1000"]~=null) then MAME_DIR .. "src/devices/cpu/tms1000/tms0270.h", MAME_DIR .. "src/devices/cpu/tms1000/tp0320.cpp", MAME_DIR .. "src/devices/cpu/tms1000/tp0320.h", + MAME_DIR .. "src/devices/cpu/tms1000/smc1102.cpp", + MAME_DIR .. "src/devices/cpu/tms1000/smc1102.h", } end -if (CPUS["TMS1000"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS1000") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms1000/tms1k_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms1000/tms1k_dasm.h") end @@ -2238,7 +2741,7 @@ end --@src/devices/cpu/tms7000/tms7000.h,CPUS["TMS7000"] = true -------------------------------------------------- -if (CPUS["TMS7000"]~=null) then +if CPUS["TMS7000"] then files { MAME_DIR .. "src/devices/cpu/tms7000/tms7000.cpp", MAME_DIR .. "src/devices/cpu/tms7000/tms7000.h", @@ -2246,7 +2749,7 @@ if (CPUS["TMS7000"]~=null) then } end -if (CPUS["TMS7000"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS7000") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms7000/7000dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms7000/7000dasm.h") end @@ -2259,7 +2762,7 @@ end --@src/devices/cpu/tms9900/ti990_10.h,CPUS["TMS9900"] = true -------------------------------------------------- -if (CPUS["TMS9900"]~=null) then +if CPUS["TMS9900"] then files { MAME_DIR .. "src/devices/cpu/tms9900/tms9900.cpp", MAME_DIR .. "src/devices/cpu/tms9900/tms9900.h", @@ -2273,7 +2776,7 @@ if (CPUS["TMS9900"]~=null) then } end -if (CPUS["TMS9900"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS9900") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms9900/9900dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms9900/9900dasm.h") end @@ -2283,7 +2786,7 @@ end --@src/devices/cpu/tms34010/tms34010.h,CPUS["TMS340X0"] = true -------------------------------------------------- -if (CPUS["TMS340X0"]~=null) then +if CPUS["TMS340X0"] then files { MAME_DIR .. "src/devices/cpu/tms34010/tms34010.cpp", MAME_DIR .. "src/devices/cpu/tms34010/tms34010.h", @@ -2295,7 +2798,7 @@ if (CPUS["TMS340X0"]~=null) then } end -if (CPUS["TMS340X0"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS340X0") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms34010/34010dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms34010/34010dsm.h") end @@ -2305,14 +2808,14 @@ end --@src/devices/cpu/tms32010/tms32010.h,CPUS["TMS32010"] = true -------------------------------------------------- -if (CPUS["TMS32010"]~=null) then +if CPUS["TMS32010"] then files { MAME_DIR .. "src/devices/cpu/tms32010/tms32010.cpp", MAME_DIR .. "src/devices/cpu/tms32010/tms32010.h", } end -if (CPUS["TMS32010"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS32010") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32010/32010dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32010/32010dsm.h") end @@ -2322,14 +2825,14 @@ end --@src/devices/cpu/tms32025/tms32025.h,CPUS["TMS32025"] = true -------------------------------------------------- -if (CPUS["TMS32025"]~=null) then +if CPUS["TMS32025"] then files { MAME_DIR .. "src/devices/cpu/tms32025/tms32025.cpp", MAME_DIR .. "src/devices/cpu/tms32025/tms32025.h", } end -if (CPUS["TMS32025"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS32025") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32025/32025dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32025/32025dsm.h") end @@ -2339,7 +2842,7 @@ end --@src/devices/cpu/tms32031/tms32031.h,CPUS["TMS32031"] = true -------------------------------------------------- -if (CPUS["TMS32031"]~=null) then +if CPUS["TMS32031"] then files { MAME_DIR .. "src/devices/cpu/tms32031/tms32031.cpp", MAME_DIR .. "src/devices/cpu/tms32031/tms32031.h", @@ -2347,7 +2850,7 @@ if (CPUS["TMS32031"]~=null) then } end -if (CPUS["TMS32031"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS32031") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32031/dis32031.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32031/dis32031.h") end @@ -2357,7 +2860,7 @@ end --@src/devices/cpu/tms32051/tms32051.h,CPUS["TMS32051"] = true -------------------------------------------------- -if (CPUS["TMS32051"]~=null) then +if CPUS["TMS32051"] then files { MAME_DIR .. "src/devices/cpu/tms32051/tms32051.cpp", MAME_DIR .. "src/devices/cpu/tms32051/tms32051.h", @@ -2366,7 +2869,7 @@ if (CPUS["TMS32051"]~=null) then } end -if (CPUS["TMS32051"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS32051") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32051/dis32051.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32051/dis32051.h") end @@ -2376,7 +2879,7 @@ end --@src/devices/cpu/tms32082/tms32082.h,CPUS["TMS32082"] = true -------------------------------------------------- -if (CPUS["TMS32082"]~=null) then +if CPUS["TMS32082"] then files { MAME_DIR .. "src/devices/cpu/tms32082/tms32082.cpp", MAME_DIR .. "src/devices/cpu/tms32082/tms32082.h", @@ -2384,7 +2887,7 @@ if (CPUS["TMS32082"]~=null) then } end -if (CPUS["TMS32082"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS32082") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_mp.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_mp.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms32082/dis_pp.cpp") @@ -2396,7 +2899,7 @@ end --@src/devices/cpu/tms57002/tms57002.h,CPUS["TMS57002"] = true -------------------------------------------------- -if (CPUS["TMS57002"]~=null) then +if CPUS["TMS57002"] then files { MAME_DIR .. "src/devices/cpu/tms57002/tms57002.cpp", MAME_DIR .. "src/devices/cpu/tms57002/tms57002.h", @@ -2409,15 +2912,17 @@ if (CPUS["TMS57002"]~=null) then { MAME_DIR .. "src/devices/cpu/tms57002/tmsops.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" }, } custombuildtask { - { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) $(<) $(@)" } } + { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) s $(<) $(@)" } } } end -if (CPUS["TMS57002"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TMS57002") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.h") + table.insert(disasm_dependency , { MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002d.hxx" } ) table.insert(disasm_dependency , { MAME_DIR .. "src/devices/cpu/tms57002/57002dsm.cpp", GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx" } ) - table.insert(disasm_custombuildtask , { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) $(<) $(@)" }}) + table.insert(disasm_custombuildtask , { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002d.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) d $(<) $(@)" }}) + table.insert(disasm_custombuildtask , { MAME_DIR .. "src/devices/cpu/tms57002/tmsinstr.lst" , GEN_DIR .. "emu/cpu/tms57002/tms57002.hxx", { MAME_DIR .. "src/devices/cpu/tms57002/tmsmake.py" }, {"@echo Generating TMS57002 source file...", PYTHON .. " $(1) s $(<) $(@)" }}) end -------------------------------------------------- @@ -2425,14 +2930,14 @@ end --@src/devices/cpu/tlcs90/tlcs90.h,CPUS["TLCS90"] = true -------------------------------------------------- -if (CPUS["TLCS90"]~=null) then +if CPUS["TLCS90"] then files { MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90.cpp", MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90.h", } end -if (CPUS["TLCS90"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TLCS90") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs90/tlcs90d.h") end @@ -2442,7 +2947,7 @@ end --@src/devices/cpu/tlcs870/tlcs870.h,CPUS["TLCS870"] = true -------------------------------------------------- -if (CPUS["TLCS870"]~=null) then +if CPUS["TLCS870"] then files { MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870.cpp", MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870_ops.cpp", @@ -2454,7 +2959,7 @@ if (CPUS["TLCS870"]~=null) then } end -if (CPUS["TLCS870"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TLCS870") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs870/tlcs870d.h") end @@ -2464,48 +2969,160 @@ end --@src/devices/cpu/tlcs900/tlcs900.h,CPUS["TLCS900"] = true -------------------------------------------------- -if (CPUS["TLCS900"]~=null) then +if CPUS["TLCS900"] then files { MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.cpp", MAME_DIR .. "src/devices/cpu/tlcs900/tlcs900.h", MAME_DIR .. "src/devices/cpu/tlcs900/900tbl.hxx", + MAME_DIR .. "src/devices/cpu/tlcs900/900htbl.hxx", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp94c241.cpp", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp94c241.h", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c061.cpp", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c061.h", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c063.cpp", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp95c063.h", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp96c141.cpp", + MAME_DIR .. "src/devices/cpu/tlcs900/tmp96c141.h", } end -if (CPUS["TLCS900"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "TLCS900") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs900/dasm900.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tlcs900/dasm900.h") end -------------------------------------------------- --- Zilog Z80 ---@src/devices/cpu/z80/z80.h,CPUS["Z80"] = true +-- TX0 +--@src/devices/cpu/tx0/tx0.h,CPUS["TX0"] = true -------------------------------------------------- -if (CPUS["Z80"]~=null) then +if CPUS["TX0"] then + files { + MAME_DIR .. "src/devices/cpu/tx0/tx0.cpp", + MAME_DIR .. "src/devices/cpu/tx0/tx0.h", + } +end + +if opt_tool(CPUS, "TX0") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tx0/tx0dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tx0/tx0dasm.h") +end + +-------------------------------------------------- +-- Zilog Z80 +--@src/devices/cpu/z80/z80.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/tmpz84c011.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/tmpz84c015.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/ez80.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/lz8420m.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/mc8123.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/nsc800.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/r800.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/z84c015.h,CPUS["Z80"] = true +--@src/devices/cpu/z80/z80n.h,CPUS["Z80N"] = true +--@src/devices/cpu/z80/kc82.h,CPUS["KC80"] = true +--@src/devices/cpu/z80/kl5c80a12.h,CPUS["KC80"] = true +--@src/devices/cpu/z80/kl5c80a16.h,CPUS["KC80"] = true +--@src/devices/cpu/z80/ky80.h,CPUS["KC80"] = true +--@src/devices/cpu/z80/t6a84.h,CPUS["T6A84"] = true +-------------------------------------------------- + +if CPUS["Z80"] or CPUS["KC80"] or CPUS["Z80N"] or CPUS["T6A84"] then files { MAME_DIR .. "src/devices/cpu/z80/z80.cpp", MAME_DIR .. "src/devices/cpu/z80/z80.h", + MAME_DIR .. "src/devices/cpu/z80/t6a84.cpp", + MAME_DIR .. "src/devices/cpu/z80/t6a84.h", MAME_DIR .. "src/devices/cpu/z80/tmpz84c011.cpp", MAME_DIR .. "src/devices/cpu/z80/tmpz84c011.h", MAME_DIR .. "src/devices/cpu/z80/tmpz84c015.cpp", MAME_DIR .. "src/devices/cpu/z80/tmpz84c015.h", + MAME_DIR .. "src/devices/cpu/z80/ez80.cpp", + MAME_DIR .. "src/devices/cpu/z80/ez80.h", + MAME_DIR .. "src/devices/cpu/z80/lz8420m.cpp", + MAME_DIR .. "src/devices/cpu/z80/lz8420m.h", + MAME_DIR .. "src/devices/cpu/z80/mc8123.cpp", + MAME_DIR .. "src/devices/cpu/z80/mc8123.h", + MAME_DIR .. "src/devices/cpu/z80/nsc800.cpp", + MAME_DIR .. "src/devices/cpu/z80/nsc800.h", + MAME_DIR .. "src/devices/cpu/z80/r800.cpp", + MAME_DIR .. "src/devices/cpu/z80/r800.h", + MAME_DIR .. "src/devices/cpu/z80/z84c015.cpp", + MAME_DIR .. "src/devices/cpu/z80/z84c015.h", + } + + dependency { + { MAME_DIR .. "src/devices/cpu/z80/z80.cpp", GEN_DIR .. "emu/cpu/z80/z80.hxx" }, + { MAME_DIR .. "src/devices/cpu/z80/nsc800.cpp", GEN_DIR .. "emu/cpu/z80/nsc800.hxx" }, + { MAME_DIR .. "src/devices/cpu/z80/r800.cpp", GEN_DIR .. "emu/cpu/z80/r800.hxx" }, + { MAME_DIR .. "src/devices/cpu/z80/t6a84.cpp", GEN_DIR .. "emu/cpu/z80/t6a84.hxx" }, + } + + custombuildtask { + { MAME_DIR .. "src/devices/cpu/z80/z80.lst", GEN_DIR .. "emu/cpu/z80/z80.hxx", { MAME_DIR .. "src/devices/cpu/z80/z80make.py" }, { "@echo Generating Z80 source file...", PYTHON .. " $(1) $(<) $(@)" } }, + { MAME_DIR .. "src/devices/cpu/z80/z80.lst", GEN_DIR .. "emu/cpu/z80/nsc800.hxx", { MAME_DIR .. "src/devices/cpu/z80/z80make.py" }, { "@echo Generating NSC800 source file...", PYTHON .. " $(1) nsc800 $(<) $(@)" } }, + { MAME_DIR .. "src/devices/cpu/z80/z80.lst", GEN_DIR .. "emu/cpu/z80/r800.hxx", { MAME_DIR .. "src/devices/cpu/z80/z80make.py" }, { "@echo Generating R800 source file...", PYTHON .. " $(1) r800 $(<) $(@)" } }, + { MAME_DIR .. "src/devices/cpu/z80/z80.lst", GEN_DIR .. "emu/cpu/z80/t6a84.hxx", { MAME_DIR .. "src/devices/cpu/z80/z80make.py" }, { "@echo Generating T6A84 source file...", PYTHON .. " $(1) t6a84 $(<) $(@)" } }, + } +end + +if CPUS["Z80N"] then + files { + MAME_DIR .. "src/devices/cpu/z80/z80n.cpp", + MAME_DIR .. "src/devices/cpu/z80/z80n.h", + } + + dependency { + { MAME_DIR .. "src/devices/cpu/z80/z80n.cpp", GEN_DIR .. "emu/cpu/z80/z80n.hxx" }, + } + + custombuildtask { + { MAME_DIR .. "src/devices/cpu/z80/z80.lst", GEN_DIR .. "emu/cpu/z80/z80n.hxx", { MAME_DIR .. "src/devices/cpu/z80/z80make.py" }, { "@echo Generating Z80N source file...", PYTHON .. " $(1) z80n $(<) $(@)" } }, + } +end + +if CPUS["KC80"] then + files { + MAME_DIR .. "src/devices/cpu/z80/kc82.cpp", + MAME_DIR .. "src/devices/cpu/z80/kc82.h", MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.cpp", MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.h", + MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.cpp", + MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.h", + MAME_DIR .. "src/devices/cpu/z80/kp63.cpp", + MAME_DIR .. "src/devices/cpu/z80/kp63.h", + MAME_DIR .. "src/devices/cpu/z80/kp64.cpp", + MAME_DIR .. "src/devices/cpu/z80/kp64.h", + MAME_DIR .. "src/devices/cpu/z80/kp69.cpp", + MAME_DIR .. "src/devices/cpu/z80/kp69.h", + MAME_DIR .. "src/devices/cpu/z80/ky80.cpp", + MAME_DIR .. "src/devices/cpu/z80/ky80.h", } end -if (CPUS["Z80"]~=null or _OPTIONS["with-tools"]) then +local want_disasm_z80 = opt_tool(CPUS, "Z80") +local want_disasm_kc80 = opt_tool(CPUS, "KC80") + +if want_disasm_z80 or want_disasm_kc80 then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/r800dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/r800dasm.h") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80dasm.h") end +if opt_tool(CPUS, "Z80N") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80ndasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z80/z80ndasm.h") +end + -------------------------------------------------- -- Sharp LR35902 (Game Boy CPU) --@src/devices/cpu/lr35902/lr35902.h,CPUS["LR35902"] = true +--@src/devices/cpu/lr35902/lr35902d.h,CPUS["LR35902"] = true -------------------------------------------------- -if (CPUS["LR35902"]~=null) then +if CPUS["LR35902"] then files { MAME_DIR .. "src/devices/cpu/lr35902/lr35902.cpp", MAME_DIR .. "src/devices/cpu/lr35902/lr35902.h", @@ -2514,7 +3131,7 @@ if (CPUS["LR35902"]~=null) then } end -if (CPUS["LR35902"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "LR35902") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lr35902/lr35902d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lr35902/lr35902d.h") end @@ -2524,8 +3141,10 @@ end --@src/devices/cpu/z180/z180.h,CPUS["Z180"] = true -------------------------------------------------- -if (CPUS["Z180"]~=null) then +if CPUS["Z180"] then files { + MAME_DIR .. "src/devices/cpu/z180/hd647180x.cpp", + MAME_DIR .. "src/devices/cpu/z180/hd647180x.h", MAME_DIR .. "src/devices/cpu/z180/z180.cpp", MAME_DIR .. "src/devices/cpu/z180/z180.h", MAME_DIR .. "src/devices/cpu/z180/z180cb.hxx", @@ -2533,13 +3152,17 @@ if (CPUS["Z180"]~=null) then MAME_DIR .. "src/devices/cpu/z180/z180ed.hxx", MAME_DIR .. "src/devices/cpu/z180/z180fd.hxx", MAME_DIR .. "src/devices/cpu/z180/z180op.hxx", + MAME_DIR .. "src/devices/cpu/z180/z180xy.hxx", MAME_DIR .. "src/devices/cpu/z180/z180ops.h", MAME_DIR .. "src/devices/cpu/z180/z180tbl.h", - MAME_DIR .. "src/devices/cpu/z180/z180xy.hxx", + MAME_DIR .. "src/devices/cpu/z180/z180asci.cpp", + MAME_DIR .. "src/devices/cpu/z180/z180asci.h", + MAME_DIR .. "src/devices/cpu/z180/z180csio.cpp", + MAME_DIR .. "src/devices/cpu/z180/z180csio.h", } end -if (CPUS["Z180"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "Z180") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z180/z180dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z180/z180dasm.h") end @@ -2549,7 +3172,7 @@ end --@src/devices/cpu/z8000/z8000.h,CPUS["Z8000"] = true -------------------------------------------------- -if (CPUS["Z8000"]~=null) then +if CPUS["Z8000"] then files { MAME_DIR .. "src/devices/cpu/z8000/z8000.cpp", MAME_DIR .. "src/devices/cpu/z8000/z8000.h", @@ -2561,7 +3184,7 @@ if (CPUS["Z8000"]~=null) then } end -if (CPUS["Z8000"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "Z8000") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8000/8000dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8000/8000dasm.h") end @@ -2571,7 +3194,7 @@ end --@src/devices/cpu/z8/z8.h,CPUS["Z8"] = true -------------------------------------------------- -if (CPUS["Z8"]~=null) then +if CPUS["Z8"] then files { MAME_DIR .. "src/devices/cpu/z8/z8.cpp", MAME_DIR .. "src/devices/cpu/z8/z8.h", @@ -2579,7 +3202,7 @@ if (CPUS["Z8"]~=null) then } end -if (CPUS["Z8"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "Z8") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8/z8dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/z8/z8dasm.h") end @@ -2589,48 +3212,118 @@ end --@src/devices/cpu/superfx/superfx.h,CPUS["SUPERFX"] = true -------------------------------------------------- -if (CPUS["SUPERFX"]~=null) then +if CPUS["SUPERFX"] then files { MAME_DIR .. "src/devices/cpu/superfx/superfx.cpp", MAME_DIR .. "src/devices/cpu/superfx/superfx.h", } end -if (CPUS["SUPERFX"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SUPERFX") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/superfx/sfx_dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/superfx/sfx_dasm.h") end -------------------------------------------------- +-- Rockwell A/B5000 family +--@src/devices/cpu/rw5000/a5000.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/a5500.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/a5900.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/b5000.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/b5500.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/b6000.h,CPUS["RW5000"] = true +--@src/devices/cpu/rw5000/b6100.h,CPUS["RW5000"] = true +-------------------------------------------------- + +if CPUS["RW5000"] then + files { + MAME_DIR .. "src/devices/cpu/rw5000/rw5000base.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/rw5000base.h", + MAME_DIR .. "src/devices/cpu/rw5000/b5000.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/b5000.h", + MAME_DIR .. "src/devices/cpu/rw5000/b5000op.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/b5500.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/b5500.h", + MAME_DIR .. "src/devices/cpu/rw5000/b6000.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/b6000.h", + MAME_DIR .. "src/devices/cpu/rw5000/b6100.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/b6100.h", + MAME_DIR .. "src/devices/cpu/rw5000/a5000.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/a5000.h", + MAME_DIR .. "src/devices/cpu/rw5000/a5500.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/a5500.h", + MAME_DIR .. "src/devices/cpu/rw5000/a5900.cpp", + MAME_DIR .. "src/devices/cpu/rw5000/a5900.h", + } +end + +if opt_tool(CPUS, "RW5000") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rw5000/rw5000d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rw5000/rw5000d.h") +end + +-------------------------------------------------- -- Rockwell PPS-4 --@src/devices/cpu/pps4/pps4.h,CPUS["PPS4"] = true -------------------------------------------------- -if (CPUS["PPS4"]~=null) then +if CPUS["PPS4"] then files { MAME_DIR .. "src/devices/cpu/pps4/pps4.cpp", MAME_DIR .. "src/devices/cpu/pps4/pps4.h", } end -if (CPUS["PPS4"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "PPS4") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps4/pps4dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps4/pps4dasm.h") end -------------------------------------------------- +-- Rockwell PPS-4/1 +--@src/devices/cpu/pps41/mm75.h,CPUS["PPS41"] = true +--@src/devices/cpu/pps41/mm76.h,CPUS["PPS41"] = true +--@src/devices/cpu/pps41/mm78.h,CPUS["PPS41"] = true +--@src/devices/cpu/pps41/mm78la.h,CPUS["PPS41"] = true +-------------------------------------------------- + +if CPUS["PPS41"] then + files { + MAME_DIR .. "src/devices/cpu/pps41/pps41base.cpp", + MAME_DIR .. "src/devices/cpu/pps41/pps41base.h", + MAME_DIR .. "src/devices/cpu/pps41/mm75.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm75.h", + MAME_DIR .. "src/devices/cpu/pps41/mm75op.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm76.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm76.h", + MAME_DIR .. "src/devices/cpu/pps41/mm76op.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm78.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm78.h", + MAME_DIR .. "src/devices/cpu/pps41/mm78op.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm78la.cpp", + MAME_DIR .. "src/devices/cpu/pps41/mm78la.h", + MAME_DIR .. "src/devices/cpu/pps41/mm78laop.cpp", + } +end + +if opt_tool(CPUS, "PPS41") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps41/pps41d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pps41/pps41d.h") +end + +-------------------------------------------------- -- Hitachi HD61700 --@src/devices/cpu/hd61700/hd61700.h,CPUS["HD61700"] = true -------------------------------------------------- -if (CPUS["HD61700"]~=null) then +if CPUS["HD61700"] then files { MAME_DIR .. "src/devices/cpu/hd61700/hd61700.cpp", MAME_DIR .. "src/devices/cpu/hd61700/hd61700.h", } end -if (CPUS["HD61700"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "HD61700") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hd61700/hd61700d.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hd61700/hd61700d.h") end @@ -2640,14 +3333,14 @@ end --@src/devices/cpu/lc8670/lc8670.h,CPUS["LC8670"] = true -------------------------------------------------- -if (CPUS["LC8670"]~=null) then +if CPUS["LC8670"] then files { MAME_DIR .. "src/devices/cpu/lc8670/lc8670.cpp", MAME_DIR .. "src/devices/cpu/lc8670/lc8670.h", } end -if (CPUS["LC8670"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "LC8670") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc8670/lc8670dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc8670/lc8670dsm.h") end @@ -2657,14 +3350,14 @@ end --@src/devices/cpu/scudsp/scudsp.h,CPUS["SCUDSP"] = true -------------------------------------------------- -if (CPUS["SCUDSP"]~=null) then +if CPUS["SCUDSP"] then files { MAME_DIR .. "src/devices/cpu/scudsp/scudsp.cpp", MAME_DIR .. "src/devices/cpu/scudsp/scudsp.h", } end -if (CPUS["SCUDSP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SCUDSP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scudsp/scudspdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/scudsp/scudspdasm.h") end @@ -2674,7 +3367,7 @@ end --@src/devices/cpu/score/score.h,CPUS["SCORE"] = true -------------------------------------------------- -if (CPUS["SCORE"]~=null) then +if CPUS["SCORE"] then files { MAME_DIR .. "src/devices/cpu/score/score.cpp", MAME_DIR .. "src/devices/cpu/score/score.h", @@ -2682,7 +3375,7 @@ if (CPUS["SCORE"]~=null) then } end -if (CPUS["SCORE"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SCORE") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/score/scoredsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/score/scoredsm.h") end @@ -2692,7 +3385,7 @@ end --@src/devices/cpu/alto2/alto2cpu.h,CPUS["ALTO2"] = true -------------------------------------------------- -if (CPUS["ALTO2"]~=null) then +if CPUS["ALTO2"] then files { MAME_DIR .. "src/devices/cpu/alto2/alto2cpu.cpp", MAME_DIR .. "src/devices/cpu/alto2/alto2cpu.h", @@ -2736,27 +3429,26 @@ if (CPUS["ALTO2"]~=null) then } end -if (CPUS["ALTO2"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ALTO2") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alto2/alto2dsm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alto2/alto2dsm.h") end ------------------------------------------ --- Sun SPARC, Fujitus MB86901 implementation ---@src/devices/cpu/sparc/sparc.h,CPUS["MB86901"] = true +-- Sun SPARCv7, SPARCv8 implementation +--@src/devices/cpu/sparc/sparc.h,CPUS["SPARC"] = true -------------------------------------------------- -if (CPUS["MB86901"]~=null) then +if CPUS["SPARC"] then files { - MAME_DIR .. "src/devices/cpu/sparc/mb86901.cpp", - MAME_DIR .. "src/devices/cpu/sparc/sparcv8ops.ipp", + MAME_DIR .. "src/devices/cpu/sparc/sparc.cpp", MAME_DIR .. "src/devices/cpu/sparc/sparcdefs.h", MAME_DIR .. "src/devices/cpu/sparc/sparc_intf.h", MAME_DIR .. "src/devices/cpu/sparc/sparc.h", } end -if (CPUS["MB86901"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "SPARC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sparc/sparcdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sparc/sparcdasm.h") end @@ -2766,14 +3458,14 @@ end --@src/devices/cpu/clipper/clipper.h,CPUS["CLIPPER"] = true -------------------------------------------------- -if (CPUS["CLIPPER"]~=null) then +if CPUS["CLIPPER"] then files { MAME_DIR .. "src/devices/cpu/clipper/clipper.cpp", MAME_DIR .. "src/devices/cpu/clipper/clipper.h", } end -if (CPUS["CLIPPER"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CLIPPER") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/clipper/clipperd.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/clipper/clipperd.h") end @@ -2783,7 +3475,7 @@ end -- VM Labs Nuon, disassembler only -------------------------------------------------- -if (_OPTIONS["with-tools"]) then +if opt_tool(CPUS, "NUON") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nuon/nuondasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nuon/nuondasm.h") end @@ -2793,50 +3485,90 @@ end --@src/devices/cpu/alpha/alpha.h,CPUS["ALPHA"] = true -------------------------------------------------- -if (CPUS["ALPHA"]~=null) then +if CPUS["ALPHA"] then files { MAME_DIR .. "src/devices/cpu/alpha/alpha.cpp", MAME_DIR .. "src/devices/cpu/alpha/alpha.h", } end -if (CPUS["ALPHA"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "ALPHA") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.h") end -------------------------------------------------- +-- Hewlett-Packard HP2100 (disassembler only) +--@src/devices/cpu/hp2100/hp2100.h,CPUS["HP2100"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "HP2100") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hp2100/hp2100d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hp2100/hp2100d.h") +end + +-------------------------------------------------- +-- SDS Sigma 2 (disassembler only) +--@src/devices/cpu/sigma2/sigma2.h,CPUS["SIGMA2"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "SIGMA2") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sigma2/sigma2d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/sigma2/sigma2d.h") +end + +-------------------------------------------------- +-- Control Data Corporation 160 (disassembler only) +--@src/devices/cpu/cdc160/cdc160.h,CPUS["CDC160"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "CDC160") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cdc160/cdc160d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cdc160/cdc160d.h") +end + +-------------------------------------------------- +-- Control Data Corporation 1700 (disassembler only) +--@src/devices/cpu/cdc1700/cdc1700.h,CPUS["CDC1700"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "CDC1700") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cdc1700/cdc1700d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cdc1700/cdc1700d.h") +end + +-------------------------------------------------- -- National Semiconductor HPC --@src/devices/cpu/hpc/hpc.h,CPUS["HPC"] = true -------------------------------------------------- -if (CPUS["HPC"]~=null) then +if CPUS["HPC"] then files { MAME_DIR .. "src/devices/cpu/hpc/hpc.cpp", MAME_DIR .. "src/devices/cpu/hpc/hpc.h", } end -if (CPUS["HPC"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "HPC") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.h") end -------------------------------------------------- --- Yamaha Multiple Effects Generator ---@src/devices/sound/meg.h,CPUS["MEG"] = true +-- Yamaha SWP30 +--@src/devices/sound/swp30.h,CPUS["SWP30"] = true -------------------------------------------------- -if (CPUS["MEG"]~=null) then +if CPUS["SWP30"] then files { - MAME_DIR .. "src/devices/sound/meg.cpp", - MAME_DIR .. "src/devices/sound/meg.h", + MAME_DIR .. "src/devices/sound/swp30.cpp", + MAME_DIR .. "src/devices/sound/swp30.h", } end -if (CPUS["MEG"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/sound/megd.h") +if opt_tool(CPUS, "SWP30") then + table.insert(disasm_files , MAME_DIR .. "src/devices/sound/swp30d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/sound/swp30d.h") end -------------------------------------------------- @@ -2844,14 +3576,14 @@ end --@src/devices/sound/dspv.h,CPUS["DSPV"] = true -------------------------------------------------- -if (CPUS["DSPV"]~=null) then +if CPUS["DSPV"] then files { MAME_DIR .. "src/devices/sound/dspv.cpp", MAME_DIR .. "src/devices/sound/dspv.h", } end -if (CPUS["DSPV"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "DSPV") then table.insert(disasm_files , MAME_DIR .. "src/devices/sound/dspvd.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/sound/dspvd.h") end @@ -2861,16 +3593,17 @@ end --@src/devices/cpu/ns32000/ns32000.h,CPUS["NS32000"] = true -------------------------------------------------- -if (CPUS["NS32000"]~=null) then +if CPUS["NS32000"] then files { MAME_DIR .. "src/devices/cpu/ns32000/ns32000.cpp", MAME_DIR .. "src/devices/cpu/ns32000/ns32000.h", + MAME_DIR .. "src/devices/cpu/ns32000/common.h", } end -if (CPUS["NS32000"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000dasm.h") +if opt_tool(CPUS, "NS32000") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ns32000/ns32000d.h") end -------------------------------------------------- @@ -2878,14 +3611,14 @@ end --@src/devices/cpu/rii/riscii.h,CPUS["RII"] = true -------------------------------------------------- -if (CPUS["RII"]~=null) then +if CPUS["RII"] then files { MAME_DIR .. "src/devices/cpu/rii/riscii.cpp", MAME_DIR .. "src/devices/cpu/rii/riscii.h", } end -if (CPUS["RII"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "RII") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rii/riidasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rii/riidasm.h") end @@ -2895,14 +3628,14 @@ end --@src/devices/cpu/bcp/dp8344.h,CPUS["BCP"] = true -------------------------------------------------- -if (CPUS["BCP"]~=null) then +if CPUS["BCP"] then files { MAME_DIR .. "src/devices/cpu/bcp/dp8344.cpp", MAME_DIR .. "src/devices/cpu/bcp/dp8344.h", } end -if (CPUS["BCP"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "BCP") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/bcp/bcpdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/bcp/bcpdasm.h") end @@ -2912,33 +3645,604 @@ end --@src/devices/cpu/f2mc16/f2mc16.h,CPUS["F2MC16"] = true -------------------------------------------------- -if (CPUS["F2MC16"]~=null) then +if CPUS["F2MC16"] then files { MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16.cpp", MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16.h", - MAME_DIR .. "src/devices/cpu/f2mc16/mb9061x.cpp", - MAME_DIR .. "src/devices/cpu/f2mc16/mb9061x.h", - } -end - -if (CPUS["F2MC16"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16dasm.h") + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_adc.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_adc.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_clock.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_clock.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_intc.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_intc.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_port.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_port.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_ppg.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_ppg.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_reload.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_reload.h", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_uart.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16_uart.h", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90570.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90570.h", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90610a.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90610a.h", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90640a.cpp", + MAME_DIR .. "src/devices/cpu/f2mc16/mb90640a.h", + } +end + +if opt_tool(CPUS, "F2MC16") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/f2mc16/f2mc16d.h") end -------------------------------------------------- -- National Semiconductor CR16B ---@src/devices/cpu/cr16b/cr16bdasm.h,CPUS["CR16B"] = true +--@src/devices/cpu/cr16b/cr16b.h,CPUS["CR16B"] = true -------------------------------------------------- -if (CPUS["CR16B"]~=null) then +if CPUS["CR16B"] then files { MAME_DIR .. "src/devices/cpu/cr16b/cr16b.cpp", MAME_DIR .. "src/devices/cpu/cr16b/cr16b.h", } end -if (CPUS["CR16B"]~=null or _OPTIONS["with-tools"]) then +if opt_tool(CPUS, "CR16B") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16b/cr16bdasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16b/cr16bdasm.h") end + +-------------------------------------------------- +-- National Semiconductor CR16C, disassembler only +-------------------------------------------------- + +if opt_tool(CPUS, "CR16C") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16c/cr16cdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16c/cr16cdasm.h") +end + +-------------------------------------------------- +-- Gigatron +--@src/devices/cpu/gigatron/gigatron.h,CPUS["GTRON"] = true +-------------------------------------------------- + +if CPUS["GTRON"] then + files { + MAME_DIR .. "src/devices/cpu/gigatron/gigatron.cpp", + MAME_DIR .. "src/devices/cpu/gigatron/gigatron.h", + } +end + +if opt_tool(CPUS, "GTRON") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/gigatron/gigatrondasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/gigatron/gigatrondasm.h") +end + +-------------------------------------------------- +-- Motorola DSP56000 +--@src/devices/cpu/dsp56000/dsp56000.h,CPUS["DSP56000"] = true +-------------------------------------------------- + +if CPUS["DSP56000"] then + files { + MAME_DIR .. "src/devices/cpu/dsp56000/dsp56000.cpp", + MAME_DIR .. "src/devices/cpu/dsp56000/dsp56000.h", + } +end + +if opt_tool(CPUS, "DSP56000") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56000/dsp56000d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/dsp56000/dsp56000d.h") +end + +-------------------------------------------------- +-- DEC VAX +--@src/devices/cpu/vax/vax.h,CPUS["VAX"] = true +-------------------------------------------------- + +if CPUS["VAX"] then + files { + MAME_DIR .. "src/devices/cpu/vax/vax.cpp", + MAME_DIR .. "src/devices/cpu/vax/vax.h", + } +end + +if opt_tool(CPUS, "VAX") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vax/vaxdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vax/vaxdasm.h") +end + +-------------------------------------------------- +-- DEC VT50/VT52 +--@src/devices/cpu/vt50/vt50.h,CPUS["VT50"] = true +-------------------------------------------------- + +if CPUS["VT50"] then + files { + MAME_DIR .. "src/devices/cpu/vt50/vt50.cpp", + MAME_DIR .. "src/devices/cpu/vt50/vt50.h", + } +end + +if opt_tool(CPUS, "VT50") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vt50/vt50dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vt50/vt50dasm.h") +end + +-------------------------------------------------- +-- DEC VT61 +--@src/devices/cpu/vt61/vt61.h,CPUS["VT61"] = true +-------------------------------------------------- + +if CPUS["VT61"] then + files { + MAME_DIR .. "src/devices/cpu/vt61/vt61.cpp", + MAME_DIR .. "src/devices/cpu/vt61/vt61.h", + } +end + +if opt_tool(CPUS, "VT61") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vt61/vt61dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/vt61/vt61dasm.h") +end + +-------------------------------------------------- +-- National Semiconductor PACE/INS8900 +--@src/devices/cpu/pace/pace.h,CPUS["PACE"] = true +-------------------------------------------------- + +if CPUS["PACE"] then + files { + MAME_DIR .. "src/devices/cpu/pace/pace.cpp", + MAME_DIR .. "src/devices/cpu/pace/pace.h", + } +end + +if opt_tool(CPUS, "PACE") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pace/pacedasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/pace/pacedasm.h") +end + +-------------------------------------------------- +-- AT&T WE32000/WE32100/WE32200 +--@src/devices/cpu/we32000/we32100.h,CPUS["WE32000"] = true +-------------------------------------------------- + +if CPUS["WE32000"] then + files { + MAME_DIR .. "src/devices/cpu/we32000/we32100.cpp", + MAME_DIR .. "src/devices/cpu/we32000/we32100.h", + } +end + +if opt_tool(CPUS, "WE32000") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/we32000/we32100d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/we32000/we32100d.h") +end + +-------------------------------------------------- +-- DEC RX01 +--@src/devices/cpu/rx01/rx01.h,CPUS["RX01"] = true +-------------------------------------------------- + +if CPUS["RX01"] then + files { + MAME_DIR .. "src/devices/cpu/rx01/rx01.cpp", + MAME_DIR .. "src/devices/cpu/rx01/rx01.h", + } +end + +if opt_tool(CPUS, "RX01") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rx01/rx01dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/rx01/rx01dasm.h") +end + +-------------------------------------------------- +-- Motorola M88000 +--@src/devices/cpu/m88000/m88000.h,CPUS["M88000"] = true +-------------------------------------------------- + +if CPUS["M88000"] then + files { + MAME_DIR .. "src/devices/cpu/m88000/m88000.cpp", + MAME_DIR .. "src/devices/cpu/m88000/m88000.h", + } +end + +if opt_tool(CPUS, "M88000") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m88000/m88000d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m88000/m88000d.h") +end + +-------------------------------------------------- +-- XAVIX2 +--@src/devices/cpu/xavix2/xavix2.h,CPUS["XAVIX2"] = true +-------------------------------------------------- + +if CPUS["XAVIX2"] then + files { + MAME_DIR .. "src/devices/cpu/xavix2/xavix2.cpp", + MAME_DIR .. "src/devices/cpu/xavix2/xavix2.h", + } +end + +if opt_tool(CPUS, "XAVIX2") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xavix2/xavix2d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xavix2/xavix2d.h") +end + +-------------------------------------------------- +-- NEC 78K +--@src/devices/cpu/upd78k/upd78k0.h,CPUS["UPD78K"] = true +--@src/devices/cpu/upd78k/upd78k2.h,CPUS["UPD78K"] = true +--@src/devices/cpu/upd78k/upd78k3.h,CPUS["UPD78K"] = true +--@src/devices/cpu/upd78k/upd78k4.h,CPUS["UPD78K"] = true +-------------------------------------------------- + +if CPUS["UPD78K"] then + files { + MAME_DIR .. "src/devices/cpu/upd78k/upd78k0.cpp", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k0.h", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k2.cpp", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k2.h", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k3.cpp", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k3.h", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k4.cpp", + MAME_DIR .. "src/devices/cpu/upd78k/upd78k4.h", + } +end + +if opt_tool(CPUS, "UPD78K") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78kd.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78kd.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k0d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k0d.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k1d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k1d.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k2d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k2d.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k3d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k3d.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k4d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd78k/upd78k4d.h") +end + +-------------------------------------------------- +-- IBM ROMP +--@src/devices/cpu/romp/romp.h,CPUS["ROMP"] = true +-------------------------------------------------- + +if CPUS["ROMP"] then + files { + MAME_DIR .. "src/devices/cpu/romp/romp.cpp", + MAME_DIR .. "src/devices/cpu/romp/romp.h", + MAME_DIR .. "src/devices/cpu/romp/rsc.h", + } +end + +if opt_tool(CPUS, "ROMP") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/romp/rompdasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/romp/rompdasm.h") +end + +-------------------------------------------------- +-- KS0164 +--@src/devices/cpu/ks0164/ks0164.h,CPUS["KS0164"] = true +-------------------------------------------------- + +if CPUS["KS0164"] then + files { + MAME_DIR .. "src/devices/cpu/ks0164/ks0164.cpp", + MAME_DIR .. "src/devices/cpu/ks0164/ks0164.h", + } +end + +if opt_tool(CPUS, "KS0164") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ks0164/ks0164d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ks0164/ks0164d.h") +end + +-------------------------------------------------- +-- uPD177x - Disassembler only +--@src/devices/cpu/upd177x/upd177x.h,CPUS["UPD177X"] = true +-------------------------------------------------- + +if CPUS["UPD177X"] then + files { + MAME_DIR .. "src/devices/cpu/upd177x/upd177x.cpp", + MAME_DIR .. "src/devices/cpu/upd177x/upd177x.h", + } +end + +if opt_tool(CPUS, "UPD177X") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd177x/upd177xd.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd177x/upd177xd.h") +end + +-------------------------------------------------- +-- Sanyo LC58 - Disassembler only +--@src/devices/cpu/lc58/lc58.h,CPUS["LC58"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "LC58") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc58/lc58d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc58/lc58d.h") +end + +-------------------------------------------------- +-- OKI MSM6502/6512 - Disassembler only +--@src/devices/cpu/msm65x2/msm65x2.h,CPUS["MSM65X2"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "MSM65X2") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/msm65x2/msm65x2d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/msm65x2/msm65x2d.h") +end + +-------------------------------------------------- +-- Sanyo LC57 - Disassembler only +--@src/devices/cpu/lc57/lc57.h,CPUS["LC57"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "LC57") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc57/lc57d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/lc57/lc57d.h") +end + +-------------------------------------------------- +-- Mark I (Andrew Holme) +--@src/devices/cpu/mk1/mk1.h,CPUS["MK1"] = true +-------------------------------------------------- + +if CPUS["MK1"] then + files { + MAME_DIR .. "src/devices/cpu/mk1/mk1.cpp", + MAME_DIR .. "src/devices/cpu/mk1/mk1.h", + } +end + +if opt_tool(CPUS, "MK1") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mk1/mk1dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mk1/mk1dasm.h") +end + +-------------------------------------------------- +-- Motorola M68HC16 (CPU16) +--@src/devices/cpu/m68hc16/cpu16.h,CPUS["M68HC16"] = true +-------------------------------------------------- + +if CPUS["M68HC16"] then + files { + MAME_DIR .. "src/devices/cpu/m68hc16/cpu16.cpp", + MAME_DIR .. "src/devices/cpu/m68hc16/cpu16.h", + MAME_DIR .. "src/devices/cpu/m68hc16/m68hc16z.cpp", + MAME_DIR .. "src/devices/cpu/m68hc16/m68hc16z.h", + } +end + +if opt_tool(CPUS, "M68HC16") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68hc16/cpu16dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/m68hc16/cpu16dasm.h") +end + +-------------------------------------------------- +-- Varian 620, disassembler only +-------------------------------------------------- + +if opt_tool(CPUS, "V620") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v620/v620dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/v620/v620dasm.h") +end + +-------------------------------------------------- +-- Altera Nios II +--@src/devices/cpu/nios2/nios2.h,CPUS["NIOS2"] = true +-------------------------------------------------- + +if CPUS["NIOS2"] then + files { + MAME_DIR .. "src/devices/cpu/nios2/nios2.cpp", + MAME_DIR .. "src/devices/cpu/nios2/nios2.h", + } +end + +if opt_tool(CPUS, "NIOS2") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nios2/nios2dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nios2/nios2dasm.h") +end + +-------------------------------------------------- +-- IBM 1800, disassembler only +--@src/devices/cpu/ibm1800/ibm1800.h,CPUS["IBM1800"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "IBM1800") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ibm1800/ibm1800d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ibm1800/ibm1800d.h") +end + +-------------------------------------------------- +-- Data General Nova, disassembler only +--@src/devices/cpu/nova/nova.h,CPUS["NOVA"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "NOVA") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nova/novadasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/nova/novadasm.h") +end + +-------------------------------------------------- +-- Interdata Series 16, disassembler only +--@src/devices/cpu/interdata16/interdata16.h,CPUS["INTERDATA16"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "INTERDATA16") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/interdata16/dasm16.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/interdata16/dasm16.h") +end + +-------------------------------------------------- +-- SGS-Thomson ST9 +--@src/devices/cpu/st9/st905x.h,CPUS["ST9"] = true +-------------------------------------------------- + +if CPUS["ST9"] then + files { + MAME_DIR .. "src/devices/cpu/st9/st905x.cpp", + MAME_DIR .. "src/devices/cpu/st9/st905x.h", + } +end + +if opt_tool(CPUS, "ST9") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st9/st9dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/st9/st9dasm.h") +end + +-------------------------------------------------- +-- 3C/Honeywell DDP-516, disassembler only +--@src/devices/cpu/ddp516/ddp516.h,CPUS["DDP516"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "DDP516") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ddp516/ddp516d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ddp516/ddp516d.h") +end + +-------------------------------------------------- +-- Whatever is in the Evolution +--@src/devices/cpu/evolution/evo.h,CPUS["EVOLUTION"] = true +-------------------------------------------------- + +if CPUS["EVOLUTION"] then + files { + MAME_DIR .. "src/devices/cpu/evolution/evo.cpp", + MAME_DIR .. "src/devices/cpu/evolution/evo.h", + } +end + +if opt_tool(CPUS, "EVOLUTION") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/evolution/evod.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/evolution/evod.h") +end + +-------------------------------------------------- +-- Tensilica Xtensa +--@src/devices/cpu/xtensa/xtensa.h,CPUS["XTENSA"] = true +-------------------------------------------------- + +if CPUS["XTENSA"] then + files { + MAME_DIR .. "src/devices/cpu/xtensa/xtensa.cpp", + MAME_DIR .. "src/devices/cpu/xtensa/xtensa.h", + MAME_DIR .. "src/devices/cpu/xtensa/xtensa_helper.cpp", + MAME_DIR .. "src/devices/cpu/xtensa/xtensa_helper.h", + } +end + +if opt_tool(CPUS, "XTENSA") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensad.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensad.h") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensa_helper.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xtensa/xtensa_helper.h") +end + +-------------------------------------------------- +-- Holtek HT1130 +--@src/devices/cpu/ht1130/ht1130.h,CPUS["HT1130"] = true +-------------------------------------------------- + +if CPUS["HT1130"] then + files { + MAME_DIR .. "src/devices/cpu/ht1130/ht1130.cpp", + MAME_DIR .. "src/devices/cpu/ht1130/ht1130.h", + } +end + +if opt_tool(CPUS, "HT1130") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ht1130/ht1130d.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/ht1130/ht1130d.h") +end + +-------------------------------------------------- +-- UPD777 +--@src/devices/cpu/upd777/upd777.h,CPUS["UPD777"] = true +-------------------------------------------------- + +if CPUS["UPD777"] then + files { + MAME_DIR .. "src/devices/cpu/upd777/upd777.cpp", + MAME_DIR .. "src/devices/cpu/upd777/upd777.h", + } +end + +if opt_tool(CPUS, "UPD777") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd777/upd777dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/upd777/upd777dasm.h") +end + +-------------------------------------------------- +-- Epson C33 STD, C33 ADV, etc. +--@src/devices/cpu/c33/c33common.h,CPUS["C33"] = true +-------------------------------------------------- + +if CPUS["C33"] then + files { + MAME_DIR .. "src/devices/cpu/c33/c33common.h", + MAME_DIR .. "src/devices/cpu/c33/c33helpers.ipp", + MAME_DIR .. "src/devices/cpu/c33/c33std.cpp", + MAME_DIR .. "src/devices/cpu/c33/c33std.h", + MAME_DIR .. "src/devices/cpu/c33/s1c33209.cpp", + MAME_DIR .. "src/devices/cpu/c33/s1c33209.h", + } +end + +if opt_tool(CPUS, "C33") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/c33/c33dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/c33/c33dasm.h") +end + +-------------------------------------------------- +-- IBM PALM +--@src/devices/cpu/palm/palm.h,CPUS["PALM"] = true +-------------------------------------------------- + +if CPUS["PALM"] then + files { + MAME_DIR .. "src/devices/cpu/palm/palm.cpp", + MAME_DIR .. "src/devices/cpu/palm/palm.h", + } +end + +if opt_tool(CPUS, "PALM") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/palm/palmd.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/palm/palmd.h") +end + +-------------------------------------------------- +-- Oki OLMS-66K/nX-8 series +--@src/devices/cpu/olms66k/msm665xx.h,CPUS["OLMS66K"] = true +-------------------------------------------------- + +if CPUS["OLMS66K"] then + files { + MAME_DIR .. "src/devices/cpu/olms66k/msm665xx.cpp", + MAME_DIR .. "src/devices/cpu/olms66k/msm665xx.h", + } +end + +if opt_tool(CPUS, "OLMS66K") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/olms66k/nx8dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/olms66k/nx8dasm.h") +end + +-------------------------------------------------- +-- Panasonic MN10300, disassembler only +--@src/devices/cpu/mn10300/mn10300.h,CPUS["MN10300"] = true +-------------------------------------------------- + +if opt_tool(CPUS, "MN10300") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10300/mn103dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mn10300/mn103dasm.h") +end diff --git a/scripts/src/devices.lua b/scripts/src/devices.lua index 4940ccdaafd..1e3f31d0b80 100644 --- a/scripts/src/devices.lua +++ b/scripts/src/devices.lua @@ -33,7 +33,6 @@ function devicesProject(_target, _subtarget) MAME_DIR .. "src/osd", MAME_DIR .. "src/emu", MAME_DIR .. "src/devices", - MAME_DIR .. "src/mame", -- used for sound amiga MAME_DIR .. "src/lib", MAME_DIR .. "src/lib/util", MAME_DIR .. "3rdparty", diff --git a/scripts/src/emu.lua b/scripts/src/emu.lua index 197e4181258..b73d2cc61a6 100644 --- a/scripts/src/emu.lua +++ b/scripts/src/emu.lua @@ -9,6 +9,8 @@ -- --------------------------------------------------------------------------- +if _OPTIONS["with-emulator"] then + project ("emu") uuid ("e6fa15e4-a354-4526-acef-13c8e80fcacf") kind (LIBTYPE) @@ -24,6 +26,7 @@ includedirs { MAME_DIR .. "src/lib", MAME_DIR .. "src/lib/util", MAME_DIR .. "3rdparty", + MAME_DIR .. "3rdparty/sol2", GEN_DIR .. "emu", GEN_DIR .. "emu/layout", } @@ -87,7 +90,7 @@ files { MAME_DIR .. "src/emu/dipalette.h", MAME_DIR .. "src/emu/dipty.cpp", MAME_DIR .. "src/emu/dipty.h", - MAME_DIR .. "src/emu/dirom.cpp", + MAME_DIR .. "src/emu/dirom.ipp", MAME_DIR .. "src/emu/dirom.h", MAME_DIR .. "src/emu/dirtc.cpp", MAME_DIR .. "src/emu/dirtc.h", @@ -110,12 +113,12 @@ files { MAME_DIR .. "src/emu/driver.h", MAME_DIR .. "src/emu/drivenum.cpp", MAME_DIR .. "src/emu/drivenum.h", - MAME_DIR .. "src/emu/emualloc.cpp", - MAME_DIR .. "src/emu/emualloc.h", MAME_DIR .. "src/emu/emucore.cpp", MAME_DIR .. "src/emu/emucore.h", MAME_DIR .. "src/emu/emumem.cpp", MAME_DIR .. "src/emu/emumem.h", + MAME_DIR .. "src/emu/emumem_aspace.cpp", + MAME_DIR .. "src/emu/emumem_mview.cpp", MAME_DIR .. "src/emu/emumem_mud.cpp", MAME_DIR .. "src/emu/emumem_mud.h", MAME_DIR .. "src/emu/emumem_hea.h", @@ -143,6 +146,8 @@ files { MAME_DIR .. "src/emu/emumem_hep.h", MAME_DIR .. "src/emu/emumem_het.cpp", MAME_DIR .. "src/emu/emumem_het.h", + MAME_DIR .. "src/emu/emumem_hws.cpp", + MAME_DIR .. "src/emu/emumem_hws.h", MAME_DIR .. "src/emu/emuopts.cpp", MAME_DIR .. "src/emu/emuopts.h", MAME_DIR .. "src/emu/emupal.cpp", @@ -159,6 +164,7 @@ files { MAME_DIR .. "src/emu/inputdev.h", MAME_DIR .. "src/emu/ioport.cpp", MAME_DIR .. "src/emu/ioport.h", + MAME_DIR .. "src/emu/inpttype.ipp", MAME_DIR .. "src/emu/inpttype.h", MAME_DIR .. "src/emu/logmacro.h", MAME_DIR .. "src/emu/machine.cpp", @@ -177,14 +183,19 @@ files { MAME_DIR .. "src/emu/profiler.h", MAME_DIR .. "src/emu/output.cpp", MAME_DIR .. "src/emu/output.h", + MAME_DIR .. "src/emu/recording.cpp", + MAME_DIR .. "src/emu/recording.h", MAME_DIR .. "src/emu/render.cpp", MAME_DIR .. "src/emu/render.h", + MAME_DIR .. "src/emu/rendertypes.h", MAME_DIR .. "src/emu/rendfont.cpp", MAME_DIR .. "src/emu/rendfont.h", MAME_DIR .. "src/emu/rendlay.cpp", MAME_DIR .. "src/emu/rendlay.h", MAME_DIR .. "src/emu/rendutil.cpp", MAME_DIR .. "src/emu/rendutil.h", + MAME_DIR .. "src/emu/resampler.cpp", + MAME_DIR .. "src/emu/resampler.h", MAME_DIR .. "src/emu/romload.cpp", MAME_DIR .. "src/emu/romload.h", MAME_DIR .. "src/emu/romentry.h", @@ -228,24 +239,30 @@ files { MAME_DIR .. "src/emu/debug/debughlp.h", MAME_DIR .. "src/emu/debug/debugvw.cpp", MAME_DIR .. "src/emu/debug/debugvw.h", + MAME_DIR .. "src/emu/debug/dvbpoints.cpp", + MAME_DIR .. "src/emu/debug/dvbpoints.h", MAME_DIR .. "src/emu/debug/dvdisasm.cpp", MAME_DIR .. "src/emu/debug/dvdisasm.h", + MAME_DIR .. "src/emu/debug/dvepoints.cpp", + MAME_DIR .. "src/emu/debug/dvepoints.h", MAME_DIR .. "src/emu/debug/dvmemory.cpp", MAME_DIR .. "src/emu/debug/dvmemory.h", - MAME_DIR .. "src/emu/debug/dvbpoints.cpp", - MAME_DIR .. "src/emu/debug/dvbpoints.h", - MAME_DIR .. "src/emu/debug/dvwpoints.cpp", - MAME_DIR .. "src/emu/debug/dvwpoints.h", + MAME_DIR .. "src/emu/debug/dvrpoints.cpp", + MAME_DIR .. "src/emu/debug/dvrpoints.h", MAME_DIR .. "src/emu/debug/dvstate.cpp", MAME_DIR .. "src/emu/debug/dvstate.h", MAME_DIR .. "src/emu/debug/dvtext.cpp", MAME_DIR .. "src/emu/debug/dvtext.h", + MAME_DIR .. "src/emu/debug/dvwpoints.cpp", + MAME_DIR .. "src/emu/debug/dvwpoints.h", MAME_DIR .. "src/emu/debug/express.cpp", MAME_DIR .. "src/emu/debug/express.h", + MAME_DIR .. "src/emu/debug/points.cpp", + MAME_DIR .. "src/emu/debug/points.h", MAME_DIR .. "src/emu/debug/textbuf.cpp", MAME_DIR .. "src/emu/debug/textbuf.h", MAME_DIR .. "src/emu/drivers/empty.cpp", - MAME_DIR .. "src/emu/drivers/xtal.h", + MAME_DIR .. "src/emu/layout/generic.h", MAME_DIR .. "src/emu/video/generic.cpp", MAME_DIR .. "src/emu/video/generic.h", MAME_DIR .. "src/emu/video/resnet.cpp", @@ -257,11 +274,20 @@ files { MAME_DIR .. "src/emu/video/rgbsse.h", MAME_DIR .. "src/emu/video/rgbvmx.cpp", MAME_DIR .. "src/emu/video/rgbvmx.h", + MAME_DIR .. "src/emu/audio_effects/aeffect.h", + MAME_DIR .. "src/emu/audio_effects/aeffect.cpp", + MAME_DIR .. "src/emu/audio_effects/filter.h", + MAME_DIR .. "src/emu/audio_effects/filter.cpp", + MAME_DIR .. "src/emu/audio_effects/compressor.h", + MAME_DIR .. "src/emu/audio_effects/compressor.cpp", + MAME_DIR .. "src/emu/audio_effects/reverb.h", + MAME_DIR .. "src/emu/audio_effects/reverb.cpp", + MAME_DIR .. "src/emu/audio_effects/eq.h", + MAME_DIR .. "src/emu/audio_effects/eq.cpp", } pchsource(MAME_DIR .. "src/emu/main.cpp") --- 3 files do not inlcude emu.h -nopch(MAME_DIR .. "src/emu/emualloc.cpp") +-- 2 files do not include emu.h nopch(MAME_DIR .. "src/emu/attotime.cpp") nopch(MAME_DIR .. "src/emu/debug/textbuf.cpp") @@ -274,28 +300,31 @@ dependency { ------------------------------------------------- -- core layouts -------------------------------------------------- + { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/noscreens.lh" }, + { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/monitors.lh" }, { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhovu.lh" }, { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhsxs.lh" }, { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/dualhuov.lh" }, { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/triphsxs.lh" }, { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/quadhsxs.lh" }, - { MAME_DIR .. "src/emu/rendlay.cpp", GEN_DIR .. "emu/layout/noscreens.lh" }, } custombuildtask { - { MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall uint8_t" }}, + { MAME_DIR .. "scripts/font/NotoSans-Bold.bdc", GEN_DIR .. "emu/uismall.fh", { MAME_DIR .. "scripts/build/file2str.py" }, { "@echo Converting NotoSans-Bold.bdc...", PYTHON .. " $(1) $(<) $(@) font_uismall uint8_t" } }, } custombuildtask { - { MAME_DIR .. "src/frontend/mame/ui/uicmd14.png" , GEN_DIR .. "emu/ui/uicmd14.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, {"@echo Converting uicmd14.png...", PYTHON .. " $(1) $(<) temp_cmd.bdc", PYTHON .. " $(2) temp_cmd.bdc $(@) font_uicmd14 uint8_t" }}, + { MAME_DIR .. "src/frontend/mame/ui/uicmd14.png", GEN_DIR .. "emu/ui/uicmd14.fh", { MAME_DIR.. "scripts/build/png2bdc.py", MAME_DIR .. "scripts/build/file2str.py" }, { "@echo Converting uicmd14.png...", PYTHON .. " $(1) $(<) temp_cmd.bdc", PYTHON .. " $(2) temp_cmd.bdc $(@) font_uicmd14 uint8_t" } }, + layoutbuildtask("emu/layout", "noscreens"), + layoutbuildtask("emu/layout", "monitors"), layoutbuildtask("emu/layout", "dualhovu"), layoutbuildtask("emu/layout", "dualhsxs"), layoutbuildtask("emu/layout", "dualhuov"), layoutbuildtask("emu/layout", "triphsxs"), layoutbuildtask("emu/layout", "quadhsxs"), - layoutbuildtask("emu/layout", "noscreens"), } +end project ("precompile") uuid ("a6fb15d4-b123-4445-acef-13c8e80fcacf") 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 diff --git a/scripts/src/lib.lua b/scripts/src/lib.lua index 28fb3b7c9a6..cc5567207ed 100644 --- a/scripts/src/lib.lua +++ b/scripts/src/lib.lua @@ -21,13 +21,19 @@ project "utils" MAME_DIR .. "3rdparty", ext_includedir("expat"), ext_includedir("zlib"), + ext_includedir("zstd"), ext_includedir("flac"), ext_includedir("utf8proc"), } +if not _OPTIONS["with-system-utf8proc"] then + defines { + "UTF8PROC_STATIC", + } +end + files { - MAME_DIR .. "src/lib/util/bitstream.h", - MAME_DIR .. "src/lib/util/coretmpl.h", + MAME_DIR .. "src/lib/util/abi.h", MAME_DIR .. "src/lib/util/avhuff.cpp", MAME_DIR .. "src/lib/util/avhuff.h", MAME_DIR .. "src/lib/util/aviio.cpp", @@ -35,23 +41,24 @@ project "utils" MAME_DIR .. "src/lib/util/base64.hpp", MAME_DIR .. "src/lib/util/bitmap.cpp", MAME_DIR .. "src/lib/util/bitmap.h", + MAME_DIR .. "src/lib/util/bitstream.h", MAME_DIR .. "src/lib/util/cdrom.cpp", MAME_DIR .. "src/lib/util/cdrom.h", MAME_DIR .. "src/lib/util/chd.cpp", MAME_DIR .. "src/lib/util/chd.h", - MAME_DIR .. "src/lib/util/chdcd.cpp", - MAME_DIR .. "src/lib/util/chdcd.h", MAME_DIR .. "src/lib/util/chdcodec.cpp", MAME_DIR .. "src/lib/util/chdcodec.h", MAME_DIR .. "src/lib/util/client_http.hpp", MAME_DIR .. "src/lib/util/client_https.hpp", MAME_DIR .. "src/lib/util/client_ws.hpp", MAME_DIR .. "src/lib/util/client_wss.hpp", + MAME_DIR .. "src/lib/util/corealloc.cpp", MAME_DIR .. "src/lib/util/corealloc.h", MAME_DIR .. "src/lib/util/corefile.cpp", MAME_DIR .. "src/lib/util/corefile.h", MAME_DIR .. "src/lib/util/corestr.cpp", MAME_DIR .. "src/lib/util/corestr.h", + MAME_DIR .. "src/lib/util/coretmpl.h", MAME_DIR .. "src/lib/util/coreutil.cpp", MAME_DIR .. "src/lib/util/coreutil.h", MAME_DIR .. "src/lib/util/crypto.hpp", @@ -59,6 +66,12 @@ project "utils" MAME_DIR .. "src/lib/util/delegate.h", MAME_DIR .. "src/lib/util/disasmintf.cpp", MAME_DIR .. "src/lib/util/disasmintf.h", + MAME_DIR .. "src/lib/util/dvdrom.cpp", + MAME_DIR .. "src/lib/util/dvdrom.h", + MAME_DIR .. "src/lib/util/dynamicclass.cpp", + MAME_DIR .. "src/lib/util/dynamicclass.h", + MAME_DIR .. "src/lib/util/dynamicclass.ipp", + MAME_DIR .. "src/lib/util/endianness.h", MAME_DIR .. "src/lib/util/flac.cpp", MAME_DIR .. "src/lib/util/flac.h", MAME_DIR .. "src/lib/util/harddisk.cpp", @@ -69,34 +82,50 @@ project "utils" MAME_DIR .. "src/lib/util/hashing.h", MAME_DIR .. "src/lib/util/huffman.cpp", MAME_DIR .. "src/lib/util/huffman.h", + MAME_DIR .. "src/lib/util/ioprocs.cpp", + MAME_DIR .. "src/lib/util/ioprocs.h", + MAME_DIR .. "src/lib/util/ioprocsfill.h", + MAME_DIR .. "src/lib/util/ioprocsfilter.cpp", + MAME_DIR .. "src/lib/util/ioprocsfilter.h", + MAME_DIR .. "src/lib/util/ioprocsvec.h", MAME_DIR .. "src/lib/util/jedparse.cpp", MAME_DIR .. "src/lib/util/jedparse.h", + MAME_DIR .. "src/lib/util/language.cpp", + MAME_DIR .. "src/lib/util/language.h", + MAME_DIR .. "src/lib/util/lrucache.h", MAME_DIR .. "src/lib/util/md5.cpp", MAME_DIR .. "src/lib/util/md5.h", + MAME_DIR .. "src/lib/util/mfpresolve.cpp", + MAME_DIR .. "src/lib/util/mfpresolve.h", + MAME_DIR .. "src/lib/util/msdib.cpp", + MAME_DIR .. "src/lib/util/msdib.h", + MAME_DIR .. "src/lib/util/multibyte.h", MAME_DIR .. "src/lib/util/nanosvg.cpp", + MAME_DIR .. "src/lib/util/nanosvg.h", + MAME_DIR .. "src/lib/util/notifier.h", MAME_DIR .. "src/lib/util/opresolv.cpp", MAME_DIR .. "src/lib/util/opresolv.h", MAME_DIR .. "src/lib/util/options.cpp", MAME_DIR .. "src/lib/util/options.h", MAME_DIR .. "src/lib/util/palette.cpp", MAME_DIR .. "src/lib/util/palette.h", + MAME_DIR .. "src/lib/util/path.cpp", + MAME_DIR .. "src/lib/util/path.h", MAME_DIR .. "src/lib/util/path_to_regex.cpp", MAME_DIR .. "src/lib/util/path_to_regex.hpp", MAME_DIR .. "src/lib/util/plaparse.cpp", MAME_DIR .. "src/lib/util/plaparse.h", MAME_DIR .. "src/lib/util/png.cpp", MAME_DIR .. "src/lib/util/png.h", - MAME_DIR .. "src/lib/util/pool.cpp", - MAME_DIR .. "src/lib/util/pool.h", MAME_DIR .. "src/lib/util/server_http.hpp", MAME_DIR .. "src/lib/util/server_https.hpp", MAME_DIR .. "src/lib/util/server_ws.hpp", MAME_DIR .. "src/lib/util/server_wss.hpp", - MAME_DIR .. "src/lib/util/sha1.cpp", - MAME_DIR .. "src/lib/util/sha1.h", - MAME_DIR .. "src/lib/util/sha1.hpp", + MAME_DIR .. "src/lib/util/simh_tape_file.cpp", + MAME_DIR .. "src/lib/util/simh_tape_file.h", MAME_DIR .. "src/lib/util/strformat.cpp", MAME_DIR .. "src/lib/util/strformat.h", + MAME_DIR .. "src/lib/util/tape_file_interface.h", MAME_DIR .. "src/lib/util/timeconv.cpp", MAME_DIR .. "src/lib/util/timeconv.h", MAME_DIR .. "src/lib/util/unicode.cpp", @@ -104,6 +133,8 @@ project "utils" MAME_DIR .. "src/lib/util/unzip.cpp", MAME_DIR .. "src/lib/util/unzip.h", MAME_DIR .. "src/lib/util/un7z.cpp", + MAME_DIR .. "src/lib/util/utf8.h", + MAME_DIR .. "src/lib/util/utilfwd.h", MAME_DIR .. "src/lib/util/vbiparse.cpp", MAME_DIR .. "src/lib/util/vbiparse.h", MAME_DIR .. "src/lib/util/vecstream.cpp", diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index fb14dd8ba3a..9df64987200 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -37,10 +37,12 @@ files { files { MAME_DIR .. "src/devices/imagedev/bitbngr.cpp", MAME_DIR .. "src/devices/imagedev/bitbngr.h", + MAME_DIR .. "src/devices/imagedev/cartrom.cpp", + MAME_DIR .. "src/devices/imagedev/cartrom.h", MAME_DIR .. "src/devices/imagedev/cassette.cpp", MAME_DIR .. "src/devices/imagedev/cassette.h", - MAME_DIR .. "src/devices/imagedev/chd_cd.cpp", - MAME_DIR .. "src/devices/imagedev/chd_cd.h", + MAME_DIR .. "src/devices/imagedev/cdromimg.cpp", + MAME_DIR .. "src/devices/imagedev/cdromimg.h", MAME_DIR .. "src/devices/imagedev/diablo.cpp", MAME_DIR .. "src/devices/imagedev/diablo.h", MAME_DIR .. "src/devices/imagedev/flopdrv.cpp", @@ -49,6 +51,10 @@ files { MAME_DIR .. "src/devices/imagedev/floppy.h", MAME_DIR .. "src/devices/imagedev/harddriv.cpp", MAME_DIR .. "src/devices/imagedev/harddriv.h", + MAME_DIR .. "src/devices/imagedev/magtape.cpp", + MAME_DIR .. "src/devices/imagedev/magtape.h", + MAME_DIR .. "src/devices/imagedev/memcard.cpp", + MAME_DIR .. "src/devices/imagedev/memcard.h", MAME_DIR .. "src/devices/imagedev/mfmhd.cpp", MAME_DIR .. "src/devices/imagedev/mfmhd.h", MAME_DIR .. "src/devices/imagedev/microdrv.cpp", @@ -57,10 +63,14 @@ files { MAME_DIR .. "src/devices/imagedev/midiin.h", MAME_DIR .. "src/devices/imagedev/midiout.cpp", MAME_DIR .. "src/devices/imagedev/midiout.h", + MAME_DIR .. "src/devices/imagedev/papertape.cpp", + MAME_DIR .. "src/devices/imagedev/papertape.h", MAME_DIR .. "src/devices/imagedev/picture.cpp", MAME_DIR .. "src/devices/imagedev/picture.h", MAME_DIR .. "src/devices/imagedev/printer.cpp", MAME_DIR .. "src/devices/imagedev/printer.h", + MAME_DIR .. "src/devices/imagedev/simh_tape_image.cpp", + MAME_DIR .. "src/devices/imagedev/simh_tape_image.h", MAME_DIR .. "src/devices/imagedev/snapquik.cpp", MAME_DIR .. "src/devices/imagedev/snapquik.h", MAME_DIR .. "src/devices/imagedev/wafadrive.cpp", @@ -70,6 +80,54 @@ files { } +--------------------------------------------------- +-- +--@src/devices/machine/acorn_bmu.h,MACHINES["ACORN_BMU"] = true +--------------------------------------------------- + +if (MACHINES["ACORN_BMU"]~=null) then + files { + MAME_DIR .. "src/devices/machine/acorn_bmu.cpp", + MAME_DIR .. "src/devices/machine/acorn_bmu.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/machine/acorn_ioc.h,MACHINES["ACORN_IOC"] = true +-------------------------------------------------- + +if (MACHINES["ACORN_IOC"]~=null) then + files { + MAME_DIR .. "src/devices/machine/acorn_ioc.cpp", + MAME_DIR .. "src/devices/machine/acorn_ioc.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/acorn_lc.h,MACHINES["ACORN_LC"] = true +--------------------------------------------------- + +if (MACHINES["ACORN_LC"]~=null) then + files { + MAME_DIR .. "src/devices/machine/acorn_lc.cpp", + MAME_DIR .. "src/devices/machine/acorn_lc.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/machine/acorn_memc.h,MACHINES["ACORN_MEMC"] = true +-------------------------------------------------- + +if (MACHINES["ACORN_MEMC"]~=null) then + files { + MAME_DIR .. "src/devices/machine/acorn_memc.cpp", + MAME_DIR .. "src/devices/machine/acorn_memc.h", + } +end + -------------------------------------------------- -- --@src/devices/machine/acorn_vidc.h,MACHINES["ACORN_VIDC"] = true @@ -82,19 +140,29 @@ if (MACHINES["ACORN_VIDC"]~=null) then } end - --------------------------------------------------- -- ---@src/devices/machine/akiko.h,MACHINES["AKIKO"] = true +--@src/devices/machine/am2901b.h,MACHINES["AM2901B"] = true --------------------------------------------------- -if (MACHINES["AKIKO"]~=null) then +if (MACHINES["AM2901B"]~=null) then files { - MAME_DIR .. "src/devices/machine/akiko.cpp", - MAME_DIR .. "src/devices/machine/akiko.h", + MAME_DIR .. "src/devices/machine/am2901b.cpp", + MAME_DIR .. "src/devices/machine/am2901b.h", } end +-------------------------------------------------- +-- +--@src/devices/machine/arm_iomd.h,MACHINES["ARM_IOMD"] = true +-------------------------------------------------- + +if (MACHINES["ARM_IOMD"]~=null) then + files { + MAME_DIR .. "src/devices/machine/arm_iomd.cpp", + MAME_DIR .. "src/devices/machine/arm_iomd.h", + } +end --------------------------------------------------- -- @@ -111,39 +179,39 @@ end --------------------------------------------------- -- ---@src/devices/machine/cr511b.h,MACHINES["CR511B"] = true +--@src/devices/machine/cop452.h,MACHINES["COP452"] = true --------------------------------------------------- -if (MACHINES["CR511B"]~=null) then +if (MACHINES["COP452"]~=null) then files { - MAME_DIR .. "src/devices/machine/cr511b.cpp", - MAME_DIR .. "src/devices/machine/cr511b.h", + MAME_DIR .. "src/devices/machine/cop452.cpp", + MAME_DIR .. "src/devices/machine/cop452.h", } end --------------------------------------------------- -- ---@src/devices/machine/dmac.h,MACHINES["DMAC"] = true +--@src/devices/machine/cr511b.h,MACHINES["CR511B"] = true --------------------------------------------------- -if (MACHINES["DMAC"]~=null) then +if (MACHINES["CR511B"]~=null) then files { - MAME_DIR .. "src/devices/machine/dmac.cpp", - MAME_DIR .. "src/devices/machine/dmac.h", + MAME_DIR .. "src/devices/machine/cr511b.cpp", + MAME_DIR .. "src/devices/machine/cr511b.h", } end --------------------------------------------------- -- ---@src/devices/machine/gayle.h,MACHINES["GAYLE"] = true +--@src/devices/machine/dmac.h,MACHINES["DMAC"] = true --------------------------------------------------- -if (MACHINES["GAYLE"]~=null) then +if (MACHINES["DMAC"]~=null) then files { - MAME_DIR .. "src/devices/machine/gayle.cpp", - MAME_DIR .. "src/devices/machine/gayle.h", + MAME_DIR .. "src/devices/machine/dmac.cpp", + MAME_DIR .. "src/devices/machine/dmac.h", } end @@ -238,18 +306,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/6532riot.h,MACHINES["RIOT6532"] = true ---------------------------------------------------- - -if (MACHINES["RIOT6532"]~=null) then - files { - MAME_DIR .. "src/devices/machine/6532riot.cpp", - MAME_DIR .. "src/devices/machine/6532riot.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/6821pia.h,MACHINES["6821PIA"] = true --------------------------------------------------- @@ -286,6 +342,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/6883sam.h,MACHINES["6883SAM"] = true +--------------------------------------------------- + +if (MACHINES["6883SAM"]~=null) then + files { + MAME_DIR .. "src/devices/machine/6883sam.cpp", + MAME_DIR .. "src/devices/machine/6883sam.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/68153bim.h,MACHINES["BIM68153"] = true --------------------------------------------------- @@ -346,18 +414,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/7400.h,MACHINES["TTL7400"] = true ---------------------------------------------------- - -if (MACHINES["TTL7400"]~=null) then - files { - MAME_DIR .. "src/devices/machine/7400.cpp", - MAME_DIR .. "src/devices/machine/7400.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/7404.h,MACHINES["TTL7404"] = true --------------------------------------------------- @@ -515,6 +571,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/74543.h,MACHINES["TTL74543"] = true +--------------------------------------------------- + +if (MACHINES["TTL74543"]~=null) then + files { + MAME_DIR .. "src/devices/machine/74543.cpp", + MAME_DIR .. "src/devices/machine/74543.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/7474.h,MACHINES["TTL7474"] = true --------------------------------------------------- @@ -551,25 +619,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/8530scc.h,MACHINES["8530SCC"] = true +--@src/devices/machine/adc0804.h,MACHINES["ADC0804"] = true --------------------------------------------------- -if (MACHINES["8530SCC"]~=null) then +if (MACHINES["ADC0804"]~=null) then files { - MAME_DIR .. "src/devices/machine/8530scc.cpp", - MAME_DIR .. "src/devices/machine/8530scc.h", - } -end - ---------------------------------------------------- --- ---@src/devices/machine/aakart.h,MACHINES["AAKARTDEV"] = true ---------------------------------------------------- - -if (MACHINES["AAKARTDEV"]~=null) then - files { - MAME_DIR .. "src/devices/machine/aakart.cpp", - MAME_DIR .. "src/devices/machine/aakart.h", + MAME_DIR .. "src/devices/machine/adc0804.cpp", + MAME_DIR .. "src/devices/machine/adc0804.h", } end @@ -671,13 +727,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/am53cf96.h,MACHINES["AM53CF96"] = true +--@src/devices/machine/am79c30.h,MACHINES["AM79C30"] = true --------------------------------------------------- -if (MACHINES["AM53CF96"]~=null) then +if (MACHINES["AM79C30"]~=null) then files { - MAME_DIR .. "src/devices/machine/am53cf96.cpp", - MAME_DIR .. "src/devices/machine/am53cf96.h", + MAME_DIR .. "src/devices/machine/am79c30.cpp", + MAME_DIR .. "src/devices/machine/am79c30.h", } end @@ -731,13 +787,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/amigafdc.h,MACHINES["AMIGAFDC"] = true +--@src/devices/machine/applepic.h,MACHINES["APPLEPIC"] = true --------------------------------------------------- -if (MACHINES["AMIGAFDC"]~=null) then +if (MACHINES["APPLEPIC"]~=null) then files { - MAME_DIR .. "src/devices/machine/amigafdc.cpp", - MAME_DIR .. "src/devices/machine/amigafdc.h", + MAME_DIR .. "src/devices/machine/applepic.cpp", + MAME_DIR .. "src/devices/machine/applepic.h", } end @@ -755,6 +811,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/at28c64b.h,MACHINES["AT28C64B"] = true +--------------------------------------------------- + +if (MACHINES["AT28C64B"]~=null) then + files { + MAME_DIR .. "src/devices/machine/at28c64b.cpp", + MAME_DIR .. "src/devices/machine/at28c64b.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/at29x.h,MACHINES["AT29X"] = true --------------------------------------------------- @@ -779,15 +847,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/ataflash.h,MACHINES["ATAFLASH"] = true +--@src/devices/machine/atahle.h,MACHINES["ATAHLE"] = true --------------------------------------------------- -if (MACHINES["ATAFLASH"]~=null) then - MACHINES["IDE"] = true - MACHINES["PCCARD"] = true +if (MACHINES["ATAHLE"]~=null) then files { - MAME_DIR .. "src/devices/machine/ataflash.cpp", - MAME_DIR .. "src/devices/machine/ataflash.h", + MAME_DIR .. "src/devices/machine/atahle.cpp", + MAME_DIR .. "src/devices/machine/atahle.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/atastorage.h,MACHINES["ATASTORAGE"] = true +--------------------------------------------------- + +if (MACHINES["ATASTORAGE"]~=null) then + files { + MAME_DIR .. "src/devices/machine/atastorage.cpp", + MAME_DIR .. "src/devices/machine/atastorage.h", } end @@ -829,6 +907,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/bq4847.h,MACHINES["BQ4847"] = true +--------------------------------------------------- + +if (MACHINES["BQ4847"]~=null) then + files { + MAME_DIR .. "src/devices/machine/bq4847.cpp", + MAME_DIR .. "src/devices/machine/bq4847.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/bq48x2.h,MACHINES["BQ4852"] = true +--------------------------------------------------- + +if (MACHINES["BQ4852"]~=null) then + files { + MAME_DIR .. "src/devices/machine/bq48x2.cpp", + MAME_DIR .. "src/devices/machine/bq48x2.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/busmouse.h,MACHINES["BUSMOUSE"] = true --------------------------------------------------- @@ -875,6 +977,17 @@ if (MACHINES["CDP1879"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/machine/ch376.h,MACHINES["CH376"] = true +--------------------------------------------------- + +if (MACHINES["CH376"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ch376.cpp", + MAME_DIR .. "src/devices/machine/ch376.h", + } +end --------------------------------------------------- -- @@ -891,25 +1004,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/com8116.h,MACHINES["COM8116"] = true +--@src/devices/machine/com52c50.h,MACHINES["COM52C50"] = true --------------------------------------------------- -if (MACHINES["COM8116"]~=null) then +if (MACHINES["COM52C50"]~=null) then files { - MAME_DIR .. "src/devices/machine/com8116.cpp", - MAME_DIR .. "src/devices/machine/com8116.h", + MAME_DIR .. "src/devices/machine/com52c50.cpp", + MAME_DIR .. "src/devices/machine/com52c50.h", } end --------------------------------------------------- -- ---@src/devices/machine/cr589.h,MACHINES["CR589"] = true +--@src/devices/machine/com8116.h,MACHINES["COM8116"] = true --------------------------------------------------- -if (MACHINES["CR589"]~=null) then +if (MACHINES["COM8116"]~=null) then files { - MAME_DIR .. "src/devices/machine/cr589.cpp", - MAME_DIR .. "src/devices/machine/cr589.h", + MAME_DIR .. "src/devices/machine/com8116.cpp", + MAME_DIR .. "src/devices/machine/com8116.h", } end @@ -939,6 +1052,19 @@ end --------------------------------------------------- -- +--@src/devices/machine/cs8900a.h,MACHINES["CS8900A"] = true +--------------------------------------------------- + +if (MACHINES["CS8900A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/cs8900a.cpp", + MAME_DIR .. "src/devices/machine/cs8900a.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/machine/cxd1095.h,MACHINES["CXD1095"] = true --------------------------------------------------- @@ -949,6 +1075,28 @@ if (MACHINES["CXD1095"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/machine/dimm_spd.h,MACHINES["DIMM_SPD"] = true +--------------------------------------------------- + +if (MACHINES["DIMM_SPD"]~=null) then + files { + MAME_DIR .. "src/devices/machine/dimm_spd.cpp", + MAME_DIR .. "src/devices/machine/dimm_spd.h", + } +end + +--@src/devices/machine/dl11.h,MACHINES["DL11"] = true +--------------------------------------------------- + +if (MACHINES["DL11"]~=null) then + files { + MAME_DIR .. "src/devices/machine/dl11.cpp", + MAME_DIR .. "src/devices/machine/dl11.h", + } +end + --@src/devices/machine/ds1204.h,MACHINES["DS1204"] = true --------------------------------------------------- @@ -973,6 +1121,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/ds1207.h,MACHINES["DS1207"] = true +--------------------------------------------------- + +if (MACHINES["DS1207"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ds1207.cpp", + MAME_DIR .. "src/devices/machine/ds1207.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ds1302.h,MACHINES["DS1302"] = true --------------------------------------------------- @@ -985,13 +1145,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/ds1315.h,MACHINES["DS1315"] = true +--@src/devices/machine/ds1215.h,MACHINES["DS1215"] = true --------------------------------------------------- -if (MACHINES["DS1315"]~=null) then +if (MACHINES["DS1215"]~=null) then files { - MAME_DIR .. "src/devices/machine/ds1315.cpp", - MAME_DIR .. "src/devices/machine/ds1315.h", + MAME_DIR .. "src/devices/machine/ds1215.cpp", + MAME_DIR .. "src/devices/machine/ds1215.h", } end @@ -1057,6 +1217,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/ds2430a.h,MACHINES["DS2430A"] = true +--------------------------------------------------- + +if (MACHINES["DS2430A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ds2430a.cpp", + MAME_DIR .. "src/devices/machine/ds2430a.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ds6417.h,MACHINES["DS6417"] = true +--------------------------------------------------- + +if (MACHINES["DS6417"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ds6417.cpp", + MAME_DIR .. "src/devices/machine/ds6417.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ds75160a.h,MACHINES["DS75160A"] = true --------------------------------------------------- @@ -1159,6 +1343,26 @@ end --------------------------------------------------- -- +--@src/devices/machine/exorterm.h,MACHINES["EXORTERM"] = true +--------------------------------------------------- + +if (MACHINES["EXORTERM"]~=null) then + files { + MAME_DIR .. "src/devices/machine/exorterm.cpp", + MAME_DIR .. "src/devices/machine/exorterm.h", + } + + dependency { + { MAME_DIR .. "src/devices/machine/exorterm.cpp", GEN_DIR .. "emu/layout/exorterm155.lh" }, + } + + custombuildtask { + layoutbuildtask("emu/layout", "exorterm155"), + } +end + +--------------------------------------------------- +-- --@src/devices/machine/f3853.h,MACHINES["F3853"] = true --------------------------------------------------- @@ -1171,6 +1375,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/f4702.h,MACHINES["F4702"] = true +--------------------------------------------------- + +if (MACHINES["F4702"]~=null) then + files { + MAME_DIR .. "src/devices/machine/f4702.cpp", + MAME_DIR .. "src/devices/machine/f4702.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/fga002.h,MACHINES["FGA002"] = true --------------------------------------------------- @@ -1183,6 +1399,36 @@ end --------------------------------------------------- -- +--@src/devices/machine/gt913_io.h,MACHINES["GT913"] = true +--@src/devices/machine/gt913_kbd.h,MACHINES["GT913"] = true +--@src/devices/machine/gt913_snd.h,MACHINES["GT913"] = true +--------------------------------------------------- + +if (MACHINES["GT913"]~=null) then + files { + MAME_DIR .. "src/devices/machine/gt913_io.cpp", + MAME_DIR .. "src/devices/machine/gt913_io.h", + MAME_DIR .. "src/devices/machine/gt913_kbd.cpp", + MAME_DIR .. "src/devices/machine/gt913_kbd.h", + MAME_DIR .. "src/devices/machine/gt913_snd.cpp", + MAME_DIR .. "src/devices/machine/gt913_snd.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/machine/generic_spi_flash.h,MACHINES["GENERIC_SPI_FLASH"] = true +-------------------------------------------------- + +if (MACHINES["GENERIC_SPI_FLASH"]~=null) then + files { + MAME_DIR .. "src/devices/machine/generic_spi_flash.cpp", + MAME_DIR .. "src/devices/machine/generic_spi_flash.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/hd63450.h,MACHINES["HD63450"] = true --------------------------------------------------- @@ -1254,6 +1500,17 @@ if (MACHINES["1MB5"]~=null) then end --------------------------------------------------- +--@src/devices/machine/i2chle.h,MACHINES["I2CHLE"] = true +--------------------------------------------------- + +if (MACHINES["I2CHLE"]~=null) then + files { + MAME_DIR .. "src/devices/machine/i2chle.cpp", + MAME_DIR .. "src/devices/machine/i2chle.h", + } +end + +--------------------------------------------------- -- --@src/devices/machine/i2cmem.h,MACHINES["I2CMEM"] = true --------------------------------------------------- @@ -1424,27 +1681,50 @@ end --------------------------------------------------- -- ---@src/devices/machine/atadev.h,MACHINES["IDE"] = true ---@src/devices/machine/ataintf.h,MACHINES["IDE"] = true +--@src/devices/machine/ibm21s850.h,MACHINES["IBM21S850"] = true --------------------------------------------------- -if (MACHINES["IDE"]~=null) then - MACHINES["T10"] = true +if (MACHINES["IBM21S850"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ibm21s850.cpp", + MAME_DIR .. "src/devices/machine/ibm21s850.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/icd2061a.h,MACHINES["ICD2061A"] = true +--------------------------------------------------- + +if (MACHINES["ICD2061A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/icd2061a.cpp", + MAME_DIR .. "src/devices/machine/icd2061a.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/icm7170.h,MACHINES["ICM7170"] = true +--------------------------------------------------- + +if (MACHINES["ICM7170"]~=null) then + files { + MAME_DIR .. "src/devices/machine/icm7170.cpp", + MAME_DIR .. "src/devices/machine/icm7170.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/idectrl.h,MACHINES["IDECTRL"] = true +--@src/devices/machine/vt83c461.h,MACHINES["IDECTRL"] = true +--------------------------------------------------- + +if (MACHINES["IDECTRL"]~=null) then files { - MAME_DIR .. "src/devices/machine/atadev.cpp", - MAME_DIR .. "src/devices/machine/atadev.h", - MAME_DIR .. "src/devices/machine/atahle.cpp", - MAME_DIR .. "src/devices/machine/atahle.h", - MAME_DIR .. "src/devices/machine/ataintf.cpp", - MAME_DIR .. "src/devices/machine/ataintf.h", - MAME_DIR .. "src/devices/machine/atapicdr.cpp", - MAME_DIR .. "src/devices/machine/atapicdr.h", - MAME_DIR .. "src/devices/machine/atapihle.cpp", - MAME_DIR .. "src/devices/machine/atapihle.h", MAME_DIR .. "src/devices/machine/idectrl.cpp", MAME_DIR .. "src/devices/machine/idectrl.h", - MAME_DIR .. "src/devices/machine/idehd.cpp", - MAME_DIR .. "src/devices/machine/idehd.h", MAME_DIR .. "src/devices/machine/vt83c461.cpp", MAME_DIR .. "src/devices/machine/vt83c461.h", } @@ -1573,13 +1853,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/mm5740.h,MACHINES["MM5740"] = true +--@src/devices/machine/1801vp128.h,MACHINES["K1801VP128"] = true --------------------------------------------------- -if (MACHINES["MM5740"]~=null) then +if (MACHINES["K1801VP128"]~=null) then files { - MAME_DIR .. "src/devices/machine/mm5740.cpp", - MAME_DIR .. "src/devices/machine/mm5740.h", + MAME_DIR .. "src/devices/machine/1801vp128.cpp", + MAME_DIR .. "src/devices/machine/1801vp128.h", } end @@ -1597,6 +1877,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/keytronic_l2207.h,MACHINES["KEYTRONIC_L2207"] = true +--------------------------------------------------- + +if (MACHINES["KEYTRONIC_L2207"]~=null) then + files { + MAME_DIR .. "src/devices/machine/keytronic_l2207.cpp", + MAME_DIR .. "src/devices/machine/keytronic_l2207.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/kr1601rr1.h,MACHINES["KR1601RR1"] = true +--------------------------------------------------- + +if (MACHINES["KR1601RR1"]~=null) then + files { + MAME_DIR .. "src/devices/machine/kr1601rr1.cpp", + MAME_DIR .. "src/devices/machine/kr1601rr1.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/kr2376.h,MACHINES["KR2376"] = true --------------------------------------------------- @@ -1671,6 +1975,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/ldv1000hle.h,MACHINES["LDV1000HLE"] = true +--------------------------------------------------- + +if (MACHINES["LDV1000HLE"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ldv1000hle.cpp", + MAME_DIR .. "src/devices/machine/ldv1000hle.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ldv4200hle.h,MACHINES["LDV4200HLE"] = true +--------------------------------------------------- + +if (MACHINES["LDV4200HLE"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ldv4200hle.cpp", + MAME_DIR .. "src/devices/machine/ldv4200hle.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ldp1000.h,MACHINES["LDP1000"] = true --------------------------------------------------- @@ -1695,6 +2023,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/ldp1450hle.h,MACHINES["LDP1450HLE"] = true +--------------------------------------------------- + +if (MACHINES["LDP1450HLE"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ldp1450hle.cpp", + MAME_DIR .. "src/devices/machine/ldp1450hle.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ldvp931.h,MACHINES["LDVP931"] = true --------------------------------------------------- @@ -1719,13 +2059,37 @@ end --------------------------------------------------- -- ---@src/devices/machine/linflash.h,MACHINES["LINFLASH"] = true +--@src/devices/machine/locomo.h,MACHINES["LOCOMO"] = true +--------------------------------------------------- + +if (MACHINES["LOCOMO"]~=null) then + files { + MAME_DIR .. "src/devices/machine/locomo.cpp", + MAME_DIR .. "src/devices/machine/locomo.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/m3002.h,MACHINES["M3002"] = true +--------------------------------------------------- + +if (MACHINES["M3002"]~=null) then + files { + MAME_DIR .. "src/devices/machine/m3002.cpp", + MAME_DIR .. "src/devices/machine/m3002.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/m68sfdc.h,MACHINES["M68SFDC"] = true --------------------------------------------------- -if (MACHINES["LINFLASH"]~=null) then +if (MACHINES["M68SFDC"]~=null) then files { - MAME_DIR .. "src/devices/machine/linflash.cpp", - MAME_DIR .. "src/devices/machine/linflash.h", + MAME_DIR .. "src/devices/machine/m68sfdc.cpp", + MAME_DIR .. "src/devices/machine/m68sfdc.h", } end @@ -1743,6 +2107,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/m950x0.h,MACHINES["M950X0"] = true +--------------------------------------------------- + +if (MACHINES["M950X0"]~=null) then + files { + MAME_DIR .. "src/devices/machine/m950x0.cpp", + MAME_DIR .. "src/devices/machine/m950x0.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/mb14241.h,MACHINES["MB14241"] = true --------------------------------------------------- @@ -1815,18 +2191,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/mb89352.h,MACHINES["MB89352"] = true ---------------------------------------------------- - -if (MACHINES["MB89352"]~=null) then - files { - MAME_DIR .. "src/devices/machine/mb89352.cpp", - MAME_DIR .. "src/devices/machine/mb89352.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/mb89371.h,MACHINES["MB89371"] = true --------------------------------------------------- @@ -1877,25 +2241,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/mc2661.h,MACHINES["MC2661"] = true +--@src/devices/machine/mc6843.h,MACHINES["MC6843"] = true --------------------------------------------------- -if (MACHINES["MC2661"]~=null) then +if (MACHINES["MC6843"]~=null) then files { - MAME_DIR .. "src/devices/machine/mc2661.cpp", - MAME_DIR .. "src/devices/machine/mc2661.h", + MAME_DIR .. "src/devices/machine/mc6843.cpp", + MAME_DIR .. "src/devices/machine/mc6843.h", } end --------------------------------------------------- -- ---@src/devices/machine/mc6843.h,MACHINES["MC6843"] = true +--@src/devices/machine/mc6844.h,MACHINES["MC6844"] = true --------------------------------------------------- -if (MACHINES["MC6843"]~=null) then +if (MACHINES["MC6844"]~=null) then files { - MAME_DIR .. "src/devices/machine/mc6843.cpp", - MAME_DIR .. "src/devices/machine/mc6843.h", + MAME_DIR .. "src/devices/machine/mc6844.cpp", + MAME_DIR .. "src/devices/machine/mc6844.h", } end @@ -2023,6 +2387,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/mdcr.h,MACHINES["MDCR"] = true +--------------------------------------------------- + +if (MACHINES["MDCR"]~=null) then + files { + MAME_DIR .. "src/devices/machine/mdcr.cpp", + MAME_DIR .. "src/devices/machine/mdcr.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/meters.h,MACHINES["METERS"] = true --------------------------------------------------- @@ -2059,6 +2435,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/mm5740.h,MACHINES["MM5740"] = true +--------------------------------------------------- + +if (MACHINES["MM5740"]~=null) then + files { + MAME_DIR .. "src/devices/machine/mm5740.cpp", + MAME_DIR .. "src/devices/machine/mm5740.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/mm58274c.h,MACHINES["MM58274C"] = true --------------------------------------------------- @@ -2107,6 +2495,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/mos6530.h,MACHINES["MOS6530"] = true +--------------------------------------------------- + +if (MACHINES["MOS6530"]~=null) then + files { + MAME_DIR .. "src/devices/machine/mos6530.cpp", + MAME_DIR .. "src/devices/machine/mos6530.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/mos6702.h,MACHINES["MOS6702"] = true --------------------------------------------------- @@ -2155,28 +2555,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/mos6530.h,MACHINES["MIOT6530"] = true ---@src/devices/machine/mos6530n.h,MACHINES["MIOT6530"] = true +--@src/devices/machine/mos6551.h,MACHINES["MOS6551"] = true --------------------------------------------------- -if (MACHINES["MIOT6530"]~=null) then +if (MACHINES["MOS6551"]~=null) then files { - MAME_DIR .. "src/devices/machine/mos6530.cpp", - MAME_DIR .. "src/devices/machine/mos6530.h", - MAME_DIR .. "src/devices/machine/mos6530n.cpp", - MAME_DIR .. "src/devices/machine/mos6530n.h", + MAME_DIR .. "src/devices/machine/mos6551.cpp", + MAME_DIR .. "src/devices/machine/mos6551.h", } end --------------------------------------------------- -- ---@src/devices/machine/mos6551.h,MACHINES["MOS6551"] = true +--@src/devices/machine/msm5001n.h,MACHINES["MSM5001N"] = true --------------------------------------------------- -if (MACHINES["MOS6551"]~=null) then +if (MACHINES["MSM5001N"]~=null) then files { - MAME_DIR .. "src/devices/machine/mos6551.cpp", - MAME_DIR .. "src/devices/machine/mos6551.h", + MAME_DIR .. "src/devices/machine/msm5001n.cpp", + MAME_DIR .. "src/devices/machine/msm5001n.h", } end @@ -2206,6 +2603,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/msm6200.h,MACHINES["MSM6200"] = true +--------------------------------------------------- + +if (MACHINES["MSM6200"]~=null) then + files { + MAME_DIR .. "src/devices/machine/msm6200.cpp", + MAME_DIR .. "src/devices/machine/msm6200.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/msm6242.h,MACHINES["MSM6242"] = true --------------------------------------------------- @@ -2242,14 +2651,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/ncr539x.h,MACHINES["NCR539x"] = true +--@src/devices/machine/nandflash.h,MACHINES["NANDFLASH"] = true --------------------------------------------------- -if (MACHINES["NCR539x"]~=null) then - MACHINES["SCSI"] = true +if (MACHINES["NANDFLASH"]~=null) then files { - MAME_DIR .. "src/devices/machine/ncr539x.cpp", - MAME_DIR .. "src/devices/machine/ncr539x.h", + MAME_DIR .. "src/devices/machine/nandflash.cpp", + MAME_DIR .. "src/devices/machine/nandflash.h", } end @@ -2282,6 +2690,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/pcf8573.h,MACHINES["PCF8573"] = true +--------------------------------------------------- + +if (MACHINES["PCF8573"]~=null) then + files { + MAME_DIR .. "src/devices/machine/pcf8573.cpp", + MAME_DIR .. "src/devices/machine/pcf8573.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/pcf8583.h,MACHINES["PCF8583"] = true --------------------------------------------------- @@ -2357,8 +2777,18 @@ if (MACHINES["PCI"]~=null) then MAME_DIR .. "src/devices/machine/i82439hx.h", MAME_DIR .. "src/devices/machine/i82439tx.cpp", MAME_DIR .. "src/devices/machine/i82439tx.h", + MAME_DIR .. "src/devices/machine/i82443bx_host.cpp", + MAME_DIR .. "src/devices/machine/i82443bx_host.h", MAME_DIR .. "src/devices/machine/i82371sb.cpp", MAME_DIR .. "src/devices/machine/i82371sb.h", + MAME_DIR .. "src/devices/machine/i82371eb_isa.cpp", + MAME_DIR .. "src/devices/machine/i82371eb_isa.h", + MAME_DIR .. "src/devices/machine/i82371eb_ide.cpp", + MAME_DIR .. "src/devices/machine/i82371eb_ide.h", + MAME_DIR .. "src/devices/machine/i82371eb_acpi.cpp", + MAME_DIR .. "src/devices/machine/i82371eb_acpi.h", + MAME_DIR .. "src/devices/machine/i82371eb_usb.cpp", + MAME_DIR .. "src/devices/machine/i82371eb_usb.h", MAME_DIR .. "src/devices/machine/lpc.h", MAME_DIR .. "src/devices/machine/lpc-acpi.cpp", MAME_DIR .. "src/devices/machine/lpc-acpi.h", @@ -2366,14 +2796,46 @@ if (MACHINES["PCI"]~=null) then MAME_DIR .. "src/devices/machine/lpc-rtc.h", MAME_DIR .. "src/devices/machine/lpc-pit.cpp", MAME_DIR .. "src/devices/machine/lpc-pit.h", + MAME_DIR .. "src/devices/machine/mpc106.cpp", + MAME_DIR .. "src/devices/machine/mpc106.h", + MAME_DIR .. "src/devices/machine/mv6436x.cpp", + MAME_DIR .. "src/devices/machine/mv6436x.h", MAME_DIR .. "src/devices/machine/vrc4373.cpp", MAME_DIR .. "src/devices/machine/vrc4373.h", MAME_DIR .. "src/devices/machine/vrc5074.cpp", MAME_DIR .. "src/devices/machine/vrc5074.h", MAME_DIR .. "src/devices/machine/gt64xxx.cpp", MAME_DIR .. "src/devices/machine/gt64xxx.h", + MAME_DIR .. "src/devices/machine/sis5513_ide.cpp", + MAME_DIR .. "src/devices/machine/sis5513_ide.h", + MAME_DIR .. "src/devices/machine/sis630_host.cpp", + MAME_DIR .. "src/devices/machine/sis630_host.h", + MAME_DIR .. "src/devices/machine/sis630_gui.cpp", + MAME_DIR .. "src/devices/machine/sis630_gui.h", + MAME_DIR .. "src/devices/machine/sis7001_usb.cpp", + MAME_DIR .. "src/devices/machine/sis7001_usb.h", + MAME_DIR .. "src/devices/machine/sis7018_audio.cpp", + MAME_DIR .. "src/devices/machine/sis7018_audio.h", + MAME_DIR .. "src/devices/machine/sis900_eth.cpp", + MAME_DIR .. "src/devices/machine/sis900_eth.h", + MAME_DIR .. "src/devices/machine/sis950_lpc.cpp", + MAME_DIR .. "src/devices/machine/sis950_lpc.h", + MAME_DIR .. "src/devices/machine/sis950_smbus.cpp", + MAME_DIR .. "src/devices/machine/sis950_smbus.h", MAME_DIR .. "src/devices/machine/sis85c496.cpp", MAME_DIR .. "src/devices/machine/sis85c496.h", + MAME_DIR .. "src/devices/machine/vt8231_isa.cpp", + MAME_DIR .. "src/devices/machine/vt8231_isa.h", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_bridge.cpp", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_bridge.h", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_ide.cpp", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_ide.h", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_video.cpp", + MAME_DIR .. "src/devices/machine/mediagx_cs5530_video.h", + MAME_DIR .. "src/devices/machine/mediagx_host.cpp", + MAME_DIR .. "src/devices/machine/mediagx_host.h", + MAME_DIR .. "src/devices/machine/zfmicro_usb.cpp", + MAME_DIR .. "src/devices/machine/zfmicro_usb.h", } end @@ -2439,6 +2901,69 @@ end --------------------------------------------------- -- +--@src/devices/machine/pseudovia.h,MACHINES["PSEUDOVIA"] = true +--------------------------------------------------- + +if (MACHINES["PSEUDOVIA"]~=null) then + files { + MAME_DIR .. "src/devices/machine/pseudovia.cpp", + MAME_DIR .. "src/devices/machine/pseudovia.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/psion_asic1.h,MACHINES["PSION_ASIC"] = true +--@src/devices/machine/psion_asic2.h,MACHINES["PSION_ASIC"] = true +--@src/devices/machine/psion_asic3.h,MACHINES["PSION_ASIC"] = true +--@src/devices/machine/psion_asic4.h,MACHINES["PSION_ASIC"] = true +--@src/devices/machine/psion_asic5.h,MACHINES["PSION_ASIC"] = true +--@src/devices/machine/psion_asic9.h,MACHINES["PSION_ASIC"] = true +--------------------------------------------------- + +if (MACHINES["PSION_ASIC"]~=null) then + files { + MAME_DIR .. "src/devices/machine/psion_asic1.cpp", + MAME_DIR .. "src/devices/machine/psion_asic1.h", + MAME_DIR .. "src/devices/machine/psion_asic2.cpp", + MAME_DIR .. "src/devices/machine/psion_asic2.h", + MAME_DIR .. "src/devices/machine/psion_asic3.cpp", + MAME_DIR .. "src/devices/machine/psion_asic3.h", + MAME_DIR .. "src/devices/machine/psion_asic4.cpp", + MAME_DIR .. "src/devices/machine/psion_asic4.h", + MAME_DIR .. "src/devices/machine/psion_asic5.cpp", + MAME_DIR .. "src/devices/machine/psion_asic5.h", + MAME_DIR .. "src/devices/machine/psion_asic9.cpp", + MAME_DIR .. "src/devices/machine/psion_asic9.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/psion_condor.h,MACHINES["PSION_CONDOR"] = true +--------------------------------------------------- + +if (MACHINES["PSION_CONDOR"]~=null) then + files { + MAME_DIR .. "src/devices/machine/psion_condor.cpp", + MAME_DIR .. "src/devices/machine/psion_condor.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/psion_ssd.h,MACHINES["PSION_SSD"] = true +--------------------------------------------------- + +if (MACHINES["PSION_SSD"]~=null) then + files { + MAME_DIR .. "src/devices/machine/psion_ssd.cpp", + MAME_DIR .. "src/devices/machine/psion_ssd.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/pxa255.h,MACHINES["PXA255"] = true --------------------------------------------------- @@ -2446,7 +2971,6 @@ if (MACHINES["PXA255"]~=null) then files { MAME_DIR .. "src/devices/machine/pxa255.cpp", MAME_DIR .. "src/devices/machine/pxa255.h", - MAME_DIR .. "src/devices/machine/pxa255defs.h", } end @@ -2476,6 +3000,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/r65c52.h,MACHINES["R65C52"] = true +--------------------------------------------------- + +if (MACHINES["R65C52"]~=null) then + files { + MAME_DIR .. "src/devices/machine/r65c52.cpp", + MAME_DIR .. "src/devices/machine/r65c52.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ra17xx.h,MACHINES["RA17XX"] = true --------------------------------------------------- @@ -2492,7 +3028,6 @@ end --------------------------------------------------- if (MACHINES["RF5C296"]~=null) then - MACHINES["PCCARD"] = true files { MAME_DIR .. "src/devices/machine/rf5c296.cpp", MAME_DIR .. "src/devices/machine/rf5c296.h", @@ -2621,6 +3156,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/s2350.h,MACHINES["S2350"] = true +--------------------------------------------------- + +if (MACHINES["S2350"]~=null) then + files { + MAME_DIR .. "src/devices/machine/s2350.cpp", + MAME_DIR .. "src/devices/machine/s2350.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/s2636.h,MACHINES["S2636"] = true --------------------------------------------------- @@ -2678,6 +3225,30 @@ end --------------------------------------------------- -- +--@src/devices/machine/sa1110.h,MACHINES["SA1110"] = true +--------------------------------------------------- + +if (MACHINES["SA1110"]~=null) then + files { + MAME_DIR .. "src/devices/machine/sa1110.cpp", + MAME_DIR .. "src/devices/machine/sa1110.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/sa1111.h,MACHINES["SA1111"] = true +--------------------------------------------------- + +if (MACHINES["SA1111"]~=null) then + files { + MAME_DIR .. "src/devices/machine/sa1111.cpp", + MAME_DIR .. "src/devices/machine/sa1111.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/saa1043.h,MACHINES["SAA1043"] = true --------------------------------------------------- @@ -2690,6 +3261,40 @@ end --------------------------------------------------- -- +--@src/devices/machine/saa5070.h,MACHINES["SAA5070"] = true +--------------------------------------------------- + +if (MACHINES["SAA5070"]~=null) then + files { + MAME_DIR .. "src/devices/machine/saa5070.cpp", + MAME_DIR .. "src/devices/machine/saa5070.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/sc16is741.h,MACHINES["SC16IS741"] = true +--------------------------------------------------- +if (MACHINES["SC16IS741"]~=null) then + files { + MAME_DIR .. "src/devices/machine/sc16is741.cpp", + MAME_DIR .. "src/devices/machine/sc16is741.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/scc66470.h,MACHINES["SCC66470"] = true +--------------------------------------------------- +if (MACHINES["SCC66470"]~=null) then + files { + MAME_DIR .. "src/devices/machine/scc66470.cpp", + MAME_DIR .. "src/devices/machine/scc66470.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/scc68070.h,MACHINES["SCC68070"] = true --------------------------------------------------- if (MACHINES["SCC68070"]~=null) then @@ -2701,6 +3306,29 @@ end --------------------------------------------------- -- +--@src/devices/machine/scn_pci.h,MACHINES["SCN_PCI"] = true +--------------------------------------------------- + +if (MACHINES["SCN_PCI"]~=null) then + files { + MAME_DIR .. "src/devices/machine/scn_pci.cpp", + MAME_DIR .. "src/devices/machine/scn_pci.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/scoop.h,MACHINES["SCOOP"] = true +--------------------------------------------------- +if (MACHINES["SCOOP"]~=null) then + files { + MAME_DIR .. "src/devices/machine/scoop.cpp", + MAME_DIR .. "src/devices/machine/scoop.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/scnxx562.h,MACHINES["DUSCC"] = true --------------------------------------------------- @@ -2737,18 +3365,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/serflash.h,MACHINES["SERFLASH"] = true ---------------------------------------------------- - -if (MACHINES["SERFLASH"]~=null) then - files { - MAME_DIR .. "src/devices/machine/serflash.cpp", - MAME_DIR .. "src/devices/machine/serflash.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/smc91c9x.h,MACHINES["SMC91C9X"] = true --------------------------------------------------- @@ -2787,7 +3403,7 @@ end -- --@src/devices/machine/spg2xx.h,MACHINES["SPG2XX"] = true --@src/devices/machine/spg110.h,MACHINES["SPG2XX"] = true ---@src/devices/machine/sunplus_gcm394.h,MACHINES["SPG2XX"] = true +--@src/devices/machine/generalplus_gpl16250soc.h,MACHINES["SPG2XX"] = true --------------------------------------------------- if (MACHINES["SPG2XX"]~=null) then @@ -2806,22 +3422,45 @@ if (MACHINES["SPG2XX"]~=null) then MAME_DIR .. "src/devices/machine/spg110.h", MAME_DIR .. "src/devices/machine/spg110_video.cpp", MAME_DIR .. "src/devices/machine/spg110_video.h", - MAME_DIR .. "src/devices/machine/sunplus_gcm394.cpp", - MAME_DIR .. "src/devices/machine/sunplus_gcm394.h", - MAME_DIR .. "src/devices/machine/sunplus_gcm394_video.cpp", - MAME_DIR .. "src/devices/machine/sunplus_gcm394_video.h", + MAME_DIR .. "src/devices/machine/generalplus_gpl16250soc.cpp", + MAME_DIR .. "src/devices/machine/generalplus_gpl16250soc.h", + MAME_DIR .. "src/devices/machine/generalplus_gpl16250soc_video.cpp", + MAME_DIR .. "src/devices/machine/generalplus_gpl16250soc_video.h", + MAME_DIR .. "src/devices/machine/spg_renderer.cpp", + MAME_DIR .. "src/devices/machine/spg_renderer.h", } end --------------------------------------------------- -- ---@src/devices/machine/stvcd.h,MACHINES["STVCD"] = true +--@src/devices/machine/spg290_cdservo.h,MACHINES["SPG290"] = true +--@src/devices/machine/spg290_timer.h,MACHINES["SPG290"] = true +--@src/devices/machine/spg290_i2c.h,MACHINES["SPG290"] = true +--@src/devices/machine/spg290_ppu.h,MACHINES["SPG290"] = true --------------------------------------------------- -if (MACHINES["STVCD"]~=null) then +if (MACHINES["SPG290"]~=null) then files { - MAME_DIR .. "src/devices/machine/stvcd.cpp", - MAME_DIR .. "src/devices/machine/stvcd.h", + MAME_DIR .. "src/devices/machine/spg290_cdservo.cpp", + MAME_DIR .. "src/devices/machine/spg290_cdservo.h", + MAME_DIR .. "src/devices/machine/spg290_timer.cpp", + MAME_DIR .. "src/devices/machine/spg290_timer.h", + MAME_DIR .. "src/devices/machine/spg290_i2c.cpp", + MAME_DIR .. "src/devices/machine/spg290_i2c.h", + MAME_DIR .. "src/devices/machine/spg290_ppu.cpp", + MAME_DIR .. "src/devices/machine/spg290_ppu.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/swtpc8212.h,MACHINES["SWTPC8212"] = true +--------------------------------------------------- + +if (MACHINES["SWTPC8212"]~=null) then + files { + MAME_DIR .. "src/devices/machine/swtpc8212.cpp", + MAME_DIR .. "src/devices/machine/swtpc8212.h", } end @@ -2830,7 +3469,7 @@ end -- --------------------------------------------------- -if (BUSES["SCSI"]~=null) then +if (BUSES["ATA"]~=null) or (BUSES["SCSI"]~=null) then MACHINES["T10"] = true end @@ -2845,6 +3484,19 @@ if (MACHINES["T10"]~=null) then } end + +--------------------------------------------------- +-- +--@src/devices/machine/smartboard.h,MACHINES["TASC_SB30"] = true +--------------------------------------------------- + +if (MACHINES["TASC_SB30"]~=null) then + files { + MAME_DIR .. "src/devices/machine/smartboard.cpp", + MAME_DIR .. "src/devices/machine/smartboard.h", + } +end + --------------------------------------------------- -- --@src/devices/machine/tc009xlvc.h,MACHINES["TC0091LVC"] = true @@ -2883,6 +3535,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/thmfc1.h,MACHINES["THMFC1"] = true +--------------------------------------------------- + +if (MACHINES["THMFC1"]~=null) then + files { + MAME_DIR .. "src/devices/machine/thmfc1.cpp", + MAME_DIR .. "src/devices/machine/thmfc1.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/ticket.h,MACHINES["TICKET"] = true --------------------------------------------------- @@ -2919,25 +3583,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/tmc208k.h,MACHINES["TMC208K"] = true +--@src/devices/machine/tmc0999.h,MACHINES["TMC0999"] = true --------------------------------------------------- -if (MACHINES["TMC208K"]~=null) then +if (MACHINES["TMC0999"]~=null) then files { - MAME_DIR .. "src/devices/machine/tmc208k.cpp", - MAME_DIR .. "src/devices/machine/tmc208k.h", + MAME_DIR .. "src/devices/machine/tmc0999.cpp", + MAME_DIR .. "src/devices/machine/tmc0999.h", } end --------------------------------------------------- -- ---@src/devices/machine/tmp68301.h,MACHINES["TMP68301"] = true +--@src/devices/machine/tmc208k.h,MACHINES["TMC208K"] = true --------------------------------------------------- -if (MACHINES["TMP68301"]~=null) then +if (MACHINES["TMC208K"]~=null) then files { - MAME_DIR .. "src/devices/machine/tmp68301.cpp", - MAME_DIR .. "src/devices/machine/tmp68301.h", + MAME_DIR .. "src/devices/machine/tmc208k.cpp", + MAME_DIR .. "src/devices/machine/tmc208k.h", } end @@ -3015,6 +3679,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/tsb12lv01a.h,MACHINES["TSB12LV01A"] = true +--------------------------------------------------- + +if (MACHINES["TSB12LV01A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/tsb12lv01a.cpp", + MAME_DIR .. "src/devices/machine/tsb12lv01a.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/tube.h,MACHINES["TUBE"] = true --------------------------------------------------- @@ -3027,6 +3703,42 @@ end --------------------------------------------------- -- +--@src/devices/machine/ucb1200.h,MACHINES["UCB1200"] = true +--------------------------------------------------- + +if (MACHINES["UCB1200"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ucb1200.cpp", + MAME_DIR .. "src/devices/machine/ucb1200.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/upc82c710.h,MACHINES["UPC82C710"] = true +--------------------------------------------------- + +if (MACHINES["UPC82C710"]~=null) then + files { + MAME_DIR .. "src/devices/machine/upc82c710.cpp", + MAME_DIR .. "src/devices/machine/upc82c710.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/upc82c711.h,MACHINES["UPC82C711"] = true +--------------------------------------------------- + +if (MACHINES["UPC82C711"]~=null) then + files { + MAME_DIR .. "src/devices/machine/upc82c711.cpp", + MAME_DIR .. "src/devices/machine/upc82c711.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/upd1990a.h,MACHINES["UPD1990A"] = true --------------------------------------------------- @@ -3039,6 +3751,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/upd4991a.h,MACHINES["UPD4991A"] = true +--------------------------------------------------- + +if (MACHINES["UPD4991A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/upd4991a.cpp", + MAME_DIR .. "src/devices/machine/upd4991a.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/upd4992.h,MACHINES["UPD4992"] = true --------------------------------------------------- @@ -3064,6 +3788,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/upd7001.h,MACHINES["UPD7001"] = true +--------------------------------------------------- + +if (MACHINES["UPD7001"]~=null) then + files { + MAME_DIR .. "src/devices/machine/upd7001.cpp", + MAME_DIR .. "src/devices/machine/upd7001.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/upd7002.h,MACHINES["UPD7002"] = true --------------------------------------------------- @@ -3124,6 +3860,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/vic_pl192.h,MACHINES["VIC_PL192"] = true +--------------------------------------------------- + +if (MACHINES["VIC_PL192"]~=null) then + files { + MAME_DIR .. "src/devices/machine/vic_pl192.cpp", + MAME_DIR .. "src/devices/machine/vic_pl192.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/wd_fdc.h,MACHINES["WD_FDC"] = true --------------------------------------------------- @@ -3293,18 +4041,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/z80dart.h,MACHINES["Z80DART"] = true ---------------------------------------------------- - -if (MACHINES["Z80DART"]~=null) then - files { - MAME_DIR .. "src/devices/machine/z80dart.cpp", - MAME_DIR .. "src/devices/machine/z80dart.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/z80sio.h,MACHINES["Z80SIO"] = true --------------------------------------------------- @@ -3377,18 +4113,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/pccard.h,MACHINES["PCCARD"] = true ---------------------------------------------------- - -if (MACHINES["PCCARD"]~=null) then - files { - MAME_DIR .. "src/devices/machine/pccard.cpp", - MAME_DIR .. "src/devices/machine/pccard.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/i8255.h,MACHINES["I8255"] = true --------------------------------------------------- @@ -3415,37 +4139,37 @@ end --------------------------------------------------- -- ---@src/devices/machine/ncr5380n.h,MACHINES["NCR5380N"] = true +--@src/devices/machine/ncr53c90.h,MACHINES["NCR53C90"] = true --------------------------------------------------- -if (MACHINES["NCR5380N"]~=null) then +if (MACHINES["NCR53C90"]~=null) then files { - MAME_DIR .. "src/devices/machine/ncr5380n.cpp", - MAME_DIR .. "src/devices/machine/ncr5380n.h", + MAME_DIR .. "src/devices/machine/ncr53c90.cpp", + MAME_DIR .. "src/devices/machine/ncr53c90.h", } end --------------------------------------------------- -- ---@src/devices/machine/ncr5390.h,MACHINES["NCR5390"] = true +--@src/devices/machine/mm58167.h,MACHINES["MM58167"] = true --------------------------------------------------- -if (MACHINES["NCR5390"]~=null) then +if (MACHINES["MM58167"]~=null) then files { - MAME_DIR .. "src/devices/machine/ncr5390.cpp", - MAME_DIR .. "src/devices/machine/ncr5390.h", + MAME_DIR .. "src/devices/machine/mm58167.cpp", + MAME_DIR .. "src/devices/machine/mm58167.h", } end --------------------------------------------------- -- ---@src/devices/machine/mm58167.h,MACHINES["MM58167"] = true +--@src/devices/machine/mm58174.h,MACHINES["MM58174"] = true --------------------------------------------------- -if (MACHINES["MM58167"]~=null) then +if (MACHINES["MM58174"]~=null) then files { - MAME_DIR .. "src/devices/machine/mm58167.cpp", - MAME_DIR .. "src/devices/machine/mm58167.h", + MAME_DIR .. "src/devices/machine/mm58174.cpp", + MAME_DIR .. "src/devices/machine/mm58174.h", } end @@ -3476,13 +4200,13 @@ end --------------------------------------------------- -- ---@src/devices/machine/dp8573.h,MACHINES["DP8573"] = true +--@src/devices/machine/dp8573a.h,MACHINES["DP8573A"] = true --------------------------------------------------- -if (MACHINES["DP8573"]~=null) then +if (MACHINES["DP8573A"]~=null) then files { - MAME_DIR .. "src/devices/machine/dp8573.cpp", - MAME_DIR .. "src/devices/machine/dp8573.h", + MAME_DIR .. "src/devices/machine/dp8573a.cpp", + MAME_DIR .. "src/devices/machine/dp8573a.h", } end @@ -3573,6 +4297,18 @@ end --------------------------------------------------- -- +--@src/devices/machine/em_reel.h,MACHINES["EM_REEL"] = true +--------------------------------------------------- + +if (MACHINES["EM_REEL"]~=null) then + files { + MAME_DIR .. "src/devices/machine/em_reel.cpp", + MAME_DIR .. "src/devices/machine/em_reel.h", + } +end + +--------------------------------------------------- +-- --@src/devices/machine/corvushd.h,MACHINES["CORVUSHD"] = true --------------------------------------------------- if (MACHINES["CORVUSHD"]~=null) then @@ -3678,6 +4414,67 @@ end --------------------------------------------------- -- +--@src/devices/machine/it8705f.h,MACHINES["IT8705F"] = true +--------------------------------------------------- + +if (MACHINES["IT8705F"]~=null) then + files { + MAME_DIR .. "src/devices/machine/it8705f.cpp", + MAME_DIR .. "src/devices/machine/it8705f.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/pc87306.h,MACHINES["PC87306"] = true +--------------------------------------------------- + +if (MACHINES["PC87306"]~=null) then + files { + MAME_DIR .. "src/devices/machine/pc87306.cpp", + MAME_DIR .. "src/devices/machine/pc87306.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/pc97338.h,MACHINES["PC97338"] = true +--------------------------------------------------- + +if (MACHINES["PC97338"]~=null) then + files { + MAME_DIR .. "src/devices/machine/pc97338.cpp", + MAME_DIR .. "src/devices/machine/pc97338.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/w83787f.h,MACHINES["W83787F"] = true +--------------------------------------------------- + +if (MACHINES["W83787F"]~=null) then + files { + MAME_DIR .. "src/devices/machine/w83787f.cpp", + MAME_DIR .. "src/devices/machine/w83787f.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/w83977tf.h,MACHINES["W83977TF"] = true +--------------------------------------------------- + +if (MACHINES["W83977TF"]~=null) then + files { + MAME_DIR .. "src/devices/machine/w83977tf.cpp", + MAME_DIR .. "src/devices/machine/w83977tf.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/machine/pdc.h,MACHINES["PDC"] = true --------------------------------------------------- @@ -3750,34 +4547,23 @@ end --------------------------------------------------- -- ---@src/devices/machine/appldriv.h,MACHINES["APPLE_DRIVE"] = true +--@src/devices/machine/spi_psram.h,MACHINES["SPIPSRAM"] = true --------------------------------------------------- -if (MACHINES["APPLE_DRIVE"]~=null) then +if (MACHINES["SPIPSRAM"]~=null) then files { - MAME_DIR .. "src/devices/machine/appldriv.cpp", - MAME_DIR .. "src/devices/machine/appldriv.h", + MAME_DIR .. "src/devices/machine/spi_psram.cpp", + MAME_DIR .. "src/devices/machine/spi_psram.h", } end --------------------------------------------------- -- ---@src/devices/machine/applefdc.h,MACHINES["APPLE_FDC"] = true +--@src/devices/machine/spi_sdcard.h,MACHINES["SPISDCARD"] = true --------------------------------------------------- -if (MACHINES["APPLE_FDC"]~=null) then +if (MACHINES["SPISDCARD"]~=null) then files { - MAME_DIR .. "src/devices/machine/applefdc.cpp", - MAME_DIR .. "src/devices/machine/applefdc.h", - } -end - ---------------------------------------------------- --- ---@src/devices/machine/sonydriv.h,MACHINES["SONY_DRIVE"] = true ---------------------------------------------------- -if (MACHINES["SONY_DRIVE"]~=null) then - files { - MAME_DIR .. "src/devices/machine/sonydriv.cpp", - MAME_DIR .. "src/devices/machine/sonydriv.h", + MAME_DIR .. "src/devices/machine/spi_sdcard.cpp", + MAME_DIR .. "src/devices/machine/spi_sdcard.h", } end @@ -4094,25 +4880,25 @@ end --------------------------------------------------- -- ---@src/devices/machine/aic6250.h,MACHINES["AIC6250"] = true +--@src/devices/machine/aic580.h,MACHINES["AIC580"] = true --------------------------------------------------- -if (MACHINES["AIC6250"]~=null) then +if (MACHINES["AIC580"]~=null) then files { - MAME_DIR .. "src/devices/machine/aic6250.cpp", - MAME_DIR .. "src/devices/machine/aic6250.h", + MAME_DIR .. "src/devices/machine/aic580.cpp", + MAME_DIR .. "src/devices/machine/aic580.h", } end --------------------------------------------------- -- ---@src/devices/machine/dc7085.h,MACHINES["DC7085"] = true +--@src/devices/machine/aic6250.h,MACHINES["AIC6250"] = true --------------------------------------------------- -if (MACHINES["DC7085"]~=null) then +if (MACHINES["AIC6250"]~=null) then files { - MAME_DIR .. "src/devices/machine/dc7085.cpp", - MAME_DIR .. "src/devices/machine/dc7085.h", + MAME_DIR .. "src/devices/machine/aic6250.cpp", + MAME_DIR .. "src/devices/machine/aic6250.h", } end @@ -4176,3 +4962,387 @@ if (MACHINES["VRENDER0"]~=null) then MAME_DIR .. "src/devices/machine/vrender0.h", } end + +--------------------------------------------------- +-- +--@src/devices/machine/i3001.h,MACHINES["I3001"] = true +--------------------------------------------------- + +if (MACHINES["I3001"]~=null) then + files { + MAME_DIR .. "src/devices/machine/i3001.cpp", + MAME_DIR .. "src/devices/machine/i3001.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/i3002.h,MACHINES["I3002"] = true +--------------------------------------------------- + +if (MACHINES["I3002"]~=null) then + files { + MAME_DIR .. "src/devices/machine/i3002.cpp", + MAME_DIR .. "src/devices/machine/i3002.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/s_smp.h,MACHINES["S_SMP"] = true +--------------------------------------------------- + +if (MACHINES["S_SMP"]~=null) then + files { + MAME_DIR .. "src/devices/machine/s_smp.cpp", + MAME_DIR .. "src/devices/machine/s_smp.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/cxd1185.h,MACHINES["CXD1185"] = true +--------------------------------------------------- + +if (MACHINES["CXD1185"]~=null) then + MACHINES["NSCSI"] = true + files { + MAME_DIR .. "src/devices/machine/cxd1185.cpp", + MAME_DIR .. "src/devices/machine/cxd1185.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/spifi3.h,MACHINES["SPIFI3"] = true +--------------------------------------------------- + +if (MACHINES["SPIFI3"]~=null) then + MACHINES["NSCSI"] = true + files { + MAME_DIR .. "src/devices/machine/spifi3.cpp", + MAME_DIR .. "src/devices/machine/spifi3.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/applefdintf.h,MACHINES["APPLE_FDINTF"] = true +--------------------------------------------------- +if (MACHINES["APPLE_FDINTF"]~=null) then + files { + MAME_DIR .. "src/devices/machine/applefdintf.cpp", + MAME_DIR .. "src/devices/machine/applefdintf.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/iwm.h,MACHINES["IWM"] = true +--------------------------------------------------- +if (MACHINES["IWM"]~=null) then + files { + MAME_DIR .. "src/devices/machine/iwm.cpp", + MAME_DIR .. "src/devices/machine/iwm.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/swim1.h,MACHINES["SWIM1"] = true +--------------------------------------------------- +if (MACHINES["SWIM1"]~=null) then + files { + MAME_DIR .. "src/devices/machine/swim1.cpp", + MAME_DIR .. "src/devices/machine/swim1.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/swim2.h,MACHINES["SWIM2"] = true +--------------------------------------------------- +if (MACHINES["SWIM2"]~=null) then + files { + MAME_DIR .. "src/devices/machine/swim2.cpp", + MAME_DIR .. "src/devices/machine/swim2.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/swim3.h,MACHINES["SWIM3"] = true +--------------------------------------------------- +if (MACHINES["SWIM3"]~=null) then + files { + MAME_DIR .. "src/devices/machine/swim3.cpp", + MAME_DIR .. "src/devices/machine/swim3.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/mv_sonora.h,MACHINES["MAC_VIDEO_SONORA"] = true +--------------------------------------------------- +if (MACHINES["MAC_VIDEO_SONORA"]~=null) then + files { + MAME_DIR .. "src/devices/machine/mv_sonora.cpp", + MAME_DIR .. "src/devices/machine/mv_sonora.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/alpha_8921.h,MACHINES["ALPHA_8921"] = true +--------------------------------------------------- +if (MACHINES["ALPHA_8921"]~=null) then + files { + MAME_DIR .. "src/devices/machine/alpha_8921.cpp", + MAME_DIR .. "src/devices/machine/alpha_8921.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/bl_handhelds_menucontrol.h,MACHINES["BL_HANDHELDS_MENUCONTROL"] = true +--------------------------------------------------- +if (MACHINES["BL_HANDHELDS_MENUCONTROL"]~=null) then + files { + MAME_DIR .. "src/devices/machine/bl_handhelds_menucontrol.cpp", + MAME_DIR .. "src/devices/machine/bl_handhelds_menucontrol.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ns32081.h,MACHINES["NS32081"] = true +--------------------------------------------------- +if (MACHINES["NS32081"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ns32081.cpp", + MAME_DIR .. "src/devices/machine/ns32081.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ns32202.h,MACHINES["NS32202"] = true +--------------------------------------------------- +if (MACHINES["NS32202"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ns32202.cpp", + MAME_DIR .. "src/devices/machine/ns32202.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ns32082.h,MACHINES["NS32082"] = true +--------------------------------------------------- +if (MACHINES["NS32082"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ns32082.cpp", + MAME_DIR .. "src/devices/machine/ns32082.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/bitmap_printer.h,MACHINES["BITMAP_PRINTER"] = true +--------------------------------------------------- +if (MACHINES["BITMAP_PRINTER"]~=null) then + files { + MAME_DIR .. "src/devices/machine/bitmap_printer.cpp", + MAME_DIR .. "src/devices/machine/bitmap_printer.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/ns32382.h,MACHINES["NS32382"] = true +--------------------------------------------------- +if (MACHINES["NS32382"]~=null) then + files { + MAME_DIR .. "src/devices/machine/ns32382.cpp", + MAME_DIR .. "src/devices/machine/ns32382.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/fm_scsi.h,MACHINES["FM_SCSI"] = true +--------------------------------------------------- +if (MACHINES["FM_SCSI"]~=null) then + files { + MAME_DIR .. "src/devices/machine/fm_scsi.cpp", + MAME_DIR .. "src/devices/machine/fm_scsi.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/archimedes_keyb.h,MACHINES["ARCHIMEDES_KEYB"] = true +--------------------------------------------------- +if (MACHINES["ARCHIMEDES_KEYB"]~=null) then + files { + MAME_DIR .. "src/devices/machine/archimedes_keyb.cpp", + MAME_DIR .. "src/devices/machine/archimedes_keyb.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/cammu.h,MACHINES["CAMMU"] = true +--------------------------------------------------- +if (MACHINES["CAMMU"]~=null) then + files { + MAME_DIR .. "src/devices/machine/cammu.cpp", + MAME_DIR .. "src/devices/machine/cammu.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/at.h,MACHINES["AT_MB"] = true +--------------------------------------------------- +if (MACHINES["AT_MB"]~=null) then + files { + MAME_DIR .. "src/devices/machine/at.cpp", + MAME_DIR .. "src/devices/machine/at.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/bacta_datalogger.h,MACHINES["BACTA_DATALOGGER"] = true +--------------------------------------------------- +if (MACHINES["BACTA_DATALOGGER"]~=null) then + files { + MAME_DIR .. "src/devices/machine/bacta_datalogger.cpp", + MAME_DIR .. "src/devices/machine/bacta_datalogger.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/nmk112.h,MACHINES["NMK112"] = true +--------------------------------------------------- +if (MACHINES["NMK112"]~=null) then + files { + MAME_DIR .. "src/devices/machine/nmk112.cpp", + MAME_DIR .. "src/devices/machine/nmk112.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/saa7191.h,MACHINES["SAA7191"] = true +--------------------------------------------------- +if (MACHINES["SAA7191"]~=null) then + files { + MAME_DIR .. "src/devices/machine/saa7191.cpp", + MAME_DIR .. "src/devices/machine/saa7191.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/segacrpt_device.h,MACHINES["SEGACRPT"] = true +--------------------------------------------------- +if (MACHINES["SEGACRPT"]~=null) then + files { + MAME_DIR .. "src/devices/machine/segacrpt_device.cpp", + MAME_DIR .. "src/devices/machine/segacrpt_device.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/segacrp2_device.h,MACHINES["SEGACRP2"] = true +--------------------------------------------------- +if (MACHINES["SEGACRP2"]~=null) then + files { + MAME_DIR .. "src/devices/machine/segacrp2_device.cpp", + MAME_DIR .. "src/devices/machine/segacrp2_device.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/am9516.h,MACHINES["AM9516"] = true +--------------------------------------------------- + +if (MACHINES["AM9516"]~=null) then + files { + MAME_DIR .. "src/devices/machine/am9516.cpp", + MAME_DIR .. "src/devices/machine/am9516.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/micomxe1a.h,MACHINES["MICOMXE1A"] = true +--------------------------------------------------- + +if (MACHINES["MICOMXE1A"]~=null) then + files { + MAME_DIR .. "src/devices/machine/micomxe1a.cpp", + MAME_DIR .. "src/devices/machine/micomxe1a.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/mc88200.h,MACHINES["MC88200"] = true +--------------------------------------------------- +if (MACHINES["MC88200"]~=null) then + files { + MAME_DIR .. "src/devices/machine/mc88200.cpp", + MAME_DIR .. "src/devices/machine/mc88200.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/tc9223.h,MACHINES["TC9223"] = true +--------------------------------------------------- + +if (MACHINES["TC9223"]~=null) then + files { + MAME_DIR .. "src/devices/machine/tc9223.cpp", + MAME_DIR .. "src/devices/machine/tc9223.h", + } +end + +--------------------------------------------------- +--@src/devices/machine/upd7261.h,MACHINES["UPD7261"] = true +--------------------------------------------------- + +if (MACHINES["UPD7261"]~=null) then + files { + MAME_DIR .. "src/devices/machine/upd7261.cpp", + MAME_DIR .. "src/devices/machine/upd7261.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/cat702.h,MACHINES["CAT702"] = true +--------------------------------------------------- +if (MACHINES["CAT702"]~=null) then + files { + MAME_DIR .. "src/devices/machine/cat702.cpp", + MAME_DIR .. "src/devices/machine/cat702.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/machine/sci4.h,MACHINES["SCI4"] = true +--------------------------------------------------- +if (MACHINES["SCI4"]~=null) then + files { + MAME_DIR .. "src/devices/machine/sci4.cpp", + MAME_DIR .. "src/devices/machine/sci4.h", + } +end diff --git a/scripts/src/main.lua b/scripts/src/main.lua index ad0e1a1d08c..7b1971d0da1 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -10,20 +10,18 @@ --------------------------------------------------------------------------- function mainProject(_target, _subtarget) -if (_OPTIONS["SOURCES"] == nil) then +local projname +if (_OPTIONS["SOURCES"] == nil) and (_OPTIONS["SOURCEFILTER"] == nil) then if (_target == _subtarget) then - project (_target) + projname = _target else - if (_subtarget=="mess") then - project (_subtarget) - else - project (_target .. _subtarget) - end + projname = _target .. _subtarget end else - project (_subtarget) + projname = _subtarget end - uuid (os.uuid(_target .."_" .. _subtarget)) + project (projname) + uuid (os.uuid(_target .. "_" .. _subtarget)) kind "ConsoleApp" configuration { "android*" } @@ -40,17 +38,6 @@ end "GLESv2", "SDL2", } - configuration { "pnacl" } - kind "ConsoleApp" - targetextension ".pexe" - links { - "ppapi", - "ppapi_gles2", - "pthread", - } - - configuration { "winstore*" } - kind "WindowedApp" configuration { } @@ -68,67 +55,13 @@ end } end - configuration { "winstore*" } - -- Windows Required Files - files { - -- Manifest file - MAME_DIR .. "scripts/resources/uwp/Package.appxmanifest", - } - - configuration { "winstore*" } - files { - MAME_DIR .. "scripts/resources/uwp/assets/*.png" - } - configuration "**/scripts/resources/uwp/assets/*.png" - flags { "DeploymentContent" } - - -- Effects and Shaders - configuration { "winstore*" } - files { - MAME_DIR .. "artwork/*", - MAME_DIR .. "artwork/**/*", - MAME_DIR .. "bgfx/*", - MAME_DIR .. "bgfx/**/*", - MAME_DIR .. "hash/*", - MAME_DIR .. "language/*", - MAME_DIR .. "language/**/*", - MAME_DIR .. "plugins/*", - MAME_DIR .. "plugins/**/*", - } - configuration "**/*" - flags { "DeploymentContent" } - - configuration { "x64", "Release" } - targetsuffix "64" - if _OPTIONS["PROFILE"] then - targetsuffix "64p" - end - - configuration { "x64", "Debug" } - targetsuffix "64d" - if _OPTIONS["PROFILE"] then - targetsuffix "64dp" - end - - configuration { "x32", "Release" } + configuration { "Release" } targetsuffix "" if _OPTIONS["PROFILE"] then targetsuffix "p" end - configuration { "x32", "Debug" } - targetsuffix "d" - if _OPTIONS["PROFILE"] then - targetsuffix "dp" - end - - configuration { "Native", "Release" } - targetsuffix "" - if _OPTIONS["PROFILE"] then - targetsuffix "p" - end - - configuration { "Native", "Debug" } + configuration { "Debug" } targetsuffix "d" if _OPTIONS["PROFILE"] then targetsuffix "dp" @@ -137,80 +70,36 @@ end configuration { "mingw*" or "vs20*" } targetextension ".exe" - configuration { "rpi" } - targetextension "" - configuration { "asmjs" } - targetextension ".bc" - if os.getenv("EMSCRIPTEN") then - local emccopts = "" - .. " -O" .. _OPTIONS["OPTIMIZE"] - .. " -s USE_SDL=2" - .. " -s USE_SDL_TTF=2" - .. " --memory-init-file 0" - .. " -s ALLOW_MEMORY_GROWTH=0" - .. " -s TOTAL_MEMORY=268435456" - .. " -s DISABLE_EXCEPTION_CATCHING=2" - .. " -s EXCEPTION_CATCHING_WHITELIST=\"['__ZN15running_machine17start_all_devicesEv','__ZN12cli_frontend7executeEiPPc','__ZN8chd_file11open_commonEb','__ZN8chd_file13read_metadataEjjRNSt3__212basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE','__ZN8chd_file13read_metadataEjjRNSt3__26vectorIhNS0_9allocatorIhEEEE']\"" - .. " -s EXPORTED_FUNCTIONS=\"['_main', '_malloc', '__ZN15running_machine30emscripten_get_running_machineEv', '__ZN15running_machine17emscripten_get_uiEv', '__ZN15running_machine20emscripten_get_soundEv', '__ZN15mame_ui_manager12set_show_fpsEb', '__ZNK15mame_ui_manager8show_fpsEv', '__ZN13sound_manager4muteEbh', '_SDL_PauseAudio', '_SDL_SendKeyboardKey', '__ZN15running_machine15emscripten_saveEPKc', '__ZN15running_machine15emscripten_loadEPKc', '__ZN15running_machine21emscripten_hard_resetEv', '__ZN15running_machine21emscripten_soft_resetEv', '__ZN15running_machine15emscripten_exitEv']\"" - .. " -s EXTRA_EXPORTED_RUNTIME_METHODS=\"['cwrap']\"" - .. " -s ERROR_ON_UNDEFINED_SYMBOLS=0" - .. " --pre-js " .. _MAKE.esc(MAME_DIR) .. "src/osd/modules/sound/js_sound.js" - .. " --post-js " .. _MAKE.esc(MAME_DIR) .. "scripts/resources/emscripten/emscripten_post.js" - .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/chains@bgfx/chains" - .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/effects@bgfx/effects" - .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "bgfx/shaders/essl@bgfx/shaders/essl" - .. " --embed-file " .. _MAKE.esc(MAME_DIR) .. "artwork/slot-mask.png@artwork/slot-mask.png" - - if _OPTIONS["SYMBOLS"]~=nil and _OPTIONS["SYMBOLS"]~="0" then - emccopts = emccopts - .. " -g" .. _OPTIONS["SYMLEVEL"] - .. " -s DEMANGLE_SUPPORT=1" - end - - if _OPTIONS["WEBASSEMBLY"] then - emccopts = emccopts - .. " -s WASM=" .. _OPTIONS["WEBASSEMBLY"] - end - - if _OPTIONS["ARCHOPTS"] then - emccopts = emccopts .. " " .. _OPTIONS["ARCHOPTS"] - end - - postbuildcommands { - os.getenv("EMSCRIPTEN") .. "/emcc " .. emccopts .. " $(TARGET) -o " .. _MAKE.esc(MAME_DIR) .. _OPTIONS["target"] .. _OPTIONS["subtarget"] .. ".js", - } - end + targetextension ".html" configuration { } if _OPTIONS["targetos"]=="android" then - includedirs { - MAME_DIR .. "3rdparty/SDL2/include", - } - files { - MAME_DIR .. "3rdparty/SDL2/src/main/android/SDL_android_main.c", + MAME_DIR .. "src/osd/sdl/android_main.cpp", } targetsuffix "" if _OPTIONS["SEPARATE_BIN"]~="1" then if _OPTIONS["PLATFORM"]=="arm" then targetdir(MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a") + os.copyfile(_OPTIONS["SDL_INSTALL_ROOT"] .. "/lib/libSDL2.so", MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a/libSDL2.so") + os.copyfile(androidToolchainRoot() .. "/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so", MAME_DIR .. "android-project/app/src/main/libs/armeabi-v7a/libc++_shared.so") end if _OPTIONS["PLATFORM"]=="arm64" then targetdir(MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a") - end - if _OPTIONS["PLATFORM"]=="mips" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips") - end - if _OPTIONS["PLATFORM"]=="mips64" then - targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips64") + os.copyfile(_OPTIONS["SDL_INSTALL_ROOT"] .. "/lib/libSDL2.so", MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a/libSDL2.so") + os.copyfile(androidToolchainRoot() .. "/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so", MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a/libc++_shared.so") end if _OPTIONS["PLATFORM"]=="x86" then targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86") + os.copyfile(_OPTIONS["SDL_INSTALL_ROOT"] .. "/lib/libSDL2.so", MAME_DIR .. "android-project/app/src/main/libs/x86/libSDL2.so") + os.copyfile(androidToolchainRoot() .. "/sysroot/usr/lib/i686-linux-android/libc++_shared.so", MAME_DIR .. "android-project/app/src/main/libs/x86/libc++_shared.so") end if _OPTIONS["PLATFORM"]=="x64" then targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86_64") + os.copyfile(_OPTIONS["SDL_INSTALL_ROOT"] .. "/lib/libSDL2.so", MAME_DIR .. "android-project/app/src/main/libs/x86_64/libSDL2.so") + os.copyfile(androidToolchainRoot() .. "/sysroot/usr/lib/x86_64-linux-android/libc++_shared.so", MAME_DIR .. "android-project/app/src/main/libs/x86_64/libc++_shared.so") end end else @@ -222,26 +111,21 @@ end if (STANDALONE~=true) then findfunction("linkProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"]) end - links { - "osd_" .. _OPTIONS["osd"], - } - links { - "qtdbg_" .. _OPTIONS["osd"], - } if (STANDALONE~=true) then links { "frontend", } end -if (MACHINES["NETLIST"]~=null) then - links { - "netlist", - } -end links { "optional", "emu", } + links { + "osd_" .. _OPTIONS["osd"], + } + links { + "qtdbg_" .. _OPTIONS["osd"], + } --if (STANDALONE~=true) then links { "formats", @@ -252,27 +136,36 @@ if #disasm_files > 0 then "dasm", } end +if (MACHINES["NETLIST"]~=null) then + links { + "netlist", + } +end links { "utils", ext_lib("expat"), "softfloat", "softfloat3", + "wdlfft", + "ymfm", ext_lib("jpeg"), "7z", } +if CPU_INCLUDE_DRC_NATIVE then + links { + "asmjit", + } +end if (STANDALONE~=true) then links { ext_lib("lua"), "lualibs", - } -if (_OPTIONS["osd"] ~= "uwp") then - links { "linenoise", } end -end links { ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -306,7 +199,8 @@ end override_resources = false; - maintargetosdoptions(_target,_subtarget) + maintargetosdoptions(_target, _subtarget) + local exename = projname -- FIXME: should include the OSD prefix if any includedirs { MAME_DIR .. "src/osd", @@ -317,11 +211,15 @@ end MAME_DIR .. "src/lib/util", MAME_DIR .. "3rdparty", GEN_DIR .. _target .. "/layout", - GEN_DIR .. "resource", ext_includedir("zlib"), ext_includedir("flac"), } + resincludedirs { + MAME_DIR .. "scripts/resources/windows/" .. _target, + GEN_DIR .. "resource", + } + if (STANDALONE==true) then standalone(); @@ -329,103 +227,153 @@ end if (STANDALONE~=true) then if _OPTIONS["targetos"]=="macosx" and (not override_resources) then + local plistname = _target .. "_" .. _subtarget .. "-Info.plist" linkoptions { - "-sectcreate __TEXT __info_plist " .. _MAKE.esc(GEN_DIR) .. "resource/" .. _subtarget .. "-Info.plist" + "-sectcreate __TEXT __info_plist " .. _MAKE.esc(GEN_DIR) .. "resource/" .. plistname } custombuildtask { - { GEN_DIR .. "version.cpp" , GEN_DIR .. "resource/" .. _subtarget .. "-Info.plist", { MAME_DIR .. "scripts/build/verinfo.py" }, {"@echo Emitting " .. _subtarget .. "-Info.plist" .. "...", PYTHON .. " $(1) -p -b " .. _subtarget .. " $(<) > $(@)" }}, + { + GEN_DIR .. "version.cpp", + GEN_DIR .. "resource/" .. plistname, + { MAME_DIR .. "scripts/build/verinfo.py" }, + { + "@echo Emitting " .. plistname .. "...", + PYTHON .. " $(1) -f plist -t " .. _target .. " -s " .. _subtarget .. " -e " .. exename .. " -o $(@) $(<)" + } + }, } dependency { - { "$(TARGET)" , GEN_DIR .. "resource/" .. _subtarget .. "-Info.plist", true }, + { "$(TARGET)" , GEN_DIR .. "resource/" .. plistname, true }, } end - local rctarget = _subtarget + local rcversfile = GEN_DIR .. "resource/" .. _target .. "_" .. _subtarget .. "_vers.rc" if _OPTIONS["targetos"]=="windows" and (not override_resources) then - rcfile = MAME_DIR .. "scripts/resources/windows/" .. _subtarget .. "/" .. rctarget ..".rc" - if os.isfile(rcfile) then - files { - rcfile, - } - dependency { - { "$(OBJDIR)/".._subtarget ..".res" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", true }, - } - else - rctarget = "mame" - files { - MAME_DIR .. "scripts/resources/windows/mame/mame.rc", - } - dependency { - { "$(OBJDIR)/mame.res" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", true }, - } - end + files { + rcversfile + } + end + + local rcincfile = MAME_DIR .. "scripts/resources/windows/" .. _target .. "/" .. _subtarget ..".rc" + if not os.isfile(rcincfile) then + rcincfile = MAME_DIR .. "scripts/resources/windows/mame/mame.rc" + resincludedirs { + MAME_DIR .. "scripts/resources/windows/mame", + } end - local mainfile = MAME_DIR .. "src/".._target .."/" .. _subtarget ..".cpp" + local mainfile = MAME_DIR .. "src/" .. _target .. "/" .. _subtarget .. ".cpp" if not os.isfile(mainfile) then - mainfile = MAME_DIR .. "src/".._target .."/" .. _target ..".cpp" + mainfile = MAME_DIR .. "src/" .. _target .. "/" .. _target .. ".cpp" end files { mainfile, GEN_DIR .. "version.cpp", - GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", + GEN_DIR .. _target .. "/" .. _subtarget .. "/drivlist.cpp", } - if (_OPTIONS["SOURCES"] == nil) then - - if os.isfile(MAME_DIR .. "src/".._target .."/" .. _subtarget ..".flt") then - dependency { + local driverlist = MAME_DIR .. "src/" .. _target .. "/" .. _target .. ".lst" + local driverssrc = GEN_DIR .. _target .. "/" .. _subtarget .. "/drivlist.cpp" + if _OPTIONS["SOURCES"] ~= nil then + dependency { + { driverssrc, driverlist, true }, + } + custombuildtask { { - GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true }, - } - custombuildtask { - { MAME_DIR .. "src/".._target .."/" .. _subtarget ..".flt" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py", MAME_DIR .. "src/".._target .."/" .. _target ..".lst" }, {"@echo Building driver list...", PYTHON .. " $(1) $(2) $(<) > $(@)" }}, - } - else - if os.isfile(MAME_DIR .. "src/".._target .."/" .. _subtarget ..".lst") then - custombuildtask { - { MAME_DIR .. "src/".._target .."/" .. _subtarget ..".lst" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py" }, {"@echo Building driver list...", PYTHON .. " $(1) $(<) > $(@)" }}, + GEN_DIR .. _target .."/" .. _subtarget .. ".flt" , + driverssrc, + { MAME_DIR .. "scripts/build/makedep.py", driverlist }, + { + "@echo Building driver list...", + PYTHON .. " $(1) -r " .. MAME_DIR .. " driverlist $(2) -f $(<) > $(@)" } - else - dependency { + }, + } + elseif _OPTIONS["SOURCEFILTER"] ~= nil then + dependency { + { driverssrc, driverlist, true }, + } + custombuildtask { + { + MAME_DIR .. _OPTIONS["SOURCEFILTER"], + driverssrc, + { MAME_DIR .. "scripts/build/makedep.py", driverlist }, { - GEN_DIR .. _target .. "/" .. _target .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true }, + "@echo Building driver list...", + PYTHON .. " $(1) -r " .. MAME_DIR .. " driverlist $(2) -f $(<) > $(@)" } - custombuildtask { - { MAME_DIR .. "src/".._target .."/" .. _target ..".lst" , GEN_DIR .. _target .. "/" .. _target .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py" }, {"@echo Building driver list...", PYTHON .. " $(1) $(<) > $(@)" }}, + }, + } + elseif os.isfile(MAME_DIR .. "src/" .. _target .."/" .. _subtarget ..".flt") then + dependency { + { driverssrc, driverlist, true }, + } + custombuildtask { + { + MAME_DIR .. "src/" .. _target .. "/" .. _subtarget .. ".flt", + driverssrc, + { MAME_DIR .. "scripts/build/makedep.py", driverlist }, + { + "@echo Building driver list...", + PYTHON .. " $(1) -r " .. MAME_DIR .. " driverlist $(2) -f $(<) > $(@)" } - end - end - end - - if (_OPTIONS["SOURCES"] ~= nil) then - dependency { + }, + } + elseif os.isfile(MAME_DIR .. "src/" .._target .. "/" .. _subtarget ..".lst") then + custombuildtask { { - GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true }, - } - custombuildtask { - { GEN_DIR .. _target .."/" .. _subtarget ..".flt" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py", MAME_DIR .. "src/".._target .."/" .. _target ..".lst" }, {"@echo Building driver list...", PYTHON .. " $(1) $(2) $(<) > $(@)" }}, - } + MAME_DIR .. "src/" .. _target .. "/" .. _subtarget .. ".lst", + driverssrc, + { MAME_DIR .. "scripts/build/makedep.py" }, + { + "@echo Building driver list...", + PYTHON .. " $(1) -r " .. MAME_DIR .. " driverlist $(<) > $(@)" + } + }, + } + else + dependency { + { driverssrc, driverlist, true }, + } + custombuildtask { + { + driverlist, + driverssrc, + { MAME_DIR .. "scripts/build/makedep.py" }, + { + "@echo Building driver list...", + PYTHON .. " $(1) -r " .. MAME_DIR .. " driverlist $(<) > $(@)" + } + }, + } end configuration { "mingw*" } + dependency { + { "$(OBJDIR)/" .. _target .. "_" .. _subtarget .. "_vers.res", rcincfile, true }, + } custombuildtask { - { GEN_DIR .. "version.cpp" , GEN_DIR .. "resource/" .. rctarget .. "vers.rc", { MAME_DIR .. "scripts/build/verinfo.py" }, {"@echo Emitting " .. rctarget .. "vers.rc" .. "...", PYTHON .. " $(1) -r -b " .. rctarget .. " $(<) > $(@)" }}, + { + GEN_DIR .. "version.cpp" , + rcversfile, + { MAME_DIR .. "scripts/build/verinfo.py" }, + { + "@echo Emitting " .. _target .. "_" .. _subtarget .. "_vers.rc" .. "...", + PYTHON .. " $(1) -f rc -t " .. _target .. " -s " .. _subtarget .. " -e " .. exename .. " -r " .. path.getname(rcincfile) .. " -o $(@) $(<)" + } + }, } configuration { "vs20*" } - prebuildcommands { - "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL", - "@echo Emitting ".. rctarget .. "vers.rc...", - PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" , + dependency { + { "$(OBJDIR)/" .. _target .. "_" .. _subtarget .. "_vers.res", rcincfile, true }, } - - configuration { "vsllvm" } prebuildcommands { - "mkdir \"" .. path.translate(GEN_DIR .. "resource/","\\") .. "\" 2>NUL", - "@echo Emitting ".. rctarget .. "vers.rc...", - PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py","\\") .. "\" -r -b " .. rctarget .. " \"" .. path.translate(GEN_DIR .. "version.cpp","\\") .. "\" > \"" .. path.translate(GEN_DIR .. "resource/" .. rctarget .. "vers.rc", "\\") .. "\"" , + "mkdir \"" .. path.translate(GEN_DIR .. "resource/", "\\") .. "\" 2>NUL", + "mkdir \"" .. path.translate(GEN_DIR .. _target .. "/" .. _subtarget .. "/", "\\") .. "\" 2>NUL", + "@echo Emitting " .. _target .. "_" .. _subtarget .. "_vers.rc" .. "...", + PYTHON .. " \"" .. path.translate(MAME_DIR .. "scripts/build/verinfo.py", "\\") .. "\" -f rc -t " .. _target .. " -s " .. _subtarget .. " -e " .. exename .. " -o \"" .. path.translate(rcversfile) .. "\" -r \"" .. path.getname(rcincfile) .. "\" \"" .. path.translate(GEN_DIR .. "version.cpp", "\\") .. "\"", } end diff --git a/scripts/src/mame/frontend.lua b/scripts/src/mame/frontend.lua index b785785416e..749b46a3679 100644 --- a/scripts/src/mame/frontend.lua +++ b/scripts/src/mame/frontend.lua @@ -30,6 +30,7 @@ includedirs { MAME_DIR .. "src/lib", MAME_DIR .. "src/lib/util", MAME_DIR .. "3rdparty", + MAME_DIR .. "3rdparty/sol2", GEN_DIR .. "emu", GEN_DIR .. "emu/layout", } @@ -63,12 +64,19 @@ files { MAME_DIR .. "src/frontend/mame/cheat.h", MAME_DIR .. "src/frontend/mame/clifront.cpp", MAME_DIR .. "src/frontend/mame/clifront.h", - MAME_DIR .. "src/frontend/mame/info.cpp", - MAME_DIR .. "src/frontend/mame/info.h", + MAME_DIR .. "src/frontend/mame/infoxml.cpp", + MAME_DIR .. "src/frontend/mame/infoxml.h", + MAME_DIR .. "src/frontend/mame/iptseqpoll.cpp", + MAME_DIR .. "src/frontend/mame/iptseqpoll.h", MAME_DIR .. "src/frontend/mame/language.cpp", MAME_DIR .. "src/frontend/mame/language.h", MAME_DIR .. "src/frontend/mame/luaengine.cpp", MAME_DIR .. "src/frontend/mame/luaengine.h", + MAME_DIR .. "src/frontend/mame/luaengine.ipp", + MAME_DIR .. "src/frontend/mame/luaengine_debug.cpp", + MAME_DIR .. "src/frontend/mame/luaengine_input.cpp", + MAME_DIR .. "src/frontend/mame/luaengine_mem.cpp", + MAME_DIR .. "src/frontend/mame/luaengine_render.cpp", MAME_DIR .. "src/frontend/mame/mame.cpp", MAME_DIR .. "src/frontend/mame/mame.h", MAME_DIR .. "src/frontend/mame/mameopts.cpp", @@ -77,94 +85,133 @@ files { MAME_DIR .. "src/frontend/mame/media_ident.h", MAME_DIR .. "src/frontend/mame/pluginopts.cpp", MAME_DIR .. "src/frontend/mame/pluginopts.h", - MAME_DIR .. "src/frontend/mame/ui/ui.cpp", - MAME_DIR .. "src/frontend/mame/ui/ui.h", - MAME_DIR .. "src/frontend/mame/ui/text.cpp", - MAME_DIR .. "src/frontend/mame/ui/text.h", - MAME_DIR .. "src/frontend/mame/ui/devctrl.h", - MAME_DIR .. "src/frontend/mame/ui/menu.cpp", - MAME_DIR .. "src/frontend/mame/ui/menu.h", - MAME_DIR .. "src/frontend/mame/ui/submenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/submenu.h", - MAME_DIR .. "src/frontend/mame/ui/mainmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/mainmenu.h", - MAME_DIR .. "src/frontend/mame/ui/miscmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/miscmenu.h", + MAME_DIR .. "src/frontend/mame/ui/about.cpp", + MAME_DIR .. "src/frontend/mame/ui/about.h", + MAME_DIR .. "src/frontend/mame/ui/analogipt.cpp", + MAME_DIR .. "src/frontend/mame/ui/analogipt.cpp", + MAME_DIR .. "src/frontend/mame/ui/audioeffects.cpp", + MAME_DIR .. "src/frontend/mame/ui/audioeffects.h", + MAME_DIR .. "src/frontend/mame/ui/audiomix.cpp", + MAME_DIR .. "src/frontend/mame/ui/audiomix.h", + MAME_DIR .. "src/frontend/mame/ui/audio_effect_eq.cpp", + MAME_DIR .. "src/frontend/mame/ui/audio_effect_eq.h", + MAME_DIR .. "src/frontend/mame/ui/audio_effect_filter.cpp", + MAME_DIR .. "src/frontend/mame/ui/audio_effect_filter.h", + MAME_DIR .. "src/frontend/mame/ui/auditmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/auditmenu.h", MAME_DIR .. "src/frontend/mame/ui/barcode.cpp", MAME_DIR .. "src/frontend/mame/ui/barcode.h", MAME_DIR .. "src/frontend/mame/ui/cheatopt.cpp", MAME_DIR .. "src/frontend/mame/ui/cheatopt.h", - MAME_DIR .. "src/frontend/mame/ui/pluginopt.cpp", - MAME_DIR .. "src/frontend/mame/ui/pluginopt.h", + MAME_DIR .. "src/frontend/mame/ui/confswitch.cpp", + MAME_DIR .. "src/frontend/mame/ui/confswitch.h", + MAME_DIR .. "src/frontend/mame/ui/custui.cpp", + MAME_DIR .. "src/frontend/mame/ui/custui.h", + MAME_DIR .. "src/frontend/mame/ui/datmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/datmenu.h", + MAME_DIR .. "src/frontend/mame/ui/defimg.ipp", + MAME_DIR .. "src/frontend/mame/ui/devctrl.h", MAME_DIR .. "src/frontend/mame/ui/devopt.cpp", MAME_DIR .. "src/frontend/mame/ui/devopt.h", + MAME_DIR .. "src/frontend/mame/ui/dirmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/dirmenu.h", + MAME_DIR .. "src/frontend/mame/ui/filecreate.cpp", + MAME_DIR .. "src/frontend/mame/ui/filecreate.h", MAME_DIR .. "src/frontend/mame/ui/filemngr.cpp", MAME_DIR .. "src/frontend/mame/ui/filemngr.h", MAME_DIR .. "src/frontend/mame/ui/filesel.cpp", MAME_DIR .. "src/frontend/mame/ui/filesel.h", - MAME_DIR .. "src/frontend/mame/ui/filecreate.cpp", - MAME_DIR .. "src/frontend/mame/ui/filecreate.h", MAME_DIR .. "src/frontend/mame/ui/floppycntrl.cpp", MAME_DIR .. "src/frontend/mame/ui/floppycntrl.h", + MAME_DIR .. "src/frontend/mame/ui/icorender.cpp", + MAME_DIR .. "src/frontend/mame/ui/icorender.h", MAME_DIR .. "src/frontend/mame/ui/imgcntrl.cpp", MAME_DIR .. "src/frontend/mame/ui/imgcntrl.h", MAME_DIR .. "src/frontend/mame/ui/info.cpp", MAME_DIR .. "src/frontend/mame/ui/info.h", MAME_DIR .. "src/frontend/mame/ui/info_pty.cpp", MAME_DIR .. "src/frontend/mame/ui/info_pty.h", - MAME_DIR .. "src/frontend/mame/ui/inputmap.cpp", - MAME_DIR .. "src/frontend/mame/ui/inputmap.h", - MAME_DIR .. "src/frontend/mame/ui/selmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/selmenu.h", - MAME_DIR .. "src/frontend/mame/ui/sliders.cpp", - MAME_DIR .. "src/frontend/mame/ui/sliders.h", - MAME_DIR .. "src/frontend/mame/ui/slotopt.cpp", - MAME_DIR .. "src/frontend/mame/ui/slotopt.h", - MAME_DIR .. "src/frontend/mame/ui/swlist.cpp", - MAME_DIR .. "src/frontend/mame/ui/swlist.h", - MAME_DIR .. "src/frontend/mame/ui/tapectrl.cpp", - MAME_DIR .. "src/frontend/mame/ui/tapectrl.h", - MAME_DIR .. "src/frontend/mame/ui/videoopt.cpp", - MAME_DIR .. "src/frontend/mame/ui/videoopt.h", - MAME_DIR .. "src/frontend/mame/ui/viewgfx.cpp", - MAME_DIR .. "src/frontend/mame/ui/viewgfx.h", - MAME_DIR .. "src/frontend/mame/ui/auditmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/auditmenu.h", - MAME_DIR .. "src/frontend/mame/ui/custui.cpp", - MAME_DIR .. "src/frontend/mame/ui/custui.h", - MAME_DIR .. "src/frontend/mame/ui/datmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/datmenu.h", - MAME_DIR .. "src/frontend/mame/ui/defimg.ipp", - MAME_DIR .. "src/frontend/mame/ui/dirmenu.cpp", - MAME_DIR .. "src/frontend/mame/ui/dirmenu.h", - MAME_DIR .. "src/frontend/mame/ui/icorender.cpp", - MAME_DIR .. "src/frontend/mame/ui/icorender.h", MAME_DIR .. "src/frontend/mame/ui/inifile.cpp", MAME_DIR .. "src/frontend/mame/ui/inifile.h", + MAME_DIR .. "src/frontend/mame/ui/inputdevices.cpp", + MAME_DIR .. "src/frontend/mame/ui/inputdevices.h", + MAME_DIR .. "src/frontend/mame/ui/inputmap.cpp", + MAME_DIR .. "src/frontend/mame/ui/inputmap.h", + MAME_DIR .. "src/frontend/mame/ui/inputopts.cpp", + MAME_DIR .. "src/frontend/mame/ui/inputopts.h", + MAME_DIR .. "src/frontend/mame/ui/inputtoggle.cpp", + MAME_DIR .. "src/frontend/mame/ui/inputtoggle.h", + MAME_DIR .. "src/frontend/mame/ui/keyboard.cpp", + MAME_DIR .. "src/frontend/mame/ui/keyboard.h", + MAME_DIR .. "src/frontend/mame/ui/mainmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/mainmenu.h", + MAME_DIR .. "src/frontend/mame/ui/menu.cpp", + MAME_DIR .. "src/frontend/mame/ui/menu.h", + MAME_DIR .. "src/frontend/mame/ui/midiinout.cpp", + MAME_DIR .. "src/frontend/mame/ui/midiinout.h", + MAME_DIR .. "src/frontend/mame/ui/miscmenu.cpp", MAME_DIR .. "src/frontend/mame/ui/miscmenu.cpp", MAME_DIR .. "src/frontend/mame/ui/miscmenu.h", + MAME_DIR .. "src/frontend/mame/ui/miscmenu.h", MAME_DIR .. "src/frontend/mame/ui/moptions.cpp", MAME_DIR .. "src/frontend/mame/ui/moptions.h", MAME_DIR .. "src/frontend/mame/ui/optsmenu.cpp", MAME_DIR .. "src/frontend/mame/ui/optsmenu.h", + MAME_DIR .. "src/frontend/mame/ui/pluginopt.cpp", + MAME_DIR .. "src/frontend/mame/ui/pluginopt.h", + MAME_DIR .. "src/frontend/mame/ui/prscntrl.cpp", + MAME_DIR .. "src/frontend/mame/ui/prscntrl.h", + MAME_DIR .. "src/frontend/mame/ui/quitmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/quitmenu.h", MAME_DIR .. "src/frontend/mame/ui/selector.cpp", MAME_DIR .. "src/frontend/mame/ui/selector.h", MAME_DIR .. "src/frontend/mame/ui/selgame.cpp", MAME_DIR .. "src/frontend/mame/ui/selgame.h", - MAME_DIR .. "src/frontend/mame/ui/simpleselgame.cpp", - MAME_DIR .. "src/frontend/mame/ui/simpleselgame.h", + MAME_DIR .. "src/frontend/mame/ui/selmenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/selmenu.h", MAME_DIR .. "src/frontend/mame/ui/selsoft.cpp", MAME_DIR .. "src/frontend/mame/ui/selsoft.h", + MAME_DIR .. "src/frontend/mame/ui/simpleselgame.cpp", + MAME_DIR .. "src/frontend/mame/ui/simpleselgame.h", + MAME_DIR .. "src/frontend/mame/ui/sliders.cpp", + MAME_DIR .. "src/frontend/mame/ui/sliders.h", + MAME_DIR .. "src/frontend/mame/ui/slotopt.cpp", + MAME_DIR .. "src/frontend/mame/ui/slotopt.h", MAME_DIR .. "src/frontend/mame/ui/sndmenu.cpp", MAME_DIR .. "src/frontend/mame/ui/sndmenu.h", - MAME_DIR .. "src/frontend/mame/ui/starimg.ipp", MAME_DIR .. "src/frontend/mame/ui/state.cpp", MAME_DIR .. "src/frontend/mame/ui/state.h", + MAME_DIR .. "src/frontend/mame/ui/submenu.cpp", + MAME_DIR .. "src/frontend/mame/ui/submenu.h", + MAME_DIR .. "src/frontend/mame/ui/swlist.cpp", + MAME_DIR .. "src/frontend/mame/ui/swlist.h", + MAME_DIR .. "src/frontend/mame/ui/systemlist.cpp", + MAME_DIR .. "src/frontend/mame/ui/systemlist.h", + MAME_DIR .. "src/frontend/mame/ui/tapectrl.cpp", + MAME_DIR .. "src/frontend/mame/ui/tapectrl.h", + MAME_DIR .. "src/frontend/mame/ui/text.cpp", + MAME_DIR .. "src/frontend/mame/ui/text.h", + MAME_DIR .. "src/frontend/mame/ui/textbox.cpp", + MAME_DIR .. "src/frontend/mame/ui/textbox.h", MAME_DIR .. "src/frontend/mame/ui/toolbar.ipp", + MAME_DIR .. "src/frontend/mame/ui/ui.cpp", + MAME_DIR .. "src/frontend/mame/ui/ui.h", MAME_DIR .. "src/frontend/mame/ui/utils.cpp", MAME_DIR .. "src/frontend/mame/ui/utils.h", + MAME_DIR .. "src/frontend/mame/ui/videoopt.cpp", + MAME_DIR .. "src/frontend/mame/ui/videoopt.h", + MAME_DIR .. "src/frontend/mame/ui/viewgfx.cpp", + MAME_DIR .. "src/frontend/mame/ui/viewgfx.h", MAME_DIR .. "src/frontend/mame/ui/widgets.cpp", MAME_DIR .. "src/frontend/mame/ui/widgets.h", } pchsource(MAME_DIR .. "src/frontend/mame/audit.cpp") + +dependency { + { MAME_DIR .. "src/frontend/mame/ui/about.cpp", GEN_DIR .. "emu/copying.ipp" }, +} + +custombuildtask { + { MAME_DIR .. "COPYING", GEN_DIR .. "emu/copying.ipp", { MAME_DIR .. "scripts/build/file2lines.py" }, { "@echo Converting COPYING...", PYTHON .. " $(1) $(<) $(@) copying_text" } }, +} diff --git a/scripts/src/netlist.lua b/scripts/src/netlist.lua index 973e9fb2ffc..9c70cacebd7 100644 --- a/scripts/src/netlist.lua +++ b/scripts/src/netlist.lua @@ -13,26 +13,27 @@ project "netlist" uuid "665ef8ac-2a4c-4c3e-a05f-fd1e5db11de9" kind (LIBTYPE) - if _OPTIONS["targetos"]=="windows" then - configuration { "mingw* or vs*" } - defines { - "UNICODE", - "_UNICODE", - "_WIN32_WINNT=0x0501", - "WIN32_LEAN_AND_MEAN", - "NOMINMAX", - } - end + if _OPTIONS["targetos"]=="windows" then + configuration { "mingw* or vs*" } + defines { + "UNICODE", + "_UNICODE", + "_WIN32_WINNT=0x0501", + "WIN32_LEAN_AND_MEAN", + "NOMINMAX", + } + end addprojectflags() defines { "__STDC_CONSTANT_MACROS", + "NL_USE_ACADEMIC_SOLVERS=0", } includedirs { - MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/netlist", + -- MAME_DIR .. "src/lib", + MAME_DIR .. "src/lib/netlist", } files { @@ -43,16 +44,35 @@ project "netlist" MAME_DIR .. "src/lib/netlist/nl_dice_compat.h", MAME_DIR .. "src/lib/netlist/nl_factory.cpp", MAME_DIR .. "src/lib/netlist/nl_factory.h", - MAME_DIR .. "src/lib/netlist/nl_lists.h", + MAME_DIR .. "src/lib/netlist/nl_interface.h", MAME_DIR .. "src/lib/netlist/nl_parser.cpp", MAME_DIR .. "src/lib/netlist/nl_parser.h", MAME_DIR .. "src/lib/netlist/nl_setup.cpp", MAME_DIR .. "src/lib/netlist/nl_setup.h", - MAME_DIR .. "src/lib/netlist/nl_types.h", + MAME_DIR .. "src/lib/netlist/nltypes.h", + MAME_DIR .. "src/lib/netlist/core/analog.h", + MAME_DIR .. "src/lib/netlist/core/base_objects.h", + MAME_DIR .. "src/lib/netlist/core/core_device.h", + MAME_DIR .. "src/lib/netlist/core/device.h", + MAME_DIR .. "src/lib/netlist/core/device_macros.h", + MAME_DIR .. "src/lib/netlist/core/devices.h", + MAME_DIR .. "src/lib/netlist/core/exec.h", + MAME_DIR .. "src/lib/netlist/core/logic_family.h", + MAME_DIR .. "src/lib/netlist/core/logic.h", + MAME_DIR .. "src/lib/netlist/core/netlist_state.h", + MAME_DIR .. "src/lib/netlist/core/nets.h", + MAME_DIR .. "src/lib/netlist/core/object_array.h", + MAME_DIR .. "src/lib/netlist/core/param.h", + MAME_DIR .. "src/lib/netlist/core/queue.h", + MAME_DIR .. "src/lib/netlist/core/setup.h", + MAME_DIR .. "src/lib/netlist/core/state_var.h", + MAME_DIR .. "src/lib/netlist/plib/gmres.h", MAME_DIR .. "src/lib/netlist/plib/pconfig.h", MAME_DIR .. "src/lib/netlist/plib/palloc.h", - MAME_DIR .. "src/lib/netlist/plib/pchrono.cpp", + MAME_DIR .. "src/lib/netlist/plib/parray.h", MAME_DIR .. "src/lib/netlist/plib/pchrono.h", + MAME_DIR .. "src/lib/netlist/plib/pgsl.h", + MAME_DIR .. "src/lib/netlist/plib/penum.h", MAME_DIR .. "src/lib/netlist/plib/pexception.cpp", MAME_DIR .. "src/lib/netlist/plib/pexception.h", MAME_DIR .. "src/lib/netlist/plib/pfunction.cpp", @@ -64,167 +84,143 @@ project "netlist" MAME_DIR .. "src/lib/netlist/plib/pdynlib.h", MAME_DIR .. "src/lib/netlist/plib/pmain.cpp", MAME_DIR .. "src/lib/netlist/plib/pmain.h", + MAME_DIR .. "src/lib/netlist/plib/pmath.h", + MAME_DIR .. "src/lib/netlist/plib/pmatrix2d.h", + MAME_DIR .. "src/lib/netlist/plib/pmatrix_cr.h", MAME_DIR .. "src/lib/netlist/plib/pmempool.h", + MAME_DIR .. "src/lib/netlist/plib/pmulti_threading.h", MAME_DIR .. "src/lib/netlist/plib/pomp.h", MAME_DIR .. "src/lib/netlist/plib/poptions.cpp", MAME_DIR .. "src/lib/netlist/plib/poptions.h", - MAME_DIR .. "src/lib/netlist/plib/pparser.cpp", - MAME_DIR .. "src/lib/netlist/plib/pparser.h", + MAME_DIR .. "src/lib/netlist/plib/ppmf.cpp", MAME_DIR .. "src/lib/netlist/plib/ppmf.h", - MAME_DIR .. "src/lib/netlist/plib/pstate.cpp", + MAME_DIR .. "src/lib/netlist/plib/ppreprocessor.cpp", + MAME_DIR .. "src/lib/netlist/plib/ppreprocessor.h", + MAME_DIR .. "src/lib/netlist/plib/prandom.h", + MAME_DIR .. "src/lib/netlist/plib/psource.h", MAME_DIR .. "src/lib/netlist/plib/pstate.h", + MAME_DIR .. "src/lib/netlist/plib/pstonum.h", MAME_DIR .. "src/lib/netlist/plib/pstring.cpp", MAME_DIR .. "src/lib/netlist/plib/pstring.h", - MAME_DIR .. "src/lib/netlist/plib/pstream.cpp", + MAME_DIR .. "src/lib/netlist/plib/pstrutil.h", MAME_DIR .. "src/lib/netlist/plib/pstream.h", - MAME_DIR .. "src/lib/netlist/plib/ptime.h", + MAME_DIR .. "src/lib/netlist/plib/ptests.h", + MAME_DIR .. "src/lib/netlist/plib/ptime.h", + MAME_DIR .. "src/lib/netlist/plib/ptimed_queue.h", + MAME_DIR .. "src/lib/netlist/plib/ptokenizer.cpp", + MAME_DIR .. "src/lib/netlist/plib/ptokenizer.h", MAME_DIR .. "src/lib/netlist/plib/ptypes.h", MAME_DIR .. "src/lib/netlist/plib/putil.cpp", MAME_DIR .. "src/lib/netlist/plib/putil.h", + MAME_DIR .. "src/lib/netlist/plib/vector_ops.h", MAME_DIR .. "src/lib/netlist/tools/nl_convert.cpp", MAME_DIR .. "src/lib/netlist/tools/nl_convert.h", MAME_DIR .. "src/lib/netlist/analog/nld_bjt.cpp", - MAME_DIR .. "src/lib/netlist/analog/nld_bjt.h", - MAME_DIR .. "src/lib/netlist/analog/nld_generic_models.h", - MAME_DIR .. "src/lib/netlist/analog/nld_mosfet.cpp", - MAME_DIR .. "src/lib/netlist/analog/nld_mosfet.h", + MAME_DIR .. "src/lib/netlist/analog/nld_generic_models.h", + MAME_DIR .. "src/lib/netlist/analog/nld_mosfet.cpp", MAME_DIR .. "src/lib/netlist/analog/nlid_fourterm.cpp", MAME_DIR .. "src/lib/netlist/analog/nlid_fourterm.h", - MAME_DIR .. "src/lib/netlist/analog/nld_fourterm.h", MAME_DIR .. "src/lib/netlist/analog/nld_switches.cpp", - MAME_DIR .. "src/lib/netlist/analog/nld_switches.h", MAME_DIR .. "src/lib/netlist/analog/nlid_twoterm.cpp", MAME_DIR .. "src/lib/netlist/analog/nlid_twoterm.h", - MAME_DIR .. "src/lib/netlist/analog/nld_twoterm.h", MAME_DIR .. "src/lib/netlist/analog/nld_opamps.cpp", - MAME_DIR .. "src/lib/netlist/analog/nld_opamps.h", MAME_DIR .. "src/lib/netlist/solver/nld_solver.cpp", MAME_DIR .. "src/lib/netlist/solver/nld_solver.h", MAME_DIR .. "src/lib/netlist/solver/nld_matrix_solver.cpp", + MAME_DIR .. "src/lib/netlist/solver/nld_matrix_solver_ext.h", MAME_DIR .. "src/lib/netlist/solver/nld_matrix_solver.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct1.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct2.h", + MAME_DIR .. "src/lib/netlist/solver/nld_ms_gcr.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_sor_mat.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_gmres.h", - MAME_DIR .. "src/lib/netlist/solver/mat_cr.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_sm.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_w.h", MAME_DIR .. "src/lib/netlist/solver/nld_ms_direct_lu.h", - MAME_DIR .. "src/lib/netlist/solver/vector_base.h", - MAME_DIR .. "src/lib/netlist/devices/nld_2102A.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_2102A.h", - MAME_DIR .. "src/lib/netlist/devices/nld_2716.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_2716.h", + MAME_DIR .. "src/lib/netlist/devices/net_lib.cpp", + MAME_DIR .. "src/lib/netlist/devices/net_lib.h", + MAME_DIR .. "src/lib/netlist/devices/nld_9316_base.hxx", + MAME_DIR .. "src/lib/netlist/devices/nld_2102a.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_tms4800.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_tms4800.h", + MAME_DIR .. "src/lib/netlist/devices/nld_4006.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_4013.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_4017.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_4020.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_4020.h", + MAME_DIR .. "src/lib/netlist/devices/nld_4029.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_4042.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_4053.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_4066.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_4066.h", + MAME_DIR .. "src/lib/netlist/devices/nld_4076.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_4316.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_4316.h", MAME_DIR .. "src/lib/netlist/devices/nld_7448.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7448.h", MAME_DIR .. "src/lib/netlist/devices/nld_7450.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7450.h", MAME_DIR .. "src/lib/netlist/devices/nld_7473.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7473.h", MAME_DIR .. "src/lib/netlist/devices/nld_7474.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7474.h", MAME_DIR .. "src/lib/netlist/devices/nld_7475.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7475.h", MAME_DIR .. "src/lib/netlist/devices/nld_7483.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7483.h", MAME_DIR .. "src/lib/netlist/devices/nld_7485.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7485.h", MAME_DIR .. "src/lib/netlist/devices/nld_7490.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7490.h", + MAME_DIR .. "src/lib/netlist/devices/nld_7492.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_7493.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7493.h", MAME_DIR .. "src/lib/netlist/devices/nld_7497.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_7497.h", MAME_DIR .. "src/lib/netlist/devices/nld_74107.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74107.h", + MAME_DIR .. "src/lib/netlist/devices/nld_74113.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_74123.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74123.h", + MAME_DIR .. "src/lib/netlist/devices/nld_74125.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_74153.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74153.h", MAME_DIR .. "src/lib/netlist/devices/nld_74161.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74161.h", + MAME_DIR .. "src/lib/netlist/devices/nld_74163.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_74164.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74164.h", MAME_DIR .. "src/lib/netlist/devices/nld_74165.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74165.h", MAME_DIR .. "src/lib/netlist/devices/nld_74166.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74166.h", MAME_DIR .. "src/lib/netlist/devices/nld_74174.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74174.h", MAME_DIR .. "src/lib/netlist/devices/nld_74175.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74175.h", MAME_DIR .. "src/lib/netlist/devices/nld_74192.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74192.h", MAME_DIR .. "src/lib/netlist/devices/nld_74193.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74193.h", MAME_DIR .. "src/lib/netlist/devices/nld_74194.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74194.h", + MAME_DIR .. "src/lib/netlist/devices/nld_74377.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_74393.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_74365.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74365.h", MAME_DIR .. "src/lib/netlist/devices/nld_74ls629.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_74ls629.h", - MAME_DIR .. "src/lib/netlist/devices/nld_82S16.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_82S16.h", - MAME_DIR .. "src/lib/netlist/devices/nld_82S115.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_82S115.h", - MAME_DIR .. "src/lib/netlist/devices/nld_82S123.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_82S123.h", - MAME_DIR .. "src/lib/netlist/devices/nld_82S126.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_82S126.h", + MAME_DIR .. "src/lib/netlist/devices/nld_82s16.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_82s115.cpp", + MAME_DIR .. "src/lib/netlist/devices/nld_8277.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_9310.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_9310.h", MAME_DIR .. "src/lib/netlist/devices/nld_9316.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_9316.h", + MAME_DIR .. "src/lib/netlist/devices/nld_9321.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_9322.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_9322.h", MAME_DIR .. "src/lib/netlist/devices/nld_am2847.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_am2847.h", MAME_DIR .. "src/lib/netlist/devices/nld_dm9314.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_dm9314.h", MAME_DIR .. "src/lib/netlist/devices/nld_dm9334.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_dm9334.h", MAME_DIR .. "src/lib/netlist/devices/nld_ne555.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_ne555.h", MAME_DIR .. "src/lib/netlist/devices/nld_mm5837.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_mm5837.h", MAME_DIR .. "src/lib/netlist/devices/nld_r2r_dac.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_r2r_dac.h", MAME_DIR .. "src/lib/netlist/devices/nld_tristate.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_tristate.h", MAME_DIR .. "src/lib/netlist/devices/nld_schmitt.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_schmitt.h", MAME_DIR .. "src/lib/netlist/devices/nld_legacy.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_legacy.h", - MAME_DIR .. "src/lib/netlist/devices/net_lib.cpp", - MAME_DIR .. "src/lib/netlist/devices/net_lib.h", MAME_DIR .. "src/lib/netlist/devices/nld_log.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_log.h", + MAME_DIR .. "src/lib/netlist/devices/nld_roms.cpp", MAME_DIR .. "src/lib/netlist/devices/nld_system.cpp", - MAME_DIR .. "src/lib/netlist/devices/nld_system.h", MAME_DIR .. "src/lib/netlist/devices/nlid_truthtable.cpp", MAME_DIR .. "src/lib/netlist/devices/nlid_truthtable.h", - MAME_DIR .. "src/lib/netlist/devices/nlid_cmos.h", MAME_DIR .. "src/lib/netlist/devices/nlid_system.h", MAME_DIR .. "src/lib/netlist/devices/nlid_proxy.cpp", MAME_DIR .. "src/lib/netlist/devices/nlid_proxy.h", - MAME_DIR .. "src/lib/netlist/macro/nlm_base.cpp", - MAME_DIR .. "src/lib/netlist/macro/nlm_base.h", - MAME_DIR .. "src/lib/netlist/macro/nlm_ttl74xx.cpp", - MAME_DIR .. "src/lib/netlist/macro/nlm_ttl74xx.h", - MAME_DIR .. "src/lib/netlist/macro/nlm_cd4xxx.cpp", - MAME_DIR .. "src/lib/netlist/macro/nlm_cd4xxx.h", - MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.cpp", - MAME_DIR .. "src/lib/netlist/macro/nlm_opamp.h", - MAME_DIR .. "src/lib/netlist/macro/nlm_other.cpp", - MAME_DIR .. "src/lib/netlist/macro/nlm_other.h", -} + MAME_DIR .. "src/lib/netlist/macro/nlm_base_lib.cpp", + MAME_DIR .. "src/lib/netlist/macro/nlm_ttl74xx_lib.cpp", + MAME_DIR .. "src/lib/netlist/macro/nlm_cd4xxx_lib.cpp", + MAME_DIR .. "src/lib/netlist/macro/nlm_opamp_lib.cpp", + MAME_DIR .. "src/lib/netlist/macro/nlm_otheric_lib.cpp", + MAME_DIR .. "src/lib/netlist/macro/nlm_roms_lib.cpp", + + MAME_DIR .. "src/lib/netlist/macro/modules/nlmod_rtest.cpp", + MAME_DIR .. "src/lib/netlist/macro/modules/nlmod_ne556_dip.cpp", + MAME_DIR .. "src/lib/netlist/macro/modules/nlmod_icl8038_dip.cpp", + + MAME_DIR .. "src/lib/netlist/generated/static_solvers.cpp", + MAME_DIR .. "src/lib/netlist/generated/nld_devinc.h", + MAME_DIR .. "src/lib/netlist/generated/lib_entries.hxx", + MAME_DIR .. "src/lib/netlist/generated/nlm_modules_lib.cpp", + } diff --git a/scripts/src/osd/mac.lua b/scripts/src/osd/mac.lua index 1110dbda9f1..f72c8605365 100644 --- a/scripts/src/osd/mac.lua +++ b/scripts/src/osd/mac.lua @@ -23,6 +23,7 @@ BASE_TARGETOS = "unix" local os_version = str_to_version(backtick("sw_vers -productVersion")) links { "Cocoa.framework", + "IOKit.framework" } linkoptions { "-framework QuartzCore", @@ -102,12 +103,16 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.h", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.mm", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.h", + MAME_DIR .. "src/osd/modules/debugger/osx/exceptionpointsview.mm", + MAME_DIR .. "src/osd/modules/debugger/osx/exceptionpointsview.h", MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.mm", MAME_DIR .. "src/osd/modules/debugger/osx/memoryview.h", MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.mm", MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.h", MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.mm", MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.h", + MAME_DIR .. "src/osd/modules/debugger/osx/registerpointsview.mm", + MAME_DIR .. "src/osd/modules/debugger/osx/registerpointsview.h", MAME_DIR .. "src/osd/modules/debugger/osx/registersview.mm", MAME_DIR .. "src/osd/modules/debugger/osx/registersview.h", MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.mm", @@ -156,6 +161,7 @@ project ("ocore_" .. _OPTIONS["osd"]) files { MAME_DIR .. "src/osd/osdcore.cpp", MAME_DIR .. "src/osd/osdcore.h", + MAME_DIR .. "src/osd/osdfile.h", MAME_DIR .. "src/osd/strconv.cpp", MAME_DIR .. "src/osd/strconv.h", MAME_DIR .. "src/osd/osdsync.cpp", @@ -165,7 +171,6 @@ project ("ocore_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/lib/osdlib_macosx.cpp", MAME_DIR .. "src/osd/modules/lib/osdlib.h", MAME_DIR .. "src/osd/modules/file/posixdir.cpp", - MAME_DIR .. "src/osd/modules/file/posixdomain.cpp", MAME_DIR .. "src/osd/modules/file/posixfile.cpp", MAME_DIR .. "src/osd/modules/file/posixfile.h", MAME_DIR .. "src/osd/modules/file/posixptty.cpp", diff --git a/scripts/src/osd/mac_cfg.lua b/scripts/src/osd/mac_cfg.lua index 76f0ac4ac1b..e75c8d009a2 100644 --- a/scripts/src/osd/mac_cfg.lua +++ b/scripts/src/osd/mac_cfg.lua @@ -7,11 +7,20 @@ forcedincludes { -- MAME_DIR .. "src/osd/sdl/sdlprefix.h" } -if not _OPTIONS["DONT_USE_NETWORK"] then +if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]=="1" then defines { "USE_NETWORK", - "OSD_NET_USE_PCAP", } + if _OPTIONS["USE_TAPTUN"]=="1" then + defines { + "OSD_NET_USE_TAPTUN", + } + end + if _OPTIONS["USE_PCAP"]=="1" then + defines { + "OSD_NET_USE_PCAP", + } + end end defines { diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua index 4675139f87a..b532124302f 100644 --- a/scripts/src/osd/modules.lua +++ b/scripts/src/osd/modules.lua @@ -16,7 +16,7 @@ end function addlibfromstring(str) if (str==nil) then return end for w in str:gmatch("%S+") do - if string.starts(w,"-l")==true then + if string.starts(w,"-l") then links { string.sub(w,3) } @@ -27,7 +27,7 @@ end function addoptionsfromstring(str) if (str==nil) then return end for w in str:gmatch("%S+") do - if string.starts(w,"-l")==false then + if not string.starts(w,"-l") then linkoptions { w } @@ -50,78 +50,108 @@ function osdmodulesbuild() } files { - MAME_DIR .. "src/osd/osdnet.cpp", - MAME_DIR .. "src/osd/osdnet.h", MAME_DIR .. "src/osd/watchdog.cpp", MAME_DIR .. "src/osd/watchdog.h", + MAME_DIR .. "src/osd/interface/audio.h", + MAME_DIR .. "src/osd/interface/inputcode.h", + MAME_DIR .. "src/osd/interface/inputdev.h", + MAME_DIR .. "src/osd/interface/inputfwd.h", + MAME_DIR .. "src/osd/interface/inputman.h", + MAME_DIR .. "src/osd/interface/inputseq.cpp", + MAME_DIR .. "src/osd/interface/inputseq.h", + MAME_DIR .. "src/osd/interface/midiport.h", + MAME_DIR .. "src/osd/interface/nethandler.cpp", + MAME_DIR .. "src/osd/interface/nethandler.h", + MAME_DIR .. "src/osd/interface/uievents.h", MAME_DIR .. "src/osd/modules/debugger/debug_module.h", - MAME_DIR .. "src/osd/modules/font/font_module.h", - MAME_DIR .. "src/osd/modules/midi/midi_module.h", - MAME_DIR .. "src/osd/modules/netdev/netdev_module.h", - MAME_DIR .. "src/osd/modules/sound/sound_module.h", + MAME_DIR .. "src/osd/modules/debugger/debuggdbstub.cpp", + MAME_DIR .. "src/osd/modules/debugger/debugimgui.cpp", + MAME_DIR .. "src/osd/modules/debugger/debugwin.cpp", + MAME_DIR .. "src/osd/modules/debugger/none.cpp", + MAME_DIR .. "src/osd/modules/debugger/xmlconfig.cpp", + MAME_DIR .. "src/osd/modules/debugger/xmlconfig.h", MAME_DIR .. "src/osd/modules/diagnostics/diagnostics_module.h", - MAME_DIR .. "src/osd/modules/monitor/monitor_module.h", - MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp", - MAME_DIR .. "src/osd/modules/lib/osdobj_common.h", - MAME_DIR .. "src/osd/modules/diagnostics/none.cpp", MAME_DIR .. "src/osd/modules/diagnostics/diagnostics_win32.cpp", - MAME_DIR .. "src/osd/modules/debugger/none.cpp", - MAME_DIR .. "src/osd/modules/debugger/debugwin.cpp", - MAME_DIR .. "src/osd/modules/debugger/debugimgui.cpp", - MAME_DIR .. "src/osd/modules/debugger/debuggdbstub.cpp", - MAME_DIR .. "src/osd/modules/font/font_sdl.cpp", - MAME_DIR .. "src/osd/modules/font/font_windows.cpp", + MAME_DIR .. "src/osd/modules/diagnostics/none.cpp", MAME_DIR .. "src/osd/modules/font/font_dwrite.cpp", - MAME_DIR .. "src/osd/modules/font/font_osx.cpp", + MAME_DIR .. "src/osd/modules/font/font_module.h", MAME_DIR .. "src/osd/modules/font/font_none.cpp", - MAME_DIR .. "src/osd/modules/netdev/taptun.cpp", - MAME_DIR .. "src/osd/modules/netdev/pcap.cpp", - MAME_DIR .. "src/osd/modules/netdev/none.cpp", - MAME_DIR .. "src/osd/modules/midi/portmidi.cpp", - MAME_DIR .. "src/osd/modules/midi/none.cpp", - MAME_DIR .. "src/osd/modules/sound/js_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/pa_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp", - MAME_DIR .. "src/osd/modules/sound/none.cpp", - MAME_DIR .. "src/osd/modules/input/input_module.h", + MAME_DIR .. "src/osd/modules/font/font_osx.cpp", + MAME_DIR .. "src/osd/modules/font/font_sdl.cpp", + MAME_DIR .. "src/osd/modules/font/font_windows.cpp", + MAME_DIR .. "src/osd/modules/input/assignmenthelper.cpp", + MAME_DIR .. "src/osd/modules/input/assignmenthelper.h", MAME_DIR .. "src/osd/modules/input/input_common.cpp", MAME_DIR .. "src/osd/modules/input/input_common.h", MAME_DIR .. "src/osd/modules/input/input_dinput.cpp", MAME_DIR .. "src/osd/modules/input/input_dinput.h", + MAME_DIR .. "src/osd/modules/input/input_mac.cpp", + MAME_DIR .. "src/osd/modules/input/input_module.h", MAME_DIR .. "src/osd/modules/input/input_none.cpp", MAME_DIR .. "src/osd/modules/input/input_rawinput.cpp", - MAME_DIR .. "src/osd/modules/input/input_win32.cpp", MAME_DIR .. "src/osd/modules/input/input_sdl.cpp", - MAME_DIR .. "src/osd/modules/input/input_sdlcommon.cpp", - MAME_DIR .. "src/osd/modules/input/input_sdlcommon.h", - MAME_DIR .. "src/osd/modules/input/input_x11.cpp", + MAME_DIR .. "src/osd/modules/input/input_win32.cpp", + MAME_DIR .. "src/osd/modules/input/input_wincommon.h", MAME_DIR .. "src/osd/modules/input/input_windows.cpp", MAME_DIR .. "src/osd/modules/input/input_windows.h", + MAME_DIR .. "src/osd/modules/input/input_winhybrid.cpp", + MAME_DIR .. "src/osd/modules/input/input_x11.cpp", MAME_DIR .. "src/osd/modules/input/input_xinput.cpp", MAME_DIR .. "src/osd/modules/input/input_xinput.h", - MAME_DIR .. "src/osd/modules/input/input_winhybrid.cpp", - MAME_DIR .. "src/osd/modules/input/input_uwp.cpp", - MAME_DIR .. "src/osd/modules/input/input_mac.cpp", - MAME_DIR .. "src/osd/modules/output/output_module.h", - MAME_DIR .. "src/osd/modules/output/none.cpp", + MAME_DIR .. "src/osd/modules/lib/osdobj_common.cpp", + MAME_DIR .. "src/osd/modules/lib/osdobj_common.h", + MAME_DIR .. "src/osd/modules/midi/midi_module.h", + MAME_DIR .. "src/osd/modules/midi/none.cpp", + MAME_DIR .. "src/osd/modules/midi/portmidi.cpp", + MAME_DIR .. "src/osd/modules/monitor/monitor_common.cpp", + MAME_DIR .. "src/osd/modules/monitor/monitor_common.h", + MAME_DIR .. "src/osd/modules/monitor/monitor_dxgi.cpp", + MAME_DIR .. "src/osd/modules/monitor/monitor_mac.cpp", + MAME_DIR .. "src/osd/modules/monitor/monitor_module.h", + MAME_DIR .. "src/osd/modules/monitor/monitor_sdl.cpp", + MAME_DIR .. "src/osd/modules/monitor/monitor_win32.cpp", + MAME_DIR .. "src/osd/modules/netdev/netdev_common.cpp", + MAME_DIR .. "src/osd/modules/netdev/netdev_common.h", + MAME_DIR .. "src/osd/modules/netdev/netdev_module.h", + MAME_DIR .. "src/osd/modules/netdev/none.cpp", + MAME_DIR .. "src/osd/modules/netdev/pcap.cpp", + MAME_DIR .. "src/osd/modules/netdev/taptun.cpp", MAME_DIR .. "src/osd/modules/output/console.cpp", MAME_DIR .. "src/osd/modules/output/network.cpp", + MAME_DIR .. "src/osd/modules/output/none.cpp", + MAME_DIR .. "src/osd/modules/output/output_module.h", MAME_DIR .. "src/osd/modules/output/win32_output.cpp", MAME_DIR .. "src/osd/modules/output/win32_output.h", - MAME_DIR .. "src/osd/modules/monitor/monitor_common.h", - MAME_DIR .. "src/osd/modules/monitor/monitor_common.cpp", - MAME_DIR .. "src/osd/modules/monitor/monitor_win32.cpp", - MAME_DIR .. "src/osd/modules/monitor/monitor_dxgi.cpp", - MAME_DIR .. "src/osd/modules/monitor/monitor_sdl.cpp", - MAME_DIR .. "src/osd/modules/monitor/monitor_mac.cpp", + MAME_DIR .. "src/osd/modules/render/blit13.ipp", + MAME_DIR .. "src/osd/modules/render/draw13.cpp", + MAME_DIR .. "src/osd/modules/render/drawgdi.cpp", + MAME_DIR .. "src/osd/modules/render/drawnone.cpp", + MAME_DIR .. "src/osd/modules/render/drawogl.cpp", + MAME_DIR .. "src/osd/modules/render/drawsdl.cpp", + MAME_DIR .. "src/osd/modules/render/render_module.h", + MAME_DIR .. "src/osd/modules/sound/coreaudio_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/direct_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/js_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/none.cpp", + MAME_DIR .. "src/osd/modules/sound/pa_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/pulse_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/pipewire_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/sdl_sound.cpp", + MAME_DIR .. "src/osd/modules/sound/sound_module.cpp", + MAME_DIR .. "src/osd/modules/sound/sound_module.h", + MAME_DIR .. "src/osd/modules/sound/xaudio2_sound.cpp", } includedirs { + MAME_DIR .. "src/osd", ext_includedir("asio"), } + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then + buildoptions { + "-Wno-unused-private-field", + } + end + if _OPTIONS["targetos"]=="windows" then includedirs { MAME_DIR .. "3rdparty/winpcap/Include", @@ -140,7 +170,6 @@ function osdmodulesbuild() } else files { - MAME_DIR .. "src/osd/modules/render/drawogl.cpp", MAME_DIR .. "src/osd/modules/opengl/gl_shader_tool.cpp", MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.cpp", MAME_DIR .. "src/osd/modules/opengl/gl_shader_mgr.h", @@ -161,7 +190,7 @@ function osdmodulesbuild() "__STDC_LIMIT_MACROS", "__STDC_FORMAT_MACROS", "__STDC_CONSTANT_MACROS", - "IMGUI_DISABLE_OBSOLETE_FUNCTIONS", + "BX_CONFIG_DEBUG=0", } files { @@ -172,51 +201,90 @@ function osdmodulesbuild() MAME_DIR .. "src/osd/modules/render/bgfxutil.h", MAME_DIR .. "src/osd/modules/render/binpacker.cpp", MAME_DIR .. "src/osd/modules/render/bgfx/blendreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/blendreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/chain.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/chain.h", MAME_DIR .. "src/osd/modules/render/bgfx/chainentry.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/chainentry.h", MAME_DIR .. "src/osd/modules/render/bgfx/chainentryreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/chainentryreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/chainmanager.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/chainmanager.h", MAME_DIR .. "src/osd/modules/render/bgfx/chainreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/chainreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/clear.cpp", MAME_DIR .. "src/osd/modules/render/bgfx/clear.h", MAME_DIR .. "src/osd/modules/render/bgfx/clearreader.cpp", MAME_DIR .. "src/osd/modules/render/bgfx/clearreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/cullreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/cullreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/depthreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/depthreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/effect.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/effect.h", MAME_DIR .. "src/osd/modules/render/bgfx/effectmanager.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/effectmanager.h", MAME_DIR .. "src/osd/modules/render/bgfx/effectreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/effectreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/entryuniformreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/entryuniformreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/inputpair.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/inputpair.h", MAME_DIR .. "src/osd/modules/render/bgfx/frameparameter.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/frameparameter.h", MAME_DIR .. "src/osd/modules/render/bgfx/timeparameter.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/timeparameter.h", MAME_DIR .. "src/osd/modules/render/bgfx/paramreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/paramreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/paramuniform.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/paramuniform.h", MAME_DIR .. "src/osd/modules/render/bgfx/paramuniformreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/paramuniformreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/shadermanager.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/shadermanager.h", MAME_DIR .. "src/osd/modules/render/bgfx/slider.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/slider.h", MAME_DIR .. "src/osd/modules/render/bgfx/sliderreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/sliderreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/slideruniform.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/slideruniform.h", MAME_DIR .. "src/osd/modules/render/bgfx/slideruniformreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/slideruniformreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/statereader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/statereader.h", MAME_DIR .. "src/osd/modules/render/bgfx/suppressor.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/suppressor.h", MAME_DIR .. "src/osd/modules/render/bgfx/suppressorreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/suppressorreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/target.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/target.h", MAME_DIR .. "src/osd/modules/render/bgfx/targetreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/targetreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/targetmanager.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/targetmanager.h", MAME_DIR .. "src/osd/modules/render/bgfx/texture.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/texture.h", + MAME_DIR .. "src/osd/modules/render/bgfx/texturehandleprovider.h", MAME_DIR .. "src/osd/modules/render/bgfx/texturemanager.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/texturemanager.h", MAME_DIR .. "src/osd/modules/render/bgfx/uniform.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/uniform.h", MAME_DIR .. "src/osd/modules/render/bgfx/uniformreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/uniformreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/valueuniform.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/valueuniform.h", MAME_DIR .. "src/osd/modules/render/bgfx/valueuniformreader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/valueuniformreader.h", MAME_DIR .. "src/osd/modules/render/bgfx/view.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/view.h", MAME_DIR .. "src/osd/modules/render/bgfx/writereader.cpp", + MAME_DIR .. "src/osd/modules/render/bgfx/writereader.h", } includedirs { MAME_DIR .. "3rdparty/bgfx/examples/common", MAME_DIR .. "3rdparty/bgfx/include", MAME_DIR .. "3rdparty/bgfx/3rdparty", + MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos", MAME_DIR .. "3rdparty/bx/include", ext_includedir("rapidjson") } @@ -231,6 +299,28 @@ function osdmodulesbuild() } end + if _OPTIONS["NO_USE_PULSEAUDIO"]=="1" then + defines { + "NO_USE_PULSEAUDIO", + } + end + + err = os.execute(pkgconfigcmd() .. " --exists libpipewire-0.3") + if not err then + _OPTIONS["NO_USE_PIPEWIRE"] = "1" + end + + if _OPTIONS["NO_USE_PIPEWIRE"]=="1" then + defines { + "NO_USE_PIPEWIRE", + } + else + buildoptions { + backtick(pkgconfigcmd() .. " --cflags libpipewire-0.3"), + } + end + + if _OPTIONS["NO_USE_MIDI"]=="1" then defines { "NO_USE_MIDI", @@ -262,11 +352,9 @@ function qtdebuggerbuild() local version = str_to_version(_OPTIONS["gcc_version"]) if _OPTIONS["gcc"]~=nil and (string.find(_OPTIONS["gcc"], "clang") or string.find(_OPTIONS["gcc"], "asmjs")) then configuration { "gmake or ninja" } - if (version >= 30600) then - buildoptions { - "-Wno-inconsistent-missing-override", - } - end + buildoptions { + "-Wno-error=inconsistent-missing-override", + } configuration { } end @@ -313,18 +401,28 @@ function qtdebuggerbuild() MOC = "moc" else if _OPTIONS["QT_HOME"]~=nil then - QMAKETST = backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake --version 2>/dev/null") - if (QMAKETST=='') then - print("Qt's Meta Object Compiler (moc) wasn't found!") - os.exit(1) + MOCTST = backtick(_OPTIONS["QT_HOME"] .. "/bin/moc --version 2>/dev/null") + if (MOCTST=='') then + local qt_host_libexecs = backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_HOST_LIBEXECS") + if not string.starts(qt_host_libexecs,"/") then + qt_host_libexecs = _OPTIONS["QT_HOME"] .. "/libexec" + end + MOCTST = backtick(qt_host_libexecs .. "/moc --version 2>/dev/null") + if MOCTST=='' then + print("Qt's Meta Object Compiler (moc) wasn't found!") + os.exit(1) + else + MOC = qt_host_libexecs .. "/moc" + end + else + MOC = _OPTIONS["QT_HOME"] .. "/bin/moc" end - MOC = _OPTIONS["QT_HOME"] .. "/bin/moc" else MOCTST = backtick("which moc-qt5 2>/dev/null") if (MOCTST=='') then MOCTST = backtick("which moc 2>/dev/null") end - if (MOCTST=='') then + if MOCTST=='' then print("Qt's Meta Object Compiler (moc) wasn't found!") os.exit(1) end @@ -334,15 +432,15 @@ function qtdebuggerbuild() custombuildtask { - { MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.h", GEN_DIR .. "osd/modules/debugger/qt/debuggerview.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.h", GEN_DIR .. "osd/modules/debugger/qt/windowqt.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.h", GEN_DIR .. "osd/modules/debugger/qt/logwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.h", GEN_DIR .. "osd/modules/debugger/qt/dasmwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.h", GEN_DIR .. "osd/modules/debugger/qt/mainwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.h", GEN_DIR .. "osd/modules/debugger/qt/memorywindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.h", GEN_DIR .. "osd/modules/debugger/qt/breakpointswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, - { MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceinformationwindow.moc.cpp", { },{ MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" }}, + { MAME_DIR .. "src/osd/modules/debugger/qt/debuggerview.h", GEN_DIR .. "osd/modules/debugger/qt/debuggerview.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/windowqt.h", GEN_DIR .. "osd/modules/debugger/qt/windowqt.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/logwindow.h", GEN_DIR .. "osd/modules/debugger/qt/logwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/dasmwindow.h", GEN_DIR .. "osd/modules/debugger/qt/dasmwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/mainwindow.h", GEN_DIR .. "osd/modules/debugger/qt/mainwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/memorywindow.h", GEN_DIR .. "osd/modules/debugger/qt/memorywindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/breakpointswindow.h", GEN_DIR .. "osd/modules/debugger/qt/breakpointswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/deviceswindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceswindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, + { MAME_DIR .. "src/osd/modules/debugger/qt/deviceinformationwindow.h", GEN_DIR .. "osd/modules/debugger/qt/deviceinformationwindow.moc.cpp", { }, { MOC .. "$(MOCINCPATH) -b emu.h $(<) -o $(@)" } }, } @@ -419,24 +517,42 @@ function osdmodulestargetconf() "Qt5Widgets.dll", } elseif _OPTIONS["targetos"]=="macosx" then + local qt_version = str_to_version(backtick("qmake -query QT_VERSION")) linkoptions { "-F" .. backtick("qmake -query QT_INSTALL_LIBS"), } - links { - "Qt5Core.framework", - "Qt5Gui.framework", - "Qt5Widgets.framework", - } + if qt_version < 60000 then + links { + "Qt5Core.framework", + "Qt5Gui.framework", + "Qt5Widgets.framework", + } + else + links { + "QtCore.framework", + "QtGui.framework", + "QtWidgets.framework", + } + end else if _OPTIONS["QT_HOME"]~=nil then + local qt_version = str_to_version(backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_VERSION")) linkoptions { "-L" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_LIBS"), } - links { - "Qt5Core", - "Qt5Gui", - "Qt5Widgets", - } + if qt_version < 60000 then + links { + "Qt5Core", + "Qt5Gui", + "Qt5Widgets", + } + else + links { + "Qt6Core", + "Qt6Gui", + "Qt6Widgets", + } + end else local str = backtick(pkgconfigcmd() .. " --libs Qt5Widgets") addlibfromstring(str) @@ -462,12 +578,36 @@ function osdmodulestargetconf() } end + if _OPTIONS["NO_USE_PULSEAUDIO"]=="0" then + links { + ext_lib("pulse"), + } + end + + if _OPTIONS["NO_USE_PIPEWIRE"]=="0" then + local str = backtick(pkgconfigcmd() .. " --libs libpipewire-0.3") + addlibfromstring(str) + addoptionsfromstring(str) + end end newoption { - trigger = "DONT_USE_NETWORK", - description = "Disable network access", + trigger = "USE_TAPTUN", + description = "Include tap/tun network module", + allowed = { + { "0", "Don't include tap/tun network module" }, + { "1", "Include tap/tun network module" }, + }, +} + +newoption { + trigger = "USE_PCAP", + description = "Include pcap network module", + allowed = { + { "0", "Don't include pcap network module" }, + { "1", "Include pcap network module" }, + }, } newoption { @@ -479,6 +619,14 @@ newoption { }, } +if not _OPTIONS["NO_OPENGL"] then + if _OPTIONS["targetos"] == "android" then + _OPTIONS["NO_OPENGL"] = "1" + else + _OPTIONS["NO_OPENGL"] = "0" + end +end + newoption { trigger = "USE_DISPATCH_GL", description = "Use GL-dispatching", @@ -502,7 +650,7 @@ newoption { } if not _OPTIONS["NO_USE_MIDI"] then - if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" then + if _OPTIONS["targetos"]=="freebsd" or _OPTIONS["targetos"]=="openbsd" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" or _OPTIONS["targetos"] == "android" then _OPTIONS["NO_USE_MIDI"] = "1" else _OPTIONS["NO_USE_MIDI"] = "0" @@ -527,6 +675,40 @@ if not _OPTIONS["NO_USE_PORTAUDIO"] then end newoption { + trigger = "NO_USE_PULSEAUDIO", + description = "Disable PulseAudio interface", + allowed = { + { "0", "Enable PulseAudio" }, + { "1", "Disable PulseAudio" }, + }, +} + +if not _OPTIONS["NO_USE_PULSEAUDIO"] then + if _OPTIONS["targetos"]=="linux" then + _OPTIONS["NO_USE_PULSEAUDIO"] = "0" + else + _OPTIONS["NO_USE_PULSEAUDIO"] = "1" + end +end + +newoption { + trigger = "NO_USE_PIPEWIRE", + description = "Disable Pipewire interface", + allowed = { + { "0", "Enable Pipewire" }, + { "1", "Disable Pipewire" }, + }, +} + +if not _OPTIONS["NO_USE_PIPEWIRE"] then + if _OPTIONS["targetos"]=="linux" then + _OPTIONS["NO_USE_PIPEWIRE"] = "0" + else + _OPTIONS["NO_USE_PIPEWIRE"] = "1" + end +end + +newoption { trigger = "MODERN_WIN_API", description = "Use Modern Windows APIs", allowed = { @@ -539,7 +721,7 @@ newoption { trigger = "USE_QTDEBUG", description = "Use QT debugger", allowed = { - { "0", "Don't use Qt debugger" }, + { "0", "Don't use Qt debugger" }, { "1", "Use Qt debugger" }, }, } @@ -550,8 +732,24 @@ newoption { } +if not _OPTIONS["USE_TAPTUN"] then + if _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" then + _OPTIONS["USE_TAPTUN"] = "1" + else + _OPTIONS["USE_TAPTUN"] = "0" + end +end + +if not _OPTIONS["USE_PCAP"] then + if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="netbsd" then + _OPTIONS["USE_PCAP"] = "1" + else + _OPTIONS["USE_PCAP"] = "0" + end +end + if not _OPTIONS["USE_QTDEBUG"] then - if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"] == "asmjs" then + if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="solaris" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" or _OPTIONS["targetos"]=="android" then _OPTIONS["USE_QTDEBUG"] = "0" else _OPTIONS["USE_QTDEBUG"] = "1" diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index ed660e65f9b..93dba9ae67a 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -29,6 +29,12 @@ function maintargetosdoptions(_target,_subtarget) "X11", "Xinerama", } + else + if _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="netbsd" or _OPTIONS["targetos"]=="openbsd" then + links { + "EGL", + } + end end if _OPTIONS["NO_USE_XINPUT"]~="1" then @@ -48,14 +54,11 @@ function maintargetosdoptions(_target,_subtarget) end if _OPTIONS["targetos"]=="windows" then - if _OPTIONS["with-bundled-sdl2"]~=nil then + if _OPTIONS["USE_LIBSDL"]~="1" then configuration { "mingw*"} links { + "SDL2main", "SDL2", - "imm32", - "version", - "ole32", - "oleaut32", } configuration { "vs*" } links { @@ -65,35 +68,22 @@ function maintargetosdoptions(_target,_subtarget) } configuration { } else - if _OPTIONS["USE_LIBSDL"]~="1" then - configuration { "mingw*"} - links { - "SDL2main", - "SDL2", - } - configuration { "vs*" } - links { - "SDL2", - "imm32", - "version", - } - configuration { } - else - local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'") - addlibfromstring(str) - addoptionsfromstring(str) - end - configuration { "x32", "vs*" } - libdirs { - path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") - } - configuration { "x64", "vs*" } - libdirs { - path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64") - } - configuration { } + local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'") + addlibfromstring(str) + addoptionsfromstring(str) end + configuration { "x32", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") + } + configuration { "x64", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64") + } + configuration { } + links { + "dinput8", "psapi", } elseif _OPTIONS["targetos"]=="haiku" then @@ -110,15 +100,6 @@ function maintargetosdoptions(_target,_subtarget) "ole32", } configuration { } - - if _OPTIONS["targetos"]=="macosx" then - if _OPTIONS["with-bundled-sdl2"]~=nil then - links { - "SDL2", - } - end - end - end @@ -153,7 +134,7 @@ newoption { } if not _OPTIONS["NO_X11"] then - if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" then + if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" or _OPTIONS["targetos"]=="android" then _OPTIONS["NO_X11"] = "1" else _OPTIONS["NO_X11"] = "0" @@ -170,7 +151,7 @@ newoption { } if not _OPTIONS["NO_USE_XINPUT"] then - if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" then + if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" or _OPTIONS["targetos"]=="android" then _OPTIONS["NO_USE_XINPUT"] = "1" else _OPTIONS["NO_USE_XINPUT"] = "0" @@ -233,28 +214,18 @@ end BASE_TARGETOS = "unix" SDLOS_TARGETOS = "unix" -SDL_NETWORK = "" if _OPTIONS["targetos"]=="linux" then - SDL_NETWORK = "taptun" elseif _OPTIONS["targetos"]=="openbsd" then elseif _OPTIONS["targetos"]=="netbsd" then - SDL_NETWORK = "pcap" elseif _OPTIONS["targetos"]=="haiku" then elseif _OPTIONS["targetos"]=="asmjs" then elseif _OPTIONS["targetos"]=="windows" then BASE_TARGETOS = "win32" SDLOS_TARGETOS = "win32" - SDL_NETWORK = "pcap" elseif _OPTIONS["targetos"]=="macosx" then SDLOS_TARGETOS = "macosx" - SDL_NETWORK = "pcap" end -if _OPTIONS["with-bundled-sdl2"]~=nil then - includedirs { - GEN_DIR .. "includes", - } -end if BASE_TARGETOS=="unix" then if _OPTIONS["targetos"]=="macosx" then local os_version = str_to_version(backtick("sw_vers -productVersion")) @@ -265,6 +236,8 @@ if BASE_TARGETOS=="unix" then linkoptions { "-framework QuartzCore", "-framework OpenGL", + "-framework IOKit", + "-rpath " .. _OPTIONS["SDL_FRAMEWORK_PATH"], } @@ -273,28 +246,17 @@ if BASE_TARGETOS=="unix" then "-weak_framework Metal", } end - if _OPTIONS["with-bundled-sdl2"]~=nil then + if _OPTIONS["USE_LIBSDL"]~="1" then linkoptions { - "-framework AudioUnit", - "-framework CoreAudio", - "-framework Carbon", - "-framework ForceFeedback", - "-framework IOKit", - "-framework CoreVideo", + "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"], + } + links { + "SDL2.framework", } else - if _OPTIONS["USE_LIBSDL"]~="1" then - linkoptions { - "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"], - } - links { - "SDL2.framework", - } - else - local str = backtick(sdlconfigcmd() .. " --libs --static | sed 's/-lSDLmain//'") - addlibfromstring(str) - addoptionsfromstring(str) - end + local str = backtick(sdlconfigcmd() .. " --libs --static | sed 's/-lSDLmain//'") + addlibfromstring(str) + addoptionsfromstring(str) end else if _OPTIONS["NO_X11"]=="1" then @@ -306,17 +268,9 @@ if BASE_TARGETOS=="unix" then "/usr/openwin/lib", } end - if _OPTIONS["with-bundled-sdl2"]~=nil then - if _OPTIONS["targetos"]~="android" then - links { - "SDL2", - } - end - else - local str = backtick(sdlconfigcmd() .. " --libs") - addlibfromstring(str) - addoptionsfromstring(str) - end + local str = backtick(sdlconfigcmd() .. " --libs") + addlibfromstring(str) + addoptionsfromstring(str) if _OPTIONS["targetos"]~="haiku" and _OPTIONS["targetos"]~="android" then links { @@ -379,12 +333,6 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/sdl", } - if _OPTIONS["targetos"]=="windows" then - files { - MAME_DIR .. "src/osd/windows/main.cpp", - } - end - if _OPTIONS["targetos"]=="macosx" then files { MAME_DIR .. "src/osd/modules/debugger/debugosx.mm", @@ -409,6 +357,8 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyviewer.h", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.mm", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogview.h", + MAME_DIR .. "src/osd/modules/debugger/osx/exceptionpointsview.mm", + MAME_DIR .. "src/osd/modules/debugger/osx/exceptionpointsview.h", MAME_DIR .. "src/osd/modules/debugger/osx/disassemblyview.h", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.mm", MAME_DIR .. "src/osd/modules/debugger/osx/errorlogviewer.h", @@ -418,6 +368,8 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/debugger/osx/memoryviewer.h", MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.mm", MAME_DIR .. "src/osd/modules/debugger/osx/pointsviewer.h", + MAME_DIR .. "src/osd/modules/debugger/osx/registerpointsview.mm", + MAME_DIR .. "src/osd/modules/debugger/osx/registerpointsview.h", MAME_DIR .. "src/osd/modules/debugger/osx/registersview.mm", MAME_DIR .. "src/osd/modules/debugger/osx/registersview.h", MAME_DIR .. "src/osd/modules/debugger/osx/watchpointsview.mm", @@ -427,22 +379,19 @@ project ("osd_" .. _OPTIONS["osd"]) end files { + MAME_DIR .. "src/osd/osdepend.h", + MAME_DIR .. "src/osd/modules/osdwindow.cpp", + MAME_DIR .. "src/osd/modules/osdwindow.h", + MAME_DIR .. "src/osd/sdl/osdsdl.cpp", MAME_DIR .. "src/osd/sdl/osdsdl.h", - MAME_DIR .. "src/osd/sdl/sdlprefix.h", MAME_DIR .. "src/osd/sdl/sdlmain.cpp", - MAME_DIR .. "src/osd/osdepend.h", + MAME_DIR .. "src/osd/sdl/sdlopts.cpp", + MAME_DIR .. "src/osd/sdl/sdlopts.h", + MAME_DIR .. "src/osd/sdl/sdlprefix.h", MAME_DIR .. "src/osd/sdl/video.cpp", MAME_DIR .. "src/osd/sdl/window.cpp", MAME_DIR .. "src/osd/sdl/window.h", - MAME_DIR .. "src/osd/modules/osdwindow.cpp", - MAME_DIR .. "src/osd/modules/osdwindow.h", - MAME_DIR .. "src/osd/modules/render/drawsdl.cpp", } - files { - MAME_DIR .. "src/osd/modules/render/draw13.cpp", - MAME_DIR .. "src/osd/modules/render/blit13.h", - } - project ("ocore_" .. _OPTIONS["osd"]) targetsubdir(_OPTIONS["target"] .."_" .. _OPTIONS["subtarget"]) @@ -466,6 +415,7 @@ project ("ocore_" .. _OPTIONS["osd"]) files { MAME_DIR .. "src/osd/osdcore.cpp", MAME_DIR .. "src/osd/osdcore.h", + MAME_DIR .. "src/osd/osdfile.h", MAME_DIR .. "src/osd/strconv.cpp", MAME_DIR .. "src/osd/strconv.h", MAME_DIR .. "src/osd/osdsync.cpp", @@ -479,7 +429,6 @@ project ("ocore_" .. _OPTIONS["osd"]) if BASE_TARGETOS=="unix" then files { MAME_DIR .. "src/osd/modules/file/posixdir.cpp", - MAME_DIR .. "src/osd/modules/file/posixdomain.cpp", MAME_DIR .. "src/osd/modules/file/posixfile.cpp", MAME_DIR .. "src/osd/modules/file/posixfile.h", MAME_DIR .. "src/osd/modules/file/posixptty.cpp", @@ -495,7 +444,8 @@ project ("ocore_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/modules/file/winfile.h", MAME_DIR .. "src/osd/modules/file/winptty.cpp", MAME_DIR .. "src/osd/modules/file/winsocket.cpp", - MAME_DIR .. "src/osd/windows/winutil.cpp", -- FIXME put the necessary functions somewhere more appropriate + MAME_DIR .. "src/osd/windows/winutil.cpp", -- FIXME put the necessary functions somewhere more appropriate? + MAME_DIR .. "src/osd/windows/winutil.h", } else files { diff --git a/scripts/src/osd/sdl_cfg.lua b/scripts/src/osd/sdl_cfg.lua index ad3750184fd..f3a970c4ad4 100644 --- a/scripts/src/osd/sdl_cfg.lua +++ b/scripts/src/osd/sdl_cfg.lua @@ -7,11 +7,20 @@ forcedincludes { MAME_DIR .. "src/osd/sdl/sdlprefix.h" } -if SDL_NETWORK~="" and not _OPTIONS["DONT_USE_NETWORK"] then +if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]=="1" then defines { "USE_NETWORK", - "OSD_NET_USE_" .. string.upper(SDL_NETWORK), } + if _OPTIONS["USE_TAPTUN"]=="1" then + defines { + "OSD_NET_USE_TAPTUN", + } + end + if _OPTIONS["USE_PCAP"]=="1" then + defines { + "OSD_NET_USE_PCAP", + } + end end if _OPTIONS["NO_OPENGL"]~="1" and _OPTIONS["USE_DISPATCH_GL"]~="1" and _OPTIONS["MESA_INSTALL_ROOT"] then @@ -86,20 +95,22 @@ if BASE_TARGETOS=="unix" then "SDLMAME_UNIX", } if _OPTIONS["targetos"]=="macosx" then - if _OPTIONS["with-bundled-sdl2"]==nil then - if _OPTIONS["USE_LIBSDL"]~="1" then - buildoptions { - "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"], - } - else - defines { - "MACOSX_USE_LIBSDL", - } - buildoptions { - backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL2::'"), - } - end + if _OPTIONS["USE_LIBSDL"]~="1" then + buildoptions { + "-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"], + } + else + defines { + "MACOSX_USE_LIBSDL", + } + buildoptions { + backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL2::'"), + } end + elseif _OPTIONS["targetos"]=="android" then + buildoptions { + backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL2::'"), + } else buildoptions { backtick(sdlconfigcmd() .. " --cflags"), @@ -117,7 +128,7 @@ if _OPTIONS["targetos"]=="windows" then defines { "UNICODE", "_UNICODE", - "_WIN32_WINNT=0x0501", + "_WIN32_WINNT=0x0600", "WIN32_LEAN_AND_MEAN", "NOMINMAX", } diff --git a/scripts/src/osd/uwp.lua b/scripts/src/osd/uwp.lua deleted file mode 100644 index 47e8e149e24..00000000000 --- a/scripts/src/osd/uwp.lua +++ /dev/null @@ -1,121 +0,0 @@ --- license:BSD-3-Clause --- copyright-holders:MAMEdev Team - ---------------------------------------------------------------------------- --- --- uwp.lua --- --- Rules for the building of UWP OSD --- ---------------------------------------------------------------------------- - -dofile("modules.lua") - -function maintargetosdoptions(_target,_subtarget) -end - -project ("qtdbg_" .. _OPTIONS["osd"]) - uuid (os.uuid("qtdbg_" .. _OPTIONS["osd"])) - kind (LIBTYPE) - - dofile("uwp_cfg.lua") - includedirs { - MAME_DIR .. "src/emu", - MAME_DIR .. "src/devices", -- accessing imagedev from debugger - MAME_DIR .. "src/osd", - MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/util", - MAME_DIR .. "src/osd/modules/render", - MAME_DIR .. "3rdparty", - } - removeflags { - "SingleOutputDir", - } - - files { - MAME_DIR .. "src/osd/modules/debugger/debugqt.cpp", - } - -project ("osd_" .. _OPTIONS["osd"]) - uuid (os.uuid("osd_" .. _OPTIONS["osd"])) - kind (LIBTYPE) - - removeflags { - "SingleOutputDir", - } - - dofile("uwp_cfg.lua") - osdmodulesbuild() - - includedirs { - MAME_DIR .. "src/emu", - MAME_DIR .. "src/devices", -- accessing imagedev from debugger - MAME_DIR .. "src/osd", - MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/util", - MAME_DIR .. "src/osd/modules/file", - MAME_DIR .. "src/osd/modules/render", - MAME_DIR .. "3rdparty", - } - - includedirs { - MAME_DIR .. "src/osd/uwp", - MAME_DIR .. "src/osd/windows", - } - - files { - MAME_DIR .. "src/osd/uwp/video.cpp", - MAME_DIR .. "src/osd/uwp/video.h", - MAME_DIR .. "src/osd/uwp/window.cpp", - MAME_DIR .. "src/osd/uwp/window.h", - MAME_DIR .. "src/osd/windows/winutf8.cpp", - MAME_DIR .. "src/osd/windows/winutf8.h", - MAME_DIR .. "src/osd/modules/osdwindow.cpp", - MAME_DIR .. "src/osd/modules/osdwindow.h", - MAME_DIR .. "src/osd/windows/winmain.cpp", - MAME_DIR .. "src/osd/windows/winmain.h", - MAME_DIR .. "src/osd/modules/render/drawnone.cpp", - MAME_DIR .. "src/osd/modules/render/drawnone.h", - MAME_DIR .. "src/osd/uwp/uwpcompat.cpp", - MAME_DIR .. "src/osd/uwp/uwpcompat.h", - MAME_DIR .. "src/osd/osdepend.h", - } - -project ("ocore_" .. _OPTIONS["osd"]) - uuid (os.uuid("ocore_" .. _OPTIONS["osd"])) - kind (LIBTYPE) - - removeflags { - "SingleOutputDir", - } - - dofile("uwp_cfg.lua") - - includedirs { - MAME_DIR .. "3rdparty", - MAME_DIR .. "src/emu", - MAME_DIR .. "src/osd", - MAME_DIR .. "src/osd/modules/file", - MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/util", - } - - files { - MAME_DIR .. "src/osd/osdcomm.h", - MAME_DIR .. "src/osd/osdcore.cpp", - MAME_DIR .. "src/osd/osdcore.h", - MAME_DIR .. "src/osd/strconv.cpp", - MAME_DIR .. "src/osd/strconv.h", - MAME_DIR .. "src/osd/osdsync.cpp", - MAME_DIR .. "src/osd/osdsync.h", - MAME_DIR .. "src/osd/windows/winutil.cpp", - MAME_DIR .. "src/osd/windows/winutil.h", - MAME_DIR .. "src/osd/modules/osdmodule.cpp", - MAME_DIR .. "src/osd/modules/osdmodule.h", - MAME_DIR .. "src/osd/modules/file/winrtdir.cpp", - MAME_DIR .. "src/osd/modules/file/winrtfile.cpp", - MAME_DIR .. "src/osd/modules/file/winrtfile.h", - MAME_DIR .. "src/osd/modules/file/winrtptty.cpp", - MAME_DIR .. "src/osd/modules/file/winrtsocket.cpp", - MAME_DIR .. "src/osd/modules/lib/osdlib_uwp.cpp", - } diff --git a/scripts/src/osd/uwp_cfg.lua b/scripts/src/osd/uwp_cfg.lua deleted file mode 100644 index 28892656728..00000000000 --- a/scripts/src/osd/uwp_cfg.lua +++ /dev/null @@ -1,20 +0,0 @@ --- license:BSD-3-Clause --- copyright-holders:MAMEdev Team - -defines { - "OSD_UWP=1", - "USE_QTDEBUG=0", - "SDLMAME_NOASM=1", - "USE_OPENGL=0", - "NO_USE_MIDI=1", - "WINVER=0x0603", - "_WIN32_WINNT=0x0603", - "NTDDI_VERSION=0x06030000", - "MODERN_WIN_API", - "WIN32_LEAN_AND_MEAN", - "NOMINMAX", -} - -flags { - "Unicode", -} diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua index ecb3030c683..ac300261ce8 100644 --- a/scripts/src/osd/windows.lua +++ b/scripts/src/osd/windows.lua @@ -22,47 +22,25 @@ function maintargetosdoptions(_target,_subtarget) configuration { } - if _OPTIONS["DIRECTINPUT"] == "8" then - links { - "dinput8", - } - else - links { - "dinput", - } - end - - if _OPTIONS["USE_SDL"] == "1" then links { - "SDL.dll", + "SDL2.dll", } end links { "comctl32", "comdlg32", - "psapi", + "dinput8", "ole32", + "psapi", "shlwapi", + "uuid", } end newoption { - trigger = "DIRECTINPUT", - description = "Minimum DirectInput version to support", - allowed = { - { "7", "Support DirectInput 7 or later" }, - { "8", "Support DirectInput 8 or later" }, - }, -} - -if not _OPTIONS["DIRECTINPUT"] then - _OPTIONS["DIRECTINPUT"] = "8" -end - -newoption { trigger = "USE_SDL", description = "Enable SDL sound output", allowed = { @@ -124,18 +102,9 @@ project ("osd_" .. _OPTIONS["osd"]) defines { "DIRECT3D_VERSION=0x0900", + "DIRECTINPUT_VERSION=0x0800", } - if _OPTIONS["DIRECTINPUT"] == "8" then - defines { - "DIRECTINPUT_VERSION=0x0800", - } - else - defines { - "DIRECTINPUT_VERSION=0x0700", - } - end - includedirs { MAME_DIR .. "src/emu", MAME_DIR .. "src/devices", -- accessing imagedev from debugger @@ -151,25 +120,28 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/windows", } + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then + buildoptions_cpp { + "-Wno-ignored-attributes",-- many instances in ImGui + } + end + files { MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp", MAME_DIR .. "src/osd/modules/render/d3d/d3dcomm.h", MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.h", MAME_DIR .. "src/osd/modules/render/drawd3d.cpp", MAME_DIR .. "src/osd/modules/render/drawd3d.h", - MAME_DIR .. "src/osd/modules/render/drawgdi.cpp", - MAME_DIR .. "src/osd/modules/render/drawgdi.h", - MAME_DIR .. "src/osd/modules/render/drawnone.cpp", - MAME_DIR .. "src/osd/modules/render/drawnone.h", MAME_DIR .. "src/osd/windows/video.cpp", MAME_DIR .. "src/osd/windows/video.h", MAME_DIR .. "src/osd/windows/window.cpp", MAME_DIR .. "src/osd/windows/window.h", MAME_DIR .. "src/osd/modules/osdwindow.cpp", MAME_DIR .. "src/osd/modules/osdwindow.h", - MAME_DIR .. "src/osd/windows/winmenu.cpp", MAME_DIR .. "src/osd/windows/winmain.cpp", MAME_DIR .. "src/osd/windows/winmain.h", + MAME_DIR .. "src/osd/windows/winopts.cpp", + MAME_DIR .. "src/osd/windows/winopts.h", MAME_DIR .. "src/osd/osdepend.h", MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.cpp", MAME_DIR .. "src/osd/modules/debugger/win/consolewininfo.h", @@ -227,13 +199,13 @@ project ("ocore_" .. _OPTIONS["osd"]) includedirs { MAME_DIR .. "src/osd/windows", - MAME_DIR .. "src/lib/winpcap", } files { MAME_DIR .. "src/osd/eigccppc.h", MAME_DIR .. "src/osd/eigccx86.h", MAME_DIR .. "src/osd/eivc.h", + MAME_DIR .. "src/osd/eivcarm.h", MAME_DIR .. "src/osd/eivcx86.h", MAME_DIR .. "src/osd/eminline.h", MAME_DIR .. "src/osd/osdcomm.h", @@ -243,7 +215,6 @@ project ("ocore_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/strconv.h", MAME_DIR .. "src/osd/osdsync.cpp", MAME_DIR .. "src/osd/osdsync.h", - MAME_DIR .. "src/osd/windows/main.cpp", MAME_DIR .. "src/osd/windows/winutf8.cpp", MAME_DIR .. "src/osd/windows/winutf8.h", MAME_DIR .. "src/osd/windows/winutil.cpp", diff --git a/scripts/src/osd/windows_cfg.lua b/scripts/src/osd/windows_cfg.lua index 2735e4df4f0..98893440f9f 100644 --- a/scripts/src/osd/windows_cfg.lua +++ b/scripts/src/osd/windows_cfg.lua @@ -3,16 +3,12 @@ defines { "OSD_WINDOWS", + "UNICODE", + "_UNICODE", "WIN32_LEAN_AND_MEAN", "NOMINMAX", } -configuration { "mingw* or vs*" } - defines { - "UNICODE", - "_UNICODE" - } - configuration { "vs*" } flags { "Unicode", @@ -33,16 +29,25 @@ if _OPTIONS["MODERN_WIN_API"]=="1" then } else defines { - "_WIN32_WINNT=0x0501", + "_WIN32_WINNT=0x0602", + "NTDDI_VERSION=0x06000000", } end -if not _OPTIONS["DONT_USE_NETWORK"] then +if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]=="1" then defines { "USE_NETWORK", - "OSD_NET_USE_PCAP", - "OSD_NET_USE_TAPTUN", } + if _OPTIONS["USE_TAPTUN"]=="1" then + defines { + "OSD_NET_USE_TAPTUN", + } + end + if _OPTIONS["USE_PCAP"]=="1" then + defines { + "OSD_NET_USE_PCAP", + } + end end if _OPTIONS["USE_SDL"]=="1" then diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index 6f83f86aae3..32c0d366a60 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -10,10 +10,16 @@ ---------------------------------------------------------------------------- files { + MAME_DIR .. "src/devices/sound/bbd.cpp", + MAME_DIR .. "src/devices/sound/bbd.h", + MAME_DIR .. "src/devices/sound/flt_biquad.cpp", + MAME_DIR .. "src/devices/sound/flt_biquad.h", MAME_DIR .. "src/devices/sound/flt_vol.cpp", MAME_DIR .. "src/devices/sound/flt_vol.h", MAME_DIR .. "src/devices/sound/flt_rc.cpp", MAME_DIR .. "src/devices/sound/flt_rc.h", + MAME_DIR .. "src/devices/sound/mixer.cpp", + MAME_DIR .. "src/devices/sound/mixer.h", MAME_DIR .. "src/devices/sound/samples.cpp", MAME_DIR .. "src/devices/sound/samples.h", } @@ -106,7 +112,6 @@ if (SOUNDS["AC97"]~=null) then end - --------------------------------------------------- -- Apple custom sound chips --@src/devices/sound/asc.h,SOUNDS["ASC"] = true @@ -150,22 +155,6 @@ if (SOUNDS["TIA"]~=null) then } end - - ---------------------------------------------------- --- Amiga audio hardware ---@src/devices/machine/8364_paula.h,SOUNDS["PAULA_8364"] = true ---------------------------------------------------- - -if (SOUNDS["PAULA_8364"]~=null) then - files { - MAME_DIR .. "src/devices/machine/8364_paula.cpp", - MAME_DIR .. "src/devices/machine/8364_paula.h", - } -end - - - --------------------------------------------------- -- Bally Astrocade sound system --@src/devices/sound/astrocde.h,SOUNDS["ASTROCADE"] = true @@ -181,7 +170,6 @@ end --------------------------------------------------- ---------------------------------------------------- -- AC97 --@src/devices/sound/pic-ac97.h,SOUNDS["AC97"] = true --------------------------------------------------- @@ -192,6 +180,10 @@ if (SOUNDS["AC97"]~=null) then MAME_DIR .. "src/devices/sound/pci-ac97.h", } end + + + +--------------------------------------------------- -- CEM 3394 analog synthesizer chip --@src/devices/sound/cem3394.h,SOUNDS["CEM3394"] = true --------------------------------------------------- @@ -206,6 +198,20 @@ end --------------------------------------------------- +-- Creative Labs CT1745 SB16 Mixer +--@src/devices/sound/ct1745.h,SOUNDS["CT1745"] = true +--------------------------------------------------- + +if (SOUNDS["CT1745"]~=null) then + files { + MAME_DIR .. "src/devices/sound/ct1745.cpp", + MAME_DIR .. "src/devices/sound/ct1745.h", + } +end + + + +--------------------------------------------------- -- Creative Labs SB0400 Audigy2 Value --@src/devices/sound/sb0400.h,SOUNDS["SB0400"] = true --------------------------------------------------- @@ -231,20 +237,6 @@ if (SOUNDS["ES1373"]~=null) then end --------------------------------------------------- --- Data East custom sound chips ---@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true ---------------------------------------------------- - -if (SOUNDS["BSMT2000"]~=null) then - files { - MAME_DIR .. "src/devices/sound/bsmt2000.cpp", - MAME_DIR .. "src/devices/sound/bsmt2000.h", - } -end - - - ---------------------------------------------------- -- Ensoniq 5503 (Apple IIgs) --@src/devices/sound/es5503.h,SOUNDS["ES5503"] = true --------------------------------------------------- @@ -257,7 +249,6 @@ if (SOUNDS["ES5503"]~=null) then end - --------------------------------------------------- -- Ensoniq 5505/5506 --@src/devices/sound/es5506.h,SOUNDS["ES5505"] = true @@ -285,6 +276,20 @@ end --------------------------------------------------- +-- Data East custom sound chips +--@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true +--------------------------------------------------- + +if (SOUNDS["BSMT2000"]~=null) then + files { + MAME_DIR .. "src/devices/sound/bsmt2000.cpp", + MAME_DIR .. "src/devices/sound/bsmt2000.h", + } +end + + + +--------------------------------------------------- -- Excellent Systems ADPCM sound chip --@src/devices/sound/es8712.h,SOUNDS["ES8712"] = true --------------------------------------------------- @@ -546,6 +551,20 @@ end --------------------------------------------------- +-- Micronas DAC 3550A Stereo Audio DAC +--@src/devices/sound/dac3350a.h,SOUNDS["DAC3350A"] = true +--------------------------------------------------- + +if (SOUNDS["DAC3350A"]~=null) then + files { + MAME_DIR .. "src/devices/sound/dac3350a.cpp", + MAME_DIR .. "src/devices/sound/dac3350a.h", + } +end + + + +--------------------------------------------------- -- MEA8000 Voice Synthesizer --@src/devices/sound/mea8000.h,SOUNDS["MEA8000"] = true --------------------------------------------------- @@ -657,6 +676,8 @@ if (SOUNDS["NES_APU"]~=null) then MAME_DIR .. "src/devices/sound/nes_apu.cpp", MAME_DIR .. "src/devices/sound/nes_apu.h", MAME_DIR .. "src/devices/sound/nes_defs.h", + MAME_DIR .. "src/devices/sound/nes_apu_vt.cpp", + MAME_DIR .. "src/devices/sound/nes_apu_vt.h", } end @@ -679,17 +700,32 @@ end --------------------------------------------------- +-- IMA ADPCM sample player +--@src/devices/sound/imaadpcm.h,SOUNDS["IMAADPCM"] = true +--------------------------------------------------- + +if (SOUNDS["IMAADPCM"]~=null) then + files { + MAME_DIR .. "src/devices/sound/imaadpcm.cpp", + MAME_DIR .. "src/devices/sound/imaadpcm.h", + } +end + + + +--------------------------------------------------- -- OKI ADPCM sample players --@src/devices/sound/okim6258.h,SOUNDS["OKIM6258"] = true --@src/devices/sound/msm5205.h,SOUNDS["MSM5205"] = true --@src/devices/sound/msm5232.h,SOUNDS["MSM5232"] = true --@src/devices/sound/okim6376.h,SOUNDS["OKIM6376"] = true --@src/devices/sound/okim6295.h,SOUNDS["OKIM6295"] = true +--@src/devices/sound/okim6588.h,SOUNDS["OKIM6588"] = true --@src/devices/sound/okim9810.h,SOUNDS["OKIM9810"] = true --@src/devices/sound/okiadpcm.h,SOUNDS["OKIADPCM"] = true --------------------------------------------------- -if (SOUNDS["OKIM6258"]~=null or SOUNDS["OKIM6295"]~=null or SOUNDS["OKIM9810"]~=null or SOUNDS["I5000_SND"]~=null or SOUNDS["OKIADPCM"]~=null) then +if (SOUNDS["OKIM6258"]~=null or SOUNDS["OKIM6295"]~=null or SOUNDS["OKIM6588"]~=null or SOUNDS["OKIM9810"]~=null or SOUNDS["I5000_SND"]~=null or SOUNDS["OKIADPCM"]~=null) then files { MAME_DIR .. "src/devices/sound/okiadpcm.cpp", MAME_DIR .. "src/devices/sound/okiadpcm.h", @@ -731,6 +767,13 @@ if (SOUNDS["OKIM6258"]~=null) then } end +if (SOUNDS["OKIM6588"]~=null) then + files { + MAME_DIR .. "src/devices/sound/okim6588.cpp", + MAME_DIR .. "src/devices/sound/okim6588.h", + } +end + if (SOUNDS["OKIM9810"]~=null) then files { MAME_DIR .. "src/devices/sound/okim9810.cpp", @@ -809,7 +852,6 @@ end --------------------------------------------------- -- Sega custom sound chips --@src/devices/sound/segapcm.h,SOUNDS["SEGAPCM"] = true ---@src/devices/sound/multipcm.h,SOUNDS["MULTIPCM"] = true --@src/devices/sound/scsp.h,SOUNDS["SCSP"] = true --@src/devices/sound/aica.h,SOUNDS["AICA"] = true --------------------------------------------------- @@ -821,13 +863,6 @@ if (SOUNDS["SEGAPCM"]~=null) then } end -if (SOUNDS["MULTIPCM"]~=null) then - files { - MAME_DIR .. "src/devices/sound/multipcm.cpp", - MAME_DIR .. "src/devices/sound/multipcm.h", - } -end - if (SOUNDS["SCSP"]~=null) then files { MAME_DIR .. "src/devices/sound/scsp.cpp", @@ -849,7 +884,7 @@ end --------------------------------------------------- -- Seta custom sound chips --@src/devices/sound/st0016.h,SOUNDS["ST0016"] = true ---@src/devices/sound/nile.h,SOUNDS["NILE"] = true +--@src/devices/sound/setapcm.h,SOUNDS["SETAPCM"] = true --@src/devices/sound/x1_010.h,SOUNDS["X1_010"] = true --------------------------------------------------- @@ -860,10 +895,10 @@ if (SOUNDS["ST0016"]~=null) then } end -if (SOUNDS["NILE"]~=null) then +if (SOUNDS["SETAPCM"]~=null) then files { - MAME_DIR .. "src/devices/sound/nile.cpp", - MAME_DIR .. "src/devices/sound/nile.h", + MAME_DIR .. "src/devices/sound/setapcm.cpp", + MAME_DIR .. "src/devices/sound/setapcm.h", } end @@ -969,6 +1004,18 @@ if (SOUNDS["SP0250"]~=null) then end +--------------------------------------------------- +-- ST-Techno custom sound chip +--@src/devices/sound/stt_sa1.h,SOUNDS["STT_SA1"] = true +--------------------------------------------------- + +if (SOUNDS["STT_SA1"]~=null) then + files { + MAME_DIR .. "src/devices/sound/stt_sa1.cpp", + MAME_DIR .. "src/devices/sound/stt_sa1.h", + } +end + --------------------------------------------------- -- S14001A speech synthesizer @@ -1013,6 +1060,20 @@ end --------------------------------------------------- +-- Silicon Systems SSI-263A HLE +--@src/devices/sound/ssi263hle.h,SOUNDS["SSI263HLE"] = true +--------------------------------------------------- + +if (SOUNDS["SSI263HLE"]~=null) then + files { + MAME_DIR .. "src/devices/sound/ssi263hle.cpp", + MAME_DIR .. "src/devices/sound/ssi263hle.h", + } +end + + + +--------------------------------------------------- -- Texas Instruments TMS36xx doorbell chime --@src/devices/sound/tms36xx.h,SOUNDS["TMS36XX"] = true --------------------------------------------------- @@ -1062,8 +1123,6 @@ if (SOUNDS["TMS5220"]~=null) then MAME_DIR .. "src/devices/sound/tms5220.cpp", MAME_DIR .. "src/devices/sound/tms5220.h", MAME_DIR .. "src/devices/sound/tms5110r.hxx", - MAME_DIR .. "src/devices/machine/spchrom.cpp", - MAME_DIR .. "src/devices/machine/spchrom.h", } end @@ -1107,6 +1166,29 @@ if (SOUNDS["UPD7752"]~=null) then } end +-------------------------------------------------- +-- Virtual analog envelope generators (EGs) +--@src/devices/sound/va_eg.h,SOUNDS["VA_EG"] = true +-------------------------------------------------- + +if (SOUNDS["VA_EG"]~=null) then + files { + MAME_DIR .. "src/devices/sound/va_eg.cpp", + MAME_DIR .. "src/devices/sound/va_eg.h", + } +end + +-------------------------------------------------- +-- Virtual analog voltage-controlled amplifiers (VCAs) +--@src/devices/sound/va_vca.h,SOUNDS["VA_VCA"] = true +-------------------------------------------------- + +if (SOUNDS["VA_VCA"]~=null) then + files { + MAME_DIR .. "src/devices/sound/va_vca.cpp", + MAME_DIR .. "src/devices/sound/va_vca.h", + } +end --------------------------------------------------- -- VLM5030 speech synthesizer @@ -1122,11 +1204,12 @@ if (SOUNDS["VLM5030"]~=null) then end --------------------------------------------------- --- Votrax speech synthesizer ---@src/devices/sound/votrax.h,SOUNDS["VOTRAX"] = true +-- Votrax SC-01[-A] speech synthesizer +--@src/devices/sound/votrax.h,SOUNDS["VOTRAX_SC01"] = true +--@src/devices/sound/votrax.h,SOUNDS["VOTRAX_SC01A"] = true --------------------------------------------------- -if (SOUNDS["VOTRAX"]~=null) then +if (SOUNDS["VOTRAX_SC01"]~=null or SOUNDS["VOTRAX_SC01A"]~=null) then files { MAME_DIR .. "src/devices/sound/votrax.cpp", MAME_DIR .. "src/devices/sound/votrax.h", @@ -1150,7 +1233,7 @@ end --------------------------------------------------- --- WAVE file (used for MESS cassette) +-- WAVE file (used for cassette) --@src/devices/sound/wave.h,SOUNDS["WAVE"] = true --------------------------------------------------- @@ -1165,126 +1248,64 @@ end --------------------------------------------------- -- Yamaha FM synthesizers ---@src/devices/sound/ym2151.h,SOUNDS["YM2151"] = true ---@src/devices/sound/2203intf.h,SOUNDS["YM2203"] = true ---@src/devices/sound/ym2413.h,SOUNDS["YM2413"] = true ---@src/devices/sound/2608intf.h,SOUNDS["YM2608"] = true ---@src/devices/sound/2610intf.h,SOUNDS["YM2610"] = true ---@src/devices/sound/2612intf.h,SOUNDS["YM2612"] = true ---@src/devices/sound/3812intf.h,SOUNDS["YM3812"] = true ---@src/devices/sound/3526intf.h,SOUNDS["YM3526"] = true ---@src/devices/sound/8950intf.h,SOUNDS["Y8950"] = true ---@src/devices/sound/ymf262.h,SOUNDS["YMF262"] = true +--@src/devices/sound/ym2154.h,SOUNDS["YM2154"] = true +--@src/devices/sound/ymopm.h,SOUNDS["YM2151"] = true +--@src/devices/sound/ymopz.h,SOUNDS["YM2414"] = true +--@src/devices/sound/ymopq.h,SOUNDS["YM3806"] = true +--@src/devices/sound/ymopn.h,SOUNDS["YM2203"] = true +--@src/devices/sound/ymopl.h,SOUNDS["YM2413"] = true +--@src/devices/sound/ymopn.h,SOUNDS["YM2608"] = true +--@src/devices/sound/ymopn.h,SOUNDS["YM2610"] = true +--@src/devices/sound/ymopn.h,SOUNDS["YM2612"] = true +--@src/devices/sound/ymopl.h,SOUNDS["YM3526"] = true +--@src/devices/sound/ymopl.h,SOUNDS["YM3812"] = true +--@src/devices/sound/ymopl.h,SOUNDS["YMF262"] = true +--@src/devices/sound/ymopl.h,SOUNDS["YMF278B"] = true --@src/devices/sound/ymf271.h,SOUNDS["YMF271"] = true ---@src/devices/sound/ymf278b.h,SOUNDS["YMF278B"] = true ---@src/devices/sound/262intf.h,SOUNDS["YMF262"] = true +--@src/devices/sound/ymopl.h,SOUNDS["Y8950"] = true --------------------------------------------------- -if (SOUNDS["YM2151"]~=null) then +if (SOUNDS["YM2154"]~=null) then files { - MAME_DIR .. "src/devices/sound/ym2151.cpp", - MAME_DIR .. "src/devices/sound/ym2151.h", + MAME_DIR .. "src/devices/sound/ym2154.cpp", + MAME_DIR .. "src/devices/sound/ym2154.h", } end -if (SOUNDS["YM2413"]~=null) then +if (SOUNDS["YM2151"]~=null or SOUNDS["YM2164"]~=null) then files { - MAME_DIR .. "src/devices/sound/ym2413.cpp", - MAME_DIR .. "src/devices/sound/ym2413.h", + MAME_DIR .. "src/devices/sound/ymopm.cpp", + MAME_DIR .. "src/devices/sound/ymopm.h", } end -if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then ---if (SOUNDS["YM2203"]~=null) then - files { - MAME_DIR .. "src/devices/sound/2203intf.cpp", - MAME_DIR .. "src/devices/sound/2203intf.h", - MAME_DIR .. "src/devices/sound/ay8910.cpp", - MAME_DIR .. "src/devices/sound/ay8910.h", - MAME_DIR .. "src/devices/sound/fm.cpp", - MAME_DIR .. "src/devices/sound/fm.h", - } ---end - - ---if (SOUNDS["YM2608"]~=null) then +if (SOUNDS["YM2414"]~=null) then files { - MAME_DIR .. "src/devices/sound/2608intf.cpp", - MAME_DIR .. "src/devices/sound/2608intf.h", - MAME_DIR .. "src/devices/sound/ay8910.cpp", - MAME_DIR .. "src/devices/sound/ay8910.h", - MAME_DIR .. "src/devices/sound/fm.cpp", - MAME_DIR .. "src/devices/sound/fm.h", - MAME_DIR .. "src/devices/sound/ymdeltat.cpp", - MAME_DIR .. "src/devices/sound/ymdeltat.h", + MAME_DIR .. "src/devices/sound/ymopz.cpp", + MAME_DIR .. "src/devices/sound/ymopz.h", } ---end +end ---if (SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null) then +if (SOUNDS["YM3806"]~=null) then files { - MAME_DIR .. "src/devices/sound/2610intf.cpp", - MAME_DIR .. "src/devices/sound/2610intf.h", - MAME_DIR .. "src/devices/sound/ay8910.cpp", - MAME_DIR .. "src/devices/sound/ay8910.h", - MAME_DIR .. "src/devices/sound/fm.cpp", - MAME_DIR .. "src/devices/sound/fm.h", - MAME_DIR .. "src/devices/sound/ymdeltat.cpp", - MAME_DIR .. "src/devices/sound/ymdeltat.h", + MAME_DIR .. "src/devices/sound/ymopq.cpp", + MAME_DIR .. "src/devices/sound/ymopq.h", } ---end +end ---if (SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then +if (SOUNDS["YM2203"]~=null or SOUNDS["YM2608"]~=null or SOUNDS["YM2610"]~=null or SOUNDS["YM2610B"]~=null or SOUNDS["YM2612"]~=null or SOUNDS["YM3438"]~=null) then files { - MAME_DIR .. "src/devices/sound/2612intf.cpp", - MAME_DIR .. "src/devices/sound/2612intf.h", MAME_DIR .. "src/devices/sound/ay8910.cpp", MAME_DIR .. "src/devices/sound/ay8910.h", - MAME_DIR .. "src/devices/sound/fm2612.cpp", - } ---end -end - -if (SOUNDS["YM3812"]~=null or SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null) then ---if (SOUNDS["YM3812"]~=null) then - files { - MAME_DIR .. "src/devices/sound/3812intf.cpp", - MAME_DIR .. "src/devices/sound/3812intf.h", - MAME_DIR .. "src/devices/sound/fmopl.cpp", - MAME_DIR .. "src/devices/sound/fmopl.h", - MAME_DIR .. "src/devices/sound/ymdeltat.cpp", - MAME_DIR .. "src/devices/sound/ymdeltat.h", + MAME_DIR .. "src/devices/sound/ymopn.cpp", + MAME_DIR .. "src/devices/sound/ymopn.h", } ---end - ---if (SOUNDS["YM3526"]~=null) then - files { - MAME_DIR .. "src/devices/sound/3526intf.cpp", - MAME_DIR .. "src/devices/sound/3526intf.h", - MAME_DIR .. "src/devices/sound/fmopl.cpp", - MAME_DIR .. "src/devices/sound/fmopl.h", - MAME_DIR .. "src/devices/sound/ymdeltat.cpp", - MAME_DIR .. "src/devices/sound/ymdeltat.h", - } ---end - ---if (SOUNDS["Y8950"]~=null) then - files { - MAME_DIR .. "src/devices/sound/8950intf.cpp", - MAME_DIR .. "src/devices/sound/8950intf.h", - MAME_DIR .. "src/devices/sound/fmopl.cpp", - MAME_DIR .. "src/devices/sound/fmopl.h", - MAME_DIR .. "src/devices/sound/ymdeltat.cpp", - MAME_DIR .. "src/devices/sound/ymdeltat.h", - } ---end end -if (SOUNDS["YMF262"]~=null) then +if (SOUNDS["YM3526"]~=null or SOUNDS["Y8950"]~=null or SOUNDS["YM3812"]~=null or SOUNDS["YMF262"]~=null or SOUNDS["YMF278B"]~=null or SOUNDS["YM2413"]~=null or SOUNDS["YM2423"]~=null or SOUNDS["YMF281"]~=null or SOUNDS["DS1001"]~=null) then files { - MAME_DIR .. "src/devices/sound/ymf262.cpp", - MAME_DIR .. "src/devices/sound/ymf262.h", - MAME_DIR .. "src/devices/sound/262intf.cpp", - MAME_DIR .. "src/devices/sound/262intf.h", + MAME_DIR .. "src/devices/sound/ymopl.cpp", + MAME_DIR .. "src/devices/sound/ymopl.h", } end @@ -1295,13 +1316,6 @@ if (SOUNDS["YMF271"]~=null) then } end -if (SOUNDS["YMF278B"]~=null) then - files { - MAME_DIR .. "src/devices/sound/ymf278b.cpp", - MAME_DIR .. "src/devices/sound/ymf278b.h", - } -end - --------------------------------------------------- @@ -1329,6 +1343,45 @@ if (SOUNDS["YMZ770"]~=null) then end --------------------------------------------------- +-- Yamaha GEW series PCM +--@src/devices/sound/gew7.h,SOUNDS["GEW7"] = true +--@src/devices/sound/multipcm.h,SOUNDS["MULTIPCM"] = true +--------------------------------------------------- + +if (SOUNDS["GEW7"]~=null or SOUNDS["MULTIPCM"]~=null) then + files { + MAME_DIR .. "src/devices/sound/gew.cpp", + MAME_DIR .. "src/devices/sound/gew.h", + } +end + +if (SOUNDS["GEW7"]~=null) then + files { + MAME_DIR .. "src/devices/sound/gew7.cpp", + MAME_DIR .. "src/devices/sound/gew7.h", + } +end + +if (SOUNDS["MULTIPCM"]~=null) then + files { + MAME_DIR .. "src/devices/sound/multipcm.cpp", + MAME_DIR .. "src/devices/sound/multipcm.h", + } +end + +--------------------------------------------------- +-- MP3 AUDIO +--@src/devices/sound/mp3_audio.h,SOUNDS["MP3_AUDIO"] = true +--------------------------------------------------- + +if (SOUNDS["MP3_AUDIO"]~=null) then + files { + MAME_DIR .. "src/devices/sound/mp3_audio.cpp", + MAME_DIR .. "src/devices/sound/mp3_audio.h", + } +end + +--------------------------------------------------- -- MPEG AUDIO --@src/devices/sound/mpeg_audio.h,SOUNDS["MPEG_AUDIO"] = true --------------------------------------------------- @@ -1377,18 +1430,6 @@ if (SOUNDS["AD1848"]~=null) then end --------------------------------------------------- --- UPD1771 ---@src/devices/sound/upd1771.h,SOUNDS["UPD1771"] = true ---------------------------------------------------- - -if (SOUNDS["UPD1771"]~=null) then - files { - MAME_DIR .. "src/devices/sound/upd1771.cpp", - MAME_DIR .. "src/devices/sound/upd1771.h", - } -end - ---------------------------------------------------- -- GB_SOUND --@src/devices/sound/gb.h,SOUNDS["GB_SOUND"] = true --------------------------------------------------- @@ -1413,17 +1454,6 @@ if (SOUNDS["PCD3311"]~=null) then end --------------------------------------------------- --- Voltage Regulator ---@src/devices/sound/volt_reg.h,SOUNDS["VOLT_REG"] = true ---------------------------------------------------- -if (SOUNDS["VOLT_REG"]~=null) then - files { - MAME_DIR .. "src/devices/sound/volt_reg.cpp", - MAME_DIR .. "src/devices/sound/volt_reg.h", - } -end - ---------------------------------------------------- -- DAC-76 COMDAC --@src/devices/sound/dac76.h,SOUNDS["DAC76"] = true --------------------------------------------------- @@ -1436,7 +1466,7 @@ end --------------------------------------------------- -- MM5837 Noise Generator ---@src/devices/sound/mm5837.h,MACHINES["MM5837"] = true +--@src/devices/sound/mm5837.h,SOUNDS["MM5837"] = true --------------------------------------------------- if (SOUNDS["MM5837"]~=null) then @@ -1447,18 +1477,6 @@ if (SOUNDS["MM5837"]~=null) then end --------------------------------------------------- --- Intelligent Designs DAVE ---@src/devices/sound/dave.h,MACHINES["DAVE"] = true ---------------------------------------------------- - -if (SOUNDS["DAVE"]~=null) then - files { - MAME_DIR .. "src/devices/sound/dave.cpp", - MAME_DIR .. "src/devices/sound/dave.h", - } -end - ---------------------------------------------------- -- Toshiba TA7630 --@src/devices/sound/ta7630.h,SOUNDS["TA7630"] = true --------------------------------------------------- @@ -1483,6 +1501,54 @@ if (SOUNDS["LC7535"]~=null) then end --------------------------------------------------- +-- Sanyo LC78836M +--@src/devices/sound/lc78836m.h,SOUNDS["LC78836M"] = true +--------------------------------------------------- + +if (SOUNDS["LC78836M"]~=null) then + files { + MAME_DIR .. "src/devices/sound/lc78836m.cpp", + MAME_DIR .. "src/devices/sound/lc78836m.h", + } +end + +--------------------------------------------------- +-- Sanyo LC82310 +--@src/devices/sound/lc82310.h,SOUNDS["LC82310"] = true +--------------------------------------------------- + +if (SOUNDS["LC82310"]~=null) then + files { + MAME_DIR .. "src/devices/sound/lc82310.cpp", + MAME_DIR .. "src/devices/sound/lc82310.h", + } +end + +--------------------------------------------------- +-- NEC uPD931 +--@src/devices/sound/upd931.h,SOUNDS["UPD931"] = true +--------------------------------------------------- + +if (SOUNDS["UPD931"]~=null) then + files { + MAME_DIR .. "src/devices/sound/upd931.cpp", + MAME_DIR .. "src/devices/sound/upd931.h", + } +end + +--------------------------------------------------- +-- NEC uPD933 +--@src/devices/sound/upd933.h,SOUNDS["UPD933"] = true +--------------------------------------------------- + +if (SOUNDS["UPD933"]~=null) then + files { + MAME_DIR .. "src/devices/sound/upd933.cpp", + MAME_DIR .. "src/devices/sound/upd933.h", + } +end + +--------------------------------------------------- -- NEC uPD934G --@src/devices/sound/upd934g.h,SOUNDS["UPD934G"] = true --------------------------------------------------- @@ -1532,12 +1598,228 @@ end --------------------------------------------------- -- ---@src/devices/sound/swp30.h,SOUNDS["SWP30"] = true +--@src/devices/sound/swx00.h,SOUNDS["SWX00"] = true +--------------------------------------------------- + +if (SOUNDS["SWX00"]~=null) then + files { + MAME_DIR .. "src/devices/sound/swx00.cpp", + MAME_DIR .. "src/devices/sound/swx00.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/meg.h,SOUNDS["MEG"] = true +--------------------------------------------------- + +if (SOUNDS["MEG"]~=null) then + files { + MAME_DIR .. "src/devices/sound/meg.cpp", + MAME_DIR .. "src/devices/sound/meg.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/xt446.h,SOUNDS["XT446"] = true +--------------------------------------------------- + +if (SOUNDS["XT446"]~=null) then + files { + MAME_DIR .. "src/devices/sound/xt446.cpp", + MAME_DIR .. "src/devices/sound/xt446.h", + } +end + +--------------------------------------------------- +-- Roland GP-based sample players +--@src/devices/sound/roland_gp.h,SOUNDS["ROLANDGP"] = true +--------------------------------------------------- + +if (SOUNDS["ROLANDGP"]~=null) then + files { + MAME_DIR .. "src/devices/sound/roland_gp.cpp", + MAME_DIR .. "src/devices/sound/roland_gp.h", + } +end + +--------------------------------------------------- +-- Roland LP-based sample players +--@src/devices/sound/roland_lp.h,SOUNDS["ROLANDLP"] = true +--------------------------------------------------- + +if (SOUNDS["ROLANDLP"]~=null) then + files { + MAME_DIR .. "src/devices/sound/roland_lp.cpp", + MAME_DIR .. "src/devices/sound/roland_lp.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/vgm_visualizer.h,SOUNDS["VGMVIZ"] = true +--------------------------------------------------- + +if (SOUNDS["VGMVIZ"]~=null) then + files { + MAME_DIR .. "src/devices/sound/vgm_visualizer.cpp", + MAME_DIR .. "src/devices/sound/vgm_visualizer.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/s_dsp.h,SOUNDS["S_DSP"] = true +--------------------------------------------------- + +if (SOUNDS["S_DSP"]~=null) then + files { + MAME_DIR .. "src/devices/sound/s_dsp.cpp", + MAME_DIR .. "src/devices/sound/s_dsp.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/ks0164.h,SOUNDS["KS0164"] = true +--------------------------------------------------- + +if (SOUNDS["KS0164"]~=null) then + files { + MAME_DIR .. "src/devices/sound/ks0164.cpp", + MAME_DIR .. "src/devices/sound/ks0164.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/rp2c33_snd.h,SOUNDS["RP2C33_SOUND"] = true +--------------------------------------------------- + +if (SOUNDS["RP2C33_SOUND"]~=null) then + files { + MAME_DIR .. "src/devices/sound/rp2c33_snd.cpp", + MAME_DIR .. "src/devices/sound/rp2c33_snd.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/tt5665.h,SOUNDS["TT5665"] = true +--------------------------------------------------- + +if (SOUNDS["TT5665"]~=null) then + files { + MAME_DIR .. "src/devices/sound/tt5665.cpp", + MAME_DIR .. "src/devices/sound/tt5665.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/uda1344.h,SOUNDS["UDA1344"] = true +--------------------------------------------------- + +if (SOUNDS["UDA1344"]~=null) then + files { + MAME_DIR .. "src/devices/sound/uda1344.cpp", + MAME_DIR .. "src/devices/sound/uda1344.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/lynx.h,SOUNDS["LYNX"] = true +--------------------------------------------------- + +if (SOUNDS["LYNX"]~=null) then + files { + MAME_DIR .. "src/devices/sound/lynx.cpp", + MAME_DIR .. "src/devices/sound/lynx.h", + } +end + +--------------------------------------------------- +-- +--@src/devices/sound/nn71003f.h,SOUNDS["NN71003F"] = true +--------------------------------------------------- + +if (SOUNDS["NN71003F"]~=null) then + files { + MAME_DIR .. "src/devices/sound/nn71003f.cpp", + MAME_DIR .. "src/devices/sound/nn71003f.h", + } +end + +--------------------------------------------------- +-- AP2010 +--@src/devices/sound/ap2010pcm.h,SOUNDS["AP2010"] = true +--------------------------------------------------- + +if (SOUNDS["AP2010"]~=null) then + files { + MAME_DIR .. "src/devices/sound/ap2010pcm.cpp", + MAME_DIR .. "src/devices/sound/ap2010pcm.h", + } +end + +--------------------------------------------------- +-- Texas Instruments CF61909 +--@src/devices/sound/cf61909.h,SOUNDS["CF61909"] = true +--------------------------------------------------- + +if (SOUNDS["CF61909"]~=null) then + files { + MAME_DIR .. "src/devices/sound/cf61909.cpp", + MAME_DIR .. "src/devices/sound/cf61909.h", + } +end + +--------------------------------------------------- +-- NEC uPD65043GF-U01 +--@src/devices/sound/upd65043gfu01.h,SOUNDS["UPD65043GFU01"] = true +--------------------------------------------------- + +if (SOUNDS["UPD65043GFU01"]~=null) then + files { + MAME_DIR .. "src/devices/sound/upd65043gfu01.cpp", + MAME_DIR .. "src/devices/sound/upd65043gfu01.h", + } +end + +--------------------------------------------------- +-- Casio GT155 +--@src/devices/sound/gt155.h,SOUNDS["GT155"] = true +--------------------------------------------------- + +if (SOUNDS["GT155"]~=null) then + files { + MAME_DIR .. "src/devices/sound/gt155.cpp", + MAME_DIR .. "src/devices/sound/gt155.h", + } +end + +--------------------------------------------------- +-- Nintendo MMC5 Sound +--@src/devices/sound/mmc5.h,SOUNDS["MMC5"] = true +--------------------------------------------------- + +if (SOUNDS["MMC5"]~=null) then + files { + MAME_DIR .. "src/devices/sound/mmc5.cpp", + MAME_DIR .. "src/devices/sound/mmc5.h", + } +end + +--------------------------------------------------- +-- ADCs +--@src/devices/sound/adc.h,SOUNDS["ADC"] = true --------------------------------------------------- -if (SOUNDS["SWP30"]~=null) then +if (SOUNDS["ADC"]~=null) then files { - MAME_DIR .. "src/devices/sound/swp30.cpp", - MAME_DIR .. "src/devices/sound/swp30.h", + MAME_DIR .. "src/devices/sound/adc.cpp", + MAME_DIR .. "src/devices/sound/adc.h", } end diff --git a/scripts/src/tests.lua b/scripts/src/tests.lua index 6d964737079..b0164f6946a 100644 --- a/scripts/src/tests.lua +++ b/scripts/src/tests.lua @@ -21,37 +21,13 @@ project("mametests") targetdir(MAME_DIR) end - configuration { "x64", "Release" } - targetsuffix "64" - if _OPTIONS["PROFILE"] then - targetsuffix "64p" - end - - configuration { "x64", "Debug" } - targetsuffix "64d" - if _OPTIONS["PROFILE"] then - targetsuffix "64dp" - end - - configuration { "x32", "Release" } - targetsuffix "" - if _OPTIONS["PROFILE"] then - targetsuffix "p" - end - - configuration { "x32", "Debug" } - targetsuffix "d" - if _OPTIONS["PROFILE"] then - targetsuffix "dp" - end - - configuration { "Native", "Release" } + configuration { "Release" } targetsuffix "" if _OPTIONS["PROFILE"] then targetsuffix "p" end - configuration { "Native", "Debug" } + configuration { "Debug" } targetsuffix "d" if _OPTIONS["PROFILE"] then targetsuffix "dp" @@ -60,10 +36,6 @@ project("mametests") configuration { "mingw*" or "vs*" } targetextension ".exe" - configuration { "rpi" } - targetextension "" - - configuration { } links { diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index aa966e7763b..e2340724e0c 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -31,6 +31,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("utf8proc"), } @@ -72,6 +73,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -160,6 +162,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -205,6 +208,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -251,6 +255,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -356,46 +361,6 @@ configuration { } strip() -------------------------------------------------- --- src2html --------------------------------------------------- - -project("src2html") -uuid ("b31e963a-09ef-4696-acbd-e663e35ce6f7") -kind "ConsoleApp" - -flags { - "Symbols", -- always include minimum symbols for executables -} - -if _OPTIONS["SEPARATE_BIN"]~="1" then - targetdir(MAME_DIR) -end - -links { - "utils", - ext_lib("expat"), - "ocore_" .. _OPTIONS["osd"], - ext_lib("zlib"), - ext_lib("utf8proc"), -} - -includedirs { - MAME_DIR .. "src/osd", - MAME_DIR .. "src/lib/util", -} - -files { - MAME_DIR .. "src/tools/src2html.cpp", -} - -configuration { "mingw*" or "vs*" } - targetextension ".exe" - -configuration { } - -strip() - --------------------------------------------------- -- split -------------------------------------------------- @@ -417,6 +382,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -499,7 +465,11 @@ links { includedirs { MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/netlist", + MAME_DIR .. "src/lib/netlist", +} + +defines { + "NL_DISABLE_DYNAMIC_LOAD=1", } files { @@ -507,13 +477,13 @@ files { } configuration { "mingw*" } - linkoptions{ - "-municode", - } + linkoptions{ + "-municode", + } configuration { "vs*" } - flags { - "Unicode", - } + flags { + "Unicode", + } configuration { "mingw*" or "vs*" } targetextension ".exe" @@ -544,7 +514,7 @@ links { includedirs { MAME_DIR .. "src/lib", - MAME_DIR .. "src/lib/netlist", + MAME_DIR .. "src/lib/netlist", } files { @@ -552,13 +522,13 @@ files { } configuration { "mingw*" } - linkoptions{ - "-municode", - } + linkoptions{ + "-municode", + } configuration { "vs*" } - flags { - "Unicode", - } + flags { + "Unicode", + } configuration { "mingw*" or "vs*" } targetextension ".exe" @@ -590,6 +560,7 @@ links { "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -629,12 +600,12 @@ end links { "formats", - "emu", "utils", ext_lib("expat"), "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -646,7 +617,10 @@ includedirs { } files { + MAME_DIR .. "src/tools/image_handler.cpp", + MAME_DIR .. "src/tools/image_handler.h", MAME_DIR .. "src/tools/floptool.cpp", + GEN_DIR .. "version.cpp", } configuration { "mingw*" or "vs*" } @@ -674,12 +648,12 @@ end links { "formats", - "emu", "utils", ext_lib("expat"), "7z", "ocore_" .. _OPTIONS["osd"], ext_lib("zlib"), + ext_lib("zstd"), ext_lib("flac"), ext_lib("utf8proc"), } @@ -715,15 +689,16 @@ files { MAME_DIR .. "src/tools/imgtool/imghd.h", MAME_DIR .. "src/tools/imgtool/charconv.cpp", MAME_DIR .. "src/tools/imgtool/charconv.h", - MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.cpp", - MAME_DIR .. "src/tools/imgtool/formats/vt_dsk.h", + MAME_DIR .. "src/tools/imgtool/formats/vt_dsk_legacy.cpp", + MAME_DIR .. "src/tools/imgtool/formats/vt_dsk_legacy.h", MAME_DIR .. "src/tools/imgtool/formats/coco_dsk.cpp", MAME_DIR .. "src/tools/imgtool/formats/coco_dsk.h", + MAME_DIR .. "src/tools/imgtool/formats/pc_dsk_legacy.cpp", + MAME_DIR .. "src/tools/imgtool/formats/pc_dsk_legacy.h", MAME_DIR .. "src/tools/imgtool/modules/amiga.cpp", - MAME_DIR .. "src/tools/imgtool/modules/macbin.cpp", MAME_DIR .. "src/tools/imgtool/modules/rsdos.cpp", + MAME_DIR .. "src/tools/imgtool/modules/dgndos.cpp", MAME_DIR .. "src/tools/imgtool/modules/os9.cpp", - MAME_DIR .. "src/tools/imgtool/modules/mac.cpp", MAME_DIR .. "src/tools/imgtool/modules/ti99.cpp", MAME_DIR .. "src/tools/imgtool/modules/ti990hd.cpp", MAME_DIR .. "src/tools/imgtool/modules/concept.cpp", @@ -731,11 +706,8 @@ files { MAME_DIR .. "src/tools/imgtool/modules/fat.h", MAME_DIR .. "src/tools/imgtool/modules/pc_flop.cpp", MAME_DIR .. "src/tools/imgtool/modules/pc_hard.cpp", - MAME_DIR .. "src/tools/imgtool/modules/prodos.cpp", MAME_DIR .. "src/tools/imgtool/modules/vzdos.cpp", MAME_DIR .. "src/tools/imgtool/modules/thomson.cpp", - MAME_DIR .. "src/tools/imgtool/modules/macutil.cpp", - MAME_DIR .. "src/tools/imgtool/modules/macutil.h", MAME_DIR .. "src/tools/imgtool/modules/cybiko.cpp", MAME_DIR .. "src/tools/imgtool/modules/cybikoxt.cpp", MAME_DIR .. "src/tools/imgtool/modules/psion.cpp", @@ -775,7 +747,7 @@ if _OPTIONS["targetos"] == "macosx" then } dependency { - { "aueffectutil", MAME_DIR .. "src/tools/aueffectutil-Info.plist", true }, + { "aueffectutil", MAME_DIR .. "src/tools/aueffectutil-Info.plist", true }, } links { @@ -813,19 +785,17 @@ if (_OPTIONS["osd"] == "sdl") then end links { + "utils", "ocore_" .. _OPTIONS["osd"], ext_lib("utf8proc"), } if _OPTIONS["targetos"]=="windows" then - if _OPTIONS["with-bundled-sdl2"]~=nil then + if _OPTIONS["USE_LIBSDL"]~="1" then configuration { "mingw*"} links { + "SDL2main", "SDL2", - "imm32", - "version", - "ole32", - "oleaut32", } configuration { "vs*" } links { @@ -835,47 +805,25 @@ if (_OPTIONS["osd"] == "sdl") then } configuration { } else - if _OPTIONS["USE_LIBSDL"]~="1" then - configuration { "mingw*"} - links { - "SDL2main", - "SDL2", - } - configuration { "vs*" } - links { - "SDL2", - "imm32", - "version", - } - configuration { } - else - local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'") - addlibfromstring(str) - addoptionsfromstring(str) - end - configuration { "x32", "vs*" } - libdirs { - path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") - } - configuration { "x64", "vs*" } - libdirs { - path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64") - } + local str = backtick(sdlconfigcmd() .. " --libs | sed 's/ -lSDLmain//'") + addlibfromstring(str) + addoptionsfromstring(str) end - end - - if BASE_TARGETOS=="unix" then - if _OPTIONS["with-bundled-sdl2"]~=nil then - links { - "SDL2", + configuration { "x32", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") + } + configuration { "x64", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64") } - end end dofile("osd/sdl_cfg.lua") includedirs { MAME_DIR .. "src/osd", + MAME_DIR .. "src/lib/util", } files { diff --git a/scripts/src/video.lua b/scripts/src/video.lua index d4c4920002a..1c5c7e53eff 100644 --- a/scripts/src/video.lua +++ b/scripts/src/video.lua @@ -10,6 +10,8 @@ --------------------------------------------------------------------------- files { + MAME_DIR .. "src/devices/video/cgapal.cpp", + MAME_DIR .. "src/devices/video/cgapal.h", MAME_DIR .. "src/devices/video/poly.h", MAME_DIR .. "src/devices/video/sprite.cpp", MAME_DIR .. "src/devices/video/sprite.h", @@ -55,6 +57,18 @@ end -------------------------------------------------- -- +--@src/devices/video/atirage.h,VIDEOS["ATIRAGE"] = true +-------------------------------------------------- + +if (VIDEOS["ATIRAGE"]~=null) then + files { + MAME_DIR .. "src/devices/video/atirage.cpp", + MAME_DIR .. "src/devices/video/atirage.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/bufsprite.h,VIDEOS["BUFSPRITE"] = true -------------------------------------------------- @@ -185,6 +199,18 @@ if (VIDEOS["DP8350"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/video/ds8874.h,VIDEOS["DS8874"] = true +--------------------------------------------------- + +if (VIDEOS["DS8874"]~=null) then + files { + MAME_DIR .. "src/devices/video/ds8874.cpp", + MAME_DIR .. "src/devices/video/ds8874.h", + } +end + -------------------------------------------------- -- --@src/devices/video/ef9340_1.h,VIDEOS["EF9340_1"] = true @@ -234,28 +260,6 @@ if (VIDEOS["EF9365"]~=null) then end -------------------------------------------------- ---@src/devices/video/epic12.h,VIDEOS["EPIC12"] = true --------------------------------------------------- - -if (VIDEOS["EPIC12"]~=null) then - files { - MAME_DIR .. "src/devices/video/epic12.cpp", - MAME_DIR .. "src/devices/video/epic12.h", - MAME_DIR .. "src/devices/video/epic12_blit0.cpp", - MAME_DIR .. "src/devices/video/epic12_blit1.cpp", - MAME_DIR .. "src/devices/video/epic12_blit2.cpp", - MAME_DIR .. "src/devices/video/epic12_blit3.cpp", - MAME_DIR .. "src/devices/video/epic12_blit4.cpp", - MAME_DIR .. "src/devices/video/epic12_blit5.cpp", - MAME_DIR .. "src/devices/video/epic12_blit6.cpp", - MAME_DIR .. "src/devices/video/epic12_blit7.cpp", - MAME_DIR .. "src/devices/video/epic12_blit8.cpp", - MAME_DIR .. "src/devices/video/epic12in.hxx", - MAME_DIR .. "src/devices/video/epic12pixel.hxx", - } -end - --------------------------------------------------- -- --@src/devices/video/fixfreq.h,VIDEOS["FIXFREQ"] = true -------------------------------------------------- @@ -293,18 +297,6 @@ end -------------------------------------------------- -- ---@src/devices/video/mga2064w.h,VIDEOS["MGA2064W"] = true --------------------------------------------------- - -if (VIDEOS["MGA2064W"]~=null) then - files { - MAME_DIR .. "src/devices/video/mga2064w.cpp", - MAME_DIR .. "src/devices/video/mga2064w.h", - } -end - --------------------------------------------------- --- --@src/devices/video/nt7534.h,VIDEOS["NT7534"] = true -------------------------------------------------- @@ -353,6 +345,30 @@ end -------------------------------------------------- -- +--@src/devices/video/hd61202.h,VIDEOS["HD61202"] = true +-------------------------------------------------- + +if (VIDEOS["HD61202"]~=null) then + files { + MAME_DIR .. "src/devices/video/hd61202.cpp", + MAME_DIR .. "src/devices/video/hd61202.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/hd61603.h,VIDEOS["HD61603"] = true +-------------------------------------------------- + +if (VIDEOS["HD61603"]~=null) then + files { + MAME_DIR .. "src/devices/video/hd61603.cpp", + MAME_DIR .. "src/devices/video/hd61603.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/hd61830.h,VIDEOS["HD61830"] = true -------------------------------------------------- @@ -389,6 +405,30 @@ end -------------------------------------------------- -- +--@src/devices/video/hlcd0438.h,VIDEOS["HLCD0438"] = true +-------------------------------------------------- + +if (VIDEOS["HLCD0438"]~=null) then + files { + MAME_DIR .. "src/devices/video/hlcd0438.cpp", + MAME_DIR .. "src/devices/video/hlcd0438.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/hlcd0488.h,VIDEOS["HLCD0488"] = true +-------------------------------------------------- + +if (VIDEOS["HLCD0488"]~=null) then + files { + MAME_DIR .. "src/devices/video/hlcd0488.cpp", + MAME_DIR .. "src/devices/video/hlcd0488.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/hlcd0515.h,VIDEOS["HLCD0515"] = true -------------------------------------------------- @@ -545,6 +585,54 @@ end -------------------------------------------------- -- +--@src/devices/video/k051316.h,VIDEOS["K051316"] = true +-------------------------------------------------- + +if (VIDEOS["K051316"]~=null) then + files { + MAME_DIR .. "src/devices/video/k051316.cpp", + MAME_DIR .. "src/devices/video/k051316.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/k053936.h,VIDEOS["K053936"] = true +-------------------------------------------------- + +if (VIDEOS["K053936"]~=null) then + files { + MAME_DIR .. "src/devices/video/k053936.cpp", + MAME_DIR .. "src/devices/video/k053936.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/lc7580.h,VIDEOS["LC7580"] = true +-------------------------------------------------- + +if (VIDEOS["LC7580"]~=null) then + files { + MAME_DIR .. "src/devices/video/lc7580.cpp", + MAME_DIR .. "src/devices/video/lc7580.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/lc7985.h,VIDEOS["LC7985"] = true +-------------------------------------------------- + +if (VIDEOS["LC7985"]~=null) then + files { + MAME_DIR .. "src/devices/video/lc7985.cpp", + MAME_DIR .. "src/devices/video/lc7985.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/m50458.h,VIDEOS["M50458"] = true -------------------------------------------------- @@ -557,6 +645,18 @@ end --------------------------------------------------- -- +--@src/devices/video/mb86292.h,VIDEOS["MB86292"] = true +--------------------------------------------------- + +if (VIDEOS["MB86292"]~=null) then + files { + MAME_DIR .. "src/devices/video/mb86292.cpp", + MAME_DIR .. "src/devices/video/mb86292.h", + } +end + +--------------------------------------------------- +-- --@src/devices/video/mb88303.h,VIDEOS["MB88303"] = true --------------------------------------------------- @@ -593,6 +693,18 @@ end -------------------------------------------------- -- +--@src/devices/video/mc68328lcd.h,VIDEOS["MC68328LCD"] = true +-------------------------------------------------- + +if (VIDEOS["MC68328LCD"]~=null) then + files { + MAME_DIR .. "src/devices/video/mc68328lcd.cpp", + MAME_DIR .. "src/devices/video/mc68328lcd.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/mc6845.h,VIDEOS["MC6845"] = true -------------------------------------------------- @@ -675,11 +787,29 @@ if (VIDEOS["MOS6566"]~=null) then } end +-------------------------------------------------- +-- +--@src/devices/video/mos8563.h,VIDEOS["MOS8563"] = true +-------------------------------------------------- -files { - MAME_DIR .. "src/devices/video/cgapal.cpp", - MAME_DIR .. "src/devices/video/cgapal.h", -} +if (VIDEOS["MOS8563"]~=null) then + files { + MAME_DIR .. "src/devices/video/mos8563.cpp", + MAME_DIR .. "src/devices/video/mos8563.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/mn1252.h,VIDEOS["MN1252"] = true +-------------------------------------------------- + +if (VIDEOS["MN1252"]~=null) then + files { + MAME_DIR .. "src/devices/video/mn1252.cpp", + MAME_DIR .. "src/devices/video/mn1252.h", + } +end -------------------------------------------------- -- @@ -690,27 +820,228 @@ if (VIDEOS["PC_VGA"]~=null) then files { MAME_DIR .. "src/devices/video/pc_vga.cpp", MAME_DIR .. "src/devices/video/pc_vga.h", - MAME_DIR .. "src/devices/bus/isa/trident.cpp", - MAME_DIR .. "src/devices/bus/isa/trident.h", - MAME_DIR .. "src/devices/video/clgd542x.cpp", - MAME_DIR .. "src/devices/video/clgd542x.h", } end -------------------------------------------------- -- ---@src/devices/video/virge_pci.h,VIDEOS["VIRGE_PCI"] = true +--@src/devices/video/pc_vga_alliance.h,VIDEOS["PC_VGA_ALLIANCE"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_ALLIANCE"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_alliance.cpp", + MAME_DIR .. "src/devices/video/pc_vga_alliance.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_ati.h,VIDEOS["PC_VGA_ATI"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_ATI"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_ati.cpp", + MAME_DIR .. "src/devices/video/pc_vga_ati.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/ibm8514a.h,VIDEOS["IBM8514A"] = true +-------------------------------------------------- + +if (VIDEOS["IBM8514A"]~=null) then + files { + MAME_DIR .. "src/devices/video/ibm8514a.cpp", + MAME_DIR .. "src/devices/video/ibm8514a.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/ati_mach8.h,VIDEOS["ATI_MACH8"] = true +-------------------------------------------------- + +if (VIDEOS["ATI_MACH8"]~=null) then + files { + MAME_DIR .. "src/devices/video/ati_mach8.cpp", + MAME_DIR .. "src/devices/video/ati_mach8.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/ati_mach8.h,VIDEOS["ATI_MACH32"] = true +-------------------------------------------------- + +if (VIDEOS["ATI_MACH32"]~=null) then + files { + MAME_DIR .. "src/devices/video/ati_mach32.cpp", + MAME_DIR .. "src/devices/video/ati_mach32.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_cirrus.h,VIDEOS["PC_VGA_CIRRUS"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_CIRRUS"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_cirrus.cpp", + MAME_DIR .. "src/devices/video/pc_vga_cirrus.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_matrox.h,VIDEOS["PC_VGA_MATROX"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_MATROX"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_matrox.cpp", + MAME_DIR .. "src/devices/video/pc_vga_matrox.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_mediagx.h,VIDEOS["PC_VGA_MEDIAGX"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_MEDIAGX"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_mediagx.cpp", + MAME_DIR .. "src/devices/video/pc_vga_mediagx.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_nvidia.h,VIDEOS["PC_VGA_NVIDIA"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_NVIDIA"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_nvidia.cpp", + MAME_DIR .. "src/devices/video/pc_vga_nvidia.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_oak.h,VIDEOS["PC_VGA_OAK"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_OAK"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_oak.cpp", + MAME_DIR .. "src/devices/video/pc_vga_oak.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_paradise.h,VIDEOS["PC_VGA_PARADISE"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_PARADISE"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_paradise.cpp", + MAME_DIR .. "src/devices/video/pc_vga_paradise.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/wd90c26.h,VIDEOS["WD90C26"] = true +-------------------------------------------------- + +if (VIDEOS["WD90C26"]~=null) then + files { + MAME_DIR .. "src/devices/video/wd90c26.cpp", + MAME_DIR .. "src/devices/video/wd90c26.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_s3.h,VIDEOS["PC_VGA_S3"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_S3"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_s3.cpp", + MAME_DIR .. "src/devices/video/pc_vga_s3.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/s3virge.h,VIDEOS["S3VIRGE"] = true +-------------------------------------------------- + +if (VIDEOS["S3VIRGE"]~=null) then + files { + MAME_DIR .. "src/devices/video/s3virge.cpp", + MAME_DIR .. "src/devices/video/s3virge.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_sis.h,VIDEOS["PC_VGA_SIS"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_SIS"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_sis.cpp", + MAME_DIR .. "src/devices/video/pc_vga_sis.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_vga_trident.h,VIDEOS["PC_VGA_TRIDENT"] = true -------------------------------------------------- -if (VIDEOS["VIRGE_PCI"]~=null) then +if (VIDEOS["PC_VGA_TRIDENT"]~=null) then files { - MAME_DIR .. "src/devices/video/virge_pci.cpp", - MAME_DIR .. "src/devices/video/virge_pci.h", + MAME_DIR .. "src/devices/video/pc_vga_trident.cpp", + MAME_DIR .. "src/devices/video/pc_vga_trident.h", } end -------------------------------------------------- -- +--@src/devices/video/pc_vga_tseng.h,VIDEOS["PC_VGA_TSENG"] = true +-------------------------------------------------- + +if (VIDEOS["PC_VGA_TSENG"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_vga_tseng.cpp", + MAME_DIR .. "src/devices/video/pc_vga_tseng.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/pc_xga.h,VIDEOS["PC_XGA"] = true +-------------------------------------------------- + +if (VIDEOS["PC_XGA"]~=null) then + files { + MAME_DIR .. "src/devices/video/pc_xga.cpp", + MAME_DIR .. "src/devices/video/pc_xga.h", + } +end + + +-------------------------------------------------- +-- --@src/devices/video/pcd8544.h,VIDEOS["PCD8544"] = true -------------------------------------------------- @@ -723,13 +1054,13 @@ end -------------------------------------------------- -- ---@src/devices/video/polylgcy.h,VIDEOS["POLY"] = true +--@src/devices/video/pcf2100.h,VIDEOS["PCF2100"] = true -------------------------------------------------- -if (VIDEOS["POLY"]~=null) then +if (VIDEOS["PCF2100"]~=null) then files { - MAME_DIR .. "src/devices/video/polylgcy.cpp", - MAME_DIR .. "src/devices/video/polylgcy.h", + MAME_DIR .. "src/devices/video/pcf2100.cpp", + MAME_DIR .. "src/devices/video/pcf2100.h", } end @@ -771,6 +1102,42 @@ end -------------------------------------------------- -- +--@src/devices/video/saa5240.h,VIDEOS["SAA5240"] = true +-------------------------------------------------- + +if (VIDEOS["SAA5240"]~=null) then + files { + MAME_DIR .. "src/devices/video/saa5240.cpp", + MAME_DIR .. "src/devices/video/saa5240.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/saa7110.h,VIDEOS["SAA7110"] = true +-------------------------------------------------- + +if (VIDEOS["SAA7110"]~=null) then + files { + MAME_DIR .. "src/devices/video/saa7110.cpp", + MAME_DIR .. "src/devices/video/saa7110.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/sn74s262.h,VIDEOS["SN74S262"] = true +-------------------------------------------------- + +if (VIDEOS["SN74S262"]~=null) then + files { + MAME_DIR .. "src/devices/video/sn74s262.cpp", + MAME_DIR .. "src/devices/video/sn74s262.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/pwm.h,VIDEOS["PWM_DISPLAY"] = true -------------------------------------------------- if (VIDEOS["PWM_DISPLAY"]~=null) then @@ -804,6 +1171,39 @@ end -------------------------------------------------- -- +--@src/devices/video/sed1356.h,VIDEOS["SED1356"] = true +-------------------------------------------------- +if (VIDEOS["SED1356"]~=null) then + files { + MAME_DIR .. "src/devices/video/sed1356.cpp", + MAME_DIR .. "src/devices/video/sed1356.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/sed1375.h,VIDEOS["SED1375"] = true +-------------------------------------------------- +if (VIDEOS["SED1375"]~=null) then + files { + MAME_DIR .. "src/devices/video/sed1375.cpp", + MAME_DIR .. "src/devices/video/sed1375.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/sed1500.h,VIDEOS["SED1500"] = true +-------------------------------------------------- +if (VIDEOS["SED1500"]~=null) then + files { + MAME_DIR .. "src/devices/video/sed1500.cpp", + MAME_DIR .. "src/devices/video/sed1500.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/sed1520.h,VIDEOS["SED1520"] = true -------------------------------------------------- if (VIDEOS["SED1520"]~=null) then @@ -848,21 +1248,6 @@ end -------------------------------------------------- -- ---@src/devices/video/stvvdp1.h,VIDEOS["STVVDP"] = true ---@src/devices/video/stvvdp2.h,VIDEOS["STVVDP"] = true --------------------------------------------------- - -if (VIDEOS["STVVDP"]~=null) then - files { - MAME_DIR .. "src/devices/video/stvvdp1.cpp", - MAME_DIR .. "src/devices/video/stvvdp1.h", - MAME_DIR .. "src/devices/video/stvvdp2.cpp", - MAME_DIR .. "src/devices/video/stvvdp2.h", - } -end - --------------------------------------------------- --- --@src/devices/video/t6963c.h,VIDEOS["T6963C"] = true -------------------------------------------------- @@ -911,6 +1296,18 @@ end -------------------------------------------------- -- +--@src/devices/video/tmap038.h,VIDEOS["TMAP038"] = true +-------------------------------------------------- + +if (VIDEOS["TMAP038"]~=null) then + files { + MAME_DIR .. "src/devices/video/tmap038.cpp", + MAME_DIR .. "src/devices/video/tmap038.h", + } +end + +-------------------------------------------------- +-- --@src/devices/video/tms34061.h,VIDEOS["TMS34061"] = true -------------------------------------------------- @@ -995,18 +1392,6 @@ end -------------------------------------------------- -- ---@src/devices/video/vic4567.h,VIDEOS["VIC4567"] = true --------------------------------------------------- - -if (VIDEOS["VIC4567"]~=null) then - files { - MAME_DIR .. "src/devices/video/vic4567.cpp", - MAME_DIR .. "src/devices/video/vic4567.h", - } -end - --------------------------------------------------- --- --@src/devices/video/v9938.h,VIDEOS["V9938"] = true -------------------------------------------------- @@ -1038,7 +1423,13 @@ if (VIDEOS["VOODOO"]~=null) then files { MAME_DIR .. "src/devices/video/voodoo.cpp", MAME_DIR .. "src/devices/video/voodoo.h", - MAME_DIR .. "src/devices/video/vooddefs.h", + MAME_DIR .. "src/devices/video/voodoo_2.cpp", + MAME_DIR .. "src/devices/video/voodoo_2.h", + MAME_DIR .. "src/devices/video/voodoo_banshee.cpp", + MAME_DIR .. "src/devices/video/voodoo_banshee.h", + MAME_DIR .. "src/devices/video/voodoo_regs.h", + MAME_DIR .. "src/devices/video/voodoo_render.cpp", + MAME_DIR .. "src/devices/video/voodoo_render.h", } end @@ -1125,6 +1516,20 @@ if (VIDEOS["PPU2C0X"]~=null) then MAME_DIR .. "src/devices/video/ppu2c0x.h", MAME_DIR .. "src/devices/video/ppu2c0x_vt.cpp", MAME_DIR .. "src/devices/video/ppu2c0x_vt.h", + MAME_DIR .. "src/devices/video/ppu2c0x_sh6578.cpp", + MAME_DIR .. "src/devices/video/ppu2c0x_sh6578.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/bt431.h,VIDEOS["BT431"] = true +-------------------------------------------------- + +if (VIDEOS["BT431"]~=null) then + files { + MAME_DIR .. "src/devices/video/bt431.cpp", + MAME_DIR .. "src/devices/video/bt431.h", } end @@ -1142,37 +1547,61 @@ end -------------------------------------------------- -- ---@src/devices/video/imagetek_i4100.h,VIDEOS["I4100"] = true +--@src/devices/video/bt45x.h,VIDEOS["BT45X"] = true -------------------------------------------------- -if (VIDEOS["I4100"]~=null) then +if (VIDEOS["BT45X"]~=null) then files { - MAME_DIR .. "src/devices/video/imagetek_i4100.cpp", - MAME_DIR .. "src/devices/video/imagetek_i4100.h", + MAME_DIR .. "src/devices/video/bt45x.cpp", + MAME_DIR .. "src/devices/video/bt45x.h", } end -------------------------------------------------- -- ---@src/devices/video/dp8510.h,VIDEOS["DP8510"] = true +--@src/devices/video/bt47x.h,VIDEOS["BT47X"] = true -------------------------------------------------- -if (VIDEOS["DP8510"]~=null) then +if (VIDEOS["BT47X"]~=null) then files { - MAME_DIR .. "src/devices/video/dp8510.cpp", - MAME_DIR .. "src/devices/video/dp8510.h", + MAME_DIR .. "src/devices/video/bt47x.cpp", + MAME_DIR .. "src/devices/video/bt47x.h", } end -------------------------------------------------- -- ---@src/devices/video/bt45x.h,VIDEOS["BT45X"] = true +--@src/devices/video/bt48x.h,VIDEOS["BT48X"] = true -------------------------------------------------- -if (VIDEOS["BT45X"]~=null) then +if (VIDEOS["BT48X"]~=null) then files { - MAME_DIR .. "src/devices/video/bt45x.cpp", - MAME_DIR .. "src/devices/video/bt45x.h", + MAME_DIR .. "src/devices/video/bt48x.cpp", + MAME_DIR .. "src/devices/video/bt48x.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/imagetek_i4100.h,VIDEOS["I4100"] = true +-------------------------------------------------- + +if (VIDEOS["I4100"]~=null) then + files { + MAME_DIR .. "src/devices/video/imagetek_i4100.cpp", + MAME_DIR .. "src/devices/video/imagetek_i4100.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/dp8510.h,VIDEOS["DP8510"] = true +-------------------------------------------------- + +if (VIDEOS["DP8510"]~=null) then + files { + MAME_DIR .. "src/devices/video/dp8510.cpp", + MAME_DIR .. "src/devices/video/dp8510.h", } end @@ -1234,47 +1663,72 @@ end -------------------------------------------------- -- ---@src/devices/video/decsfb.h,VIDEOS["DECSFB"] = true +--@src/devices/video/vrender0.h,VIDEOS["VRENDER0"] = true -------------------------------------------------- -if (VIDEOS["DECSFB"]~=null) then + +if (VIDEOS["VRENDER0"]~=null) then files { - MAME_DIR .. "src/devices/video/decsfb.cpp", - MAME_DIR .. "src/devices/video/decsfb.h", + MAME_DIR .. "src/devices/video/vrender0.cpp", + MAME_DIR .. "src/devices/video/vrender0.h", } end -------------------------------------------------- -- ---@src/devices/video/bt47x.h,VIDEOS["BT47X"] = true +--@src/devices/video/avgdvg.h,VIDEOS["AVGDVG"] = true -------------------------------------------------- -if (VIDEOS["BT47X"]~=null) then +if (VIDEOS["AVGDVG"]~=null) then files { - MAME_DIR .. "src/devices/video/bt47x.cpp", - MAME_DIR .. "src/devices/video/bt47x.h", + MAME_DIR .. "src/devices/video/avgdvg.cpp", + MAME_DIR .. "src/devices/video/avgdvg.h", } end -------------------------------------------------- -- ---@src/devices/video/bt431.h,VIDEOS["BT431"] = true +--@src/devices/video/x1_001.h,VIDEOS["X1_001"] = true -------------------------------------------------- -if (VIDEOS["BT431"]~=null) then +if (VIDEOS["X1_001"]~=null) then files { - MAME_DIR .. "src/devices/video/bt431.cpp", - MAME_DIR .. "src/devices/video/bt431.h", + MAME_DIR .. "src/devices/video/x1_001.cpp", + MAME_DIR .. "src/devices/video/x1_001.h", } end -------------------------------------------------- -- ---@src/devices/video/vrender0.h,VIDEOS["VRENDER0"] = true +--@src/devices/video/zr36060.h,VIDEOS["ZR36060"] = true -------------------------------------------------- -if (VIDEOS["VRENDER0"]~=null) then +if (VIDEOS["ZR36060"]~=null) then files { - MAME_DIR .. "src/devices/video/vrender0.cpp", - MAME_DIR .. "src/devices/video/vrender0.h", + MAME_DIR .. "src/devices/video/zr36060.cpp", + MAME_DIR .. "src/devices/video/zr36060.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/zr36110.h,VIDEOS["ZR36110"] = true +-------------------------------------------------- + +if (VIDEOS["ZR36110"]~=null) then + files { + MAME_DIR .. "src/devices/video/zr36110.cpp", + MAME_DIR .. "src/devices/video/zr36110.h", + } +end + +-------------------------------------------------- +-- +--@src/devices/video/bt450.h,VIDEOS["BT450"] = true +-------------------------------------------------- + +if (VIDEOS["BT450"]~=null) then + files { + MAME_DIR .. "src/devices/video/bt450.cpp", + MAME_DIR .. "src/devices/video/bt450.h", } end |