summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2017-11-06 20:45:24 +0100
committer Dirk Best <mail@dirk-best.de>2017-11-06 20:47:38 +0100
commitfaeedc757c8e53affa4d94f471e5f75be2bc0f3b (patch)
tree2622b16bedd97b3bc7714d123f365f98e1cb7a32 /scripts/src
parent9b446161b892aac103ee9666c00bcb7a26887b8d (diff)
einstein: Major cleanup, add a ADC0844 device
The analogue joystick is now emulated. Also fixed a few minor issues with the memory map. This also adds a generic Z80 dasisy chain device, for use in drivers with non-Z80 peripherals.
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/cpu.lua2
-rw-r--r--scripts/src/machine.lua12
2 files changed, 14 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 7230735b835..9ed50cd9db1 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -2178,6 +2178,8 @@ if (CPUS["Z80"]~=null) then
MAME_DIR .. "src/devices/cpu/z80/z80.h",
MAME_DIR .. "src/devices/cpu/z80/z80daisy.cpp",
MAME_DIR .. "src/devices/cpu/z80/z80daisy.h",
+ MAME_DIR .. "src/devices/cpu/z80/z80daisy_generic.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/z80daisy_generic.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",
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index d5a30d27756..d6f08b7c8ce 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -3287,3 +3287,15 @@ if (MACHINES["I82586"]~=null) then
MAME_DIR .. "src/devices/machine/i82586.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/adc0844.h,MACHINES["ADC0844"] = true
+---------------------------------------------------
+
+if (MACHINES["ADC0844"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/adc0844.cpp",
+ MAME_DIR .. "src/devices/machine/adc0844.h",
+ }
+end