summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author mamehaze <140764005+mamehaze@users.noreply.github.com>2024-06-29 14:59:13 +0100
committer GitHub <noreply@github.com>2024-06-29 09:59:13 -0400
commit9d66f71e34ed20f4e356fd31a12d68350c79a010 (patch)
tree3327dc6184852b823c9f12d417c1a4f774746e76 /scripts/src
parent48271af68061df7ce5715df59bc404cfdc350c32 (diff)
cpu/xa: New Philips XA disassembler (#12504)
* show size types on these for consistency with IDA output (manual indicates they're usually optional, but does show this syntax in places) * use the real CPU type (with internal map for internal ROM space) rather than 'XA' directly. --------- Co-authored-by: David Haywood <hazemamewip@hotmail.com>
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/cpu.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 0e29529f0dd..a9ce8afcfbb 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -1200,6 +1200,25 @@ if opt_tool(CPUS, "AXC51") then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/acx51/axc51dasm.h")
end
+
+--------------------------------------------------
+-- Philips XA (80c51 inspired)
+--@src/devices/cpu/xa/xa.h,CPUS["XA"] = true
+--------------------------------------------------
+
+if CPUS["XA"] then
+ files {
+ MAME_DIR .. "src/devices/cpu/xa/xa.cpp",
+ MAME_DIR .. "src/devices/cpu/xa/xa.h",
+ }
+end
+
+if opt_tool(CPUS, "XA") then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xa/xadasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/xa/xadasm.h")
+end
+
+
--------------------------------------------------
-- Intel MCS-96
--@src/devices/cpu/mcs96/mcs96.h,CPUS["MCS96"] = true