summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-04-19 13:01:03 +0200
committer hap <happppp@users.noreply.github.com>2021-04-19 13:01:19 +0200
commit9194b83f3b9b6977fda46c1d8142a7392218c7fc (patch)
tree45eb8b6403713feb2e64f0ff29d739c55211680f /scripts
parent7dc0aab8dfd5326aba222bdc0746b3f84eb05be9 (diff)
smartboard: add support to connect it to pc printer port
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/bus.lua6
-rw-r--r--scripts/src/machine.lua13
-rw-r--r--scripts/target/mame/mess.lua3
3 files changed, 18 insertions, 4 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index 34ffe693ee3..54a43cc5e12 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -2587,6 +2587,8 @@ 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",
@@ -2599,10 +2601,10 @@ if (BUSES["CENTRONICS"]~=null) then
MAME_DIR .. "src/devices/bus/centronics/nec_p72.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",
}
dependency {
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 599727b0980..5892219c2c9 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -3172,6 +3172,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
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index deff32dce56..558a6e52c26 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -689,6 +689,7 @@ MACHINES["SPG290"] = true
MACHINES["STVCD"] = true
MACHINES["SUN4C_MMU"] = true
MACHINES["SWTPC8212"] = true
+MACHINES["TASC_SB30"] = true
MACHINES["TC0091LVC"] = true
MACHINES["TDC1008"] = true
--MACHINES["TE7750"] = true
@@ -3860,8 +3861,6 @@ files {
createMESSProjects(_target, _subtarget, "tasc")
files {
MAME_DIR .. "src/mame/drivers/tasc.cpp",
- MAME_DIR .. "src/mame/machine/smartboard.cpp",
- MAME_DIR .. "src/mame/machine/smartboard.h",
}
createMESSProjects(_target, _subtarget, "tatung")