From 9d66f71e34ed20f4e356fd31a12d68350c79a010 Mon Sep 17 00:00:00 2001 From: mamehaze <140764005+mamehaze@users.noreply.github.com> Date: Sat, 29 Jun 2024 14:59:13 +0100 Subject: 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 --- scripts/src/cpu.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'scripts/src/cpu.lua') 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 -- cgit v1.2.3-70-g09d2