diff options
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/3rdparty.lua | 30 | ||||
-rw-r--r-- | scripts/src/bus.lua | 49 | ||||
-rw-r--r-- | scripts/src/cpu.lua | 119 | ||||
-rw-r--r-- | scripts/src/formats.lua | 12 | ||||
-rw-r--r-- | scripts/src/machine.lua | 36 | ||||
-rw-r--r-- | scripts/src/netlist.lua | 3 |
6 files changed, 225 insertions, 24 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index db0e89ca862..bec2382971d 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -51,6 +51,7 @@ end "/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 +61,6 @@ 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 { } files { @@ -622,6 +619,7 @@ project "flac" "/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 @@ -639,11 +637,6 @@ end "-include stdint.h" } - configuration { "vs201*" } - buildoptions { - "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration - } - configuration { "vsllvm" } buildoptions { "-Wno-unused-function", @@ -727,17 +720,14 @@ project "7z" 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" @@ -1024,6 +1014,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 @@ -1035,11 +1026,6 @@ 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", @@ -1451,6 +1437,8 @@ 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"]=="intel-15" then buildoptions { @@ -1460,10 +1448,6 @@ 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 { diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index d917a846642..a2155edcea2 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -458,6 +458,21 @@ 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/scsiaiv.cpp", + MAME_DIR .. "src/devices/bus/bbc/modem/scsiaiv.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/bbc/1mhzbus/1mhzbus.h,BUSES["BBC_1MHZBUS"] = true --------------------------------------------------- @@ -467,10 +482,14 @@ if (BUSES["BBC_1MHZBUS"]~=null) then MAME_DIR .. "src/devices/bus/bbc/1mhzbus/1mhzbus.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/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/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", @@ -481,6 +500,8 @@ if (BUSES["BBC_1MHZBUS"]~=null) then 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/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", @@ -2649,6 +2670,20 @@ 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 + +--------------------------------------------------- +-- --@src/devices/bus/snes/snes_slot.h,BUSES["SNES"] = true --------------------------------------------------- @@ -4085,3 +4120,17 @@ 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", + } +end diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 4c5644c1bf7..9e2607d78eb 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -2982,6 +2982,23 @@ if (CPUS["CR16B"]~=null or _OPTIONS["with-tools"]) then end -------------------------------------------------- +-- Gigatron +--@src/devices/cpu/gigatron/gigatron.h,CPUS["GTRON"] = true +-------------------------------------------------- + +if (CPUS["GTRON"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/gigatron/gigatron.cpp", + MAME_DIR .. "src/devices/cpu/gigatron/gigatron.h", + } +end + +if (CPUS["GTRON"]~=null or _OPTIONS["with-tools"]) 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 -------------------------------------------------- @@ -2997,3 +3014,105 @@ if (CPUS["DSP56000"]~=null or _OPTIONS["with-tools"]) 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 VT50/VT52 +--@src/devices/cpu/vt50/vt50.h,CPUS["VT50"] = true +-------------------------------------------------- + +if (CPUS["VT50"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/vt50/vt50.cpp", + MAME_DIR .. "src/devices/cpu/vt50/vt50.h", + } +end + +if (CPUS["VT50"]~=null or _OPTIONS["with-tools"]) 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"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/vt61/vt61.cpp", + MAME_DIR .. "src/devices/cpu/vt61/vt61.h", + } +end + +if (CPUS["VT61"]~=null or _OPTIONS["with-tools"]) 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"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/pace/pace.cpp", + MAME_DIR .. "src/devices/cpu/pace/pace.h", + } +end + +if (CPUS["PACE"]~=null or _OPTIONS["with-tools"]) 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"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/we32000/we32100.cpp", + MAME_DIR .. "src/devices/cpu/we32000/we32100.h", + } +end + +if (CPUS["WE32000"]~=null or _OPTIONS["with-tools"]) 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"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/rx01/rx01.cpp", + MAME_DIR .. "src/devices/cpu/rx01/rx01.h", + } +end + +if (CPUS["RX01"]~=null or _OPTIONS["with-tools"]) 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"]~=null) then + files { + MAME_DIR .. "src/devices/cpu/m88000/m88000.cpp", + MAME_DIR .. "src/devices/cpu/m88000/m88000.h", + } +end + +if (CPUS["M88000"]~=null or _OPTIONS["with-tools"]) 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 diff --git a/scripts/src/formats.lua b/scripts/src/formats.lua index 6bb724e3e40..e09d34c2e33 100644 --- a/scripts/src/formats.lua +++ b/scripts/src/formats.lua @@ -1003,6 +1003,18 @@ end -------------------------------------------------- -- +--@src/lib/formats/img_dsk.h,FORMATS["IMG_DSK"] = true +-------------------------------------------------- + +if (FORMATS["IMG_DSK"]~=null or _OPTIONS["with-tools"]) 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 -------------------------------------------------- diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index ed2dd04bc93..9188507cce4 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -3144,6 +3144,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 --------------------------------------------------- @@ -4208,3 +4220,27 @@ 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 diff --git a/scripts/src/netlist.lua b/scripts/src/netlist.lua index 70ff1f54467..3bc6cb34645 100644 --- a/scripts/src/netlist.lua +++ b/scripts/src/netlist.lua @@ -120,6 +120,8 @@ project "netlist" MAME_DIR .. "src/lib/netlist/devices/nld_2716.h", 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_4006.h", 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_4066.cpp", @@ -218,7 +220,6 @@ project "netlist" 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", |