summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author mamehaze <140764005+mamehaze@users.noreply.github.com>2023-12-26 19:01:41 +0000
committer GitHub <noreply@github.com>2023-12-26 20:01:41 +0100
commit6222175a2244c9b53451b6e8046d30f3ea795769 (patch)
tree09c5ed2ffc5278996df95520aeae01f25736ef07 /scripts/src/cpu.lua
parent70ebbc384b4fddaf24512b18a430dfb0090db169 (diff)
Holtek HT1130 CPU core, and preliminary driver for a brick game using it (#11872)
new machines marked as NOT WORKING -------------------------- Brick Game 96 in 1 (E-23 Plus Mark II) [azya52, David Haywood]
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r--scripts/src/cpu.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 5d691418f08..1afc05b20ee 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3932,3 +3932,20 @@ if opt_tool(CPUS, "XTENSA") then
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