summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-06-10 16:32:11 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-06-10 16:34:44 -0400
commit7e54e1263b2e5ea705f5241c9ece591effb76ab0 (patch)
tree7fcbd06d65ce099edddfe8f00f11abd5367ab9f1 /scripts
parentc5be2b3fe88391283d1a706cc6bb25fe59b534ea (diff)
apple2, apple2e, apple2gs: Generic emulation of Game I/O connector. Joysticks are now slot devices.
mbc55x: Add Game I/O port
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/bus.lua14
-rw-r--r--scripts/target/mame/mess.lua1
2 files changed, 15 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index e646f61ff36..780df068e5c 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -2126,6 +2126,20 @@ end
---------------------------------------------------
--
+--@src/devices/bus/a2gameio/gameio.h,BUSES["A2GAMEIO"] = true
+---------------------------------------------------
+
+if (BUSES["A2GAMEIO"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/a2gameio/gameio.cpp",
+ MAME_DIR .. "src/devices/bus/a2gameio/gameio.h",
+ MAME_DIR .. "src/devices/bus/a2gameio/joystick.cpp",
+ MAME_DIR .. "src/devices/bus/a2gameio/joystick.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/bus/nubus/nubus.h,BUSES["NUBUS"] = true
---------------------------------------------------
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 9b073cf4480..61441c002cc 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -707,6 +707,7 @@ MACHINES["XC1700E"] = true
BUSES["A1BUS"] = true
BUSES["A2BUS"] = true
+BUSES["A2GAMEIO"] = true
BUSES["A7800"] = true
BUSES["A800"] = true
BUSES["ABCBUS"] = true