summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-16 12:17:56 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-16 12:17:56 -0500
commit4f70f2d58b63e1c41f966a35808eb66db7b91040 (patch)
treebd194a9279446402dccb8aaabb1086999ae4b97f /scripts/src/cpu.lua
parent699011f2f8a70b3b735fcfc3b427e31abc38f970 (diff)
Add CompactRISC CR16C disassembler to unidasm (largely untested)
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r--scripts/src/cpu.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 0b8334a3cf4..c388c2bc450 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -3150,7 +3150,7 @@ end
--------------------------------------------------
-- National Semiconductor CR16B
---@src/devices/cpu/cr16b/cr16bdasm.h,CPUS["CR16B"] = true
+--@src/devices/cpu/cr16b/cr16b.h,CPUS["CR16B"] = true
--------------------------------------------------
if (CPUS["CR16B"]~=null) then
@@ -3166,6 +3166,15 @@ if (CPUS["CR16B"]~=null or _OPTIONS["with-tools"]) then
end
--------------------------------------------------
+-- National Semiconductor CR16C, disassembler only
+--------------------------------------------------
+
+if (_OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16c/cr16cdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/cr16c/cr16cdasm.h")
+end
+
+--------------------------------------------------
-- Gigatron
--@src/devices/cpu/gigatron/gigatron.h,CPUS["GTRON"] = true
--------------------------------------------------