summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-09-15 23:42:57 +0200
committer hap <happppp@users.noreply.github.com>2024-09-16 22:04:32 +0200
commitdbd8fd2b2cc96941f0cd4094ba3a2b9b1f7a2e87 (patch)
tree7944fb35a5fcc4bc7014baeac23309c37a62dad0 /scripts
parent343655b39d1fa5b0b27dddc4cc867745e6b9dc7d (diff)
hmcs400: add cpu skeleton device
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/cpu.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 68028d884ae..7cf38b73f47 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -856,6 +856,24 @@ if opt_tool(CPUS, "HMCS40") then
end
--------------------------------------------------
+-- Hitachi HMCS400 series
+--@src/devices/cpu/hmcs400/hmcs400.h,CPUS["HMCS400"] = true
+--------------------------------------------------
+
+if CPUS["HMCS400"] then
+ files {
+ MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400.cpp",
+ MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400.h",
+ MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400op.cpp",
+ }
+end
+
+if opt_tool(CPUS, "HMCS400") then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400d.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hmcs400/hmcs400d.h")
+end
+
+--------------------------------------------------
-- Hitachi SuperH series (SH1/SH2/SH3/SH4)
--@src/devices/cpu/sh/sh2.h,CPUS["SH"] = true
--@src/devices/cpu/sh/sh4.h,CPUS["SH"] = true