diff options
author | 2022-07-28 19:53:34 +0100 | |
---|---|---|
committer | 2022-07-28 14:53:34 -0400 | |
commit | d08013cc660b90ad63699fa796f8b3861d85985b (patch) | |
tree | 316504f2ea3ef45f81c756e937d81f629e30d03e /scripts/src/cpu.lua | |
parent | e2d700fd9afb9add71e8787655fa1d78b7568391 (diff) |
cloned the mcs51 core as axc51, stripped it back, will allow monon work to continue without making a mess of the original mcs51 core. (#10140)
* cloned the mcs51 core as axc51, stripped it back, will allow monon work to continue without making a mess of the original mcs51 core.
* remove some redundant bits
* replace SFR table with AXC51 / AX208 one, removing some other functionality which is not the same on this series
* remove some other bits that are redundant now we're not trying to support other mcs51 models in the axc core
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r-- | scripts/src/cpu.lua | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 03770359e82..fb357bb05b7 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -1091,16 +1091,30 @@ if CPUS["MCS51"] then MAME_DIR .. "src/devices/cpu/mcs51/mcs51.cpp", MAME_DIR .. "src/devices/cpu/mcs51/mcs51.h", MAME_DIR .. "src/devices/cpu/mcs51/mcs51ops.hxx", - MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.cpp", - MAME_DIR .. "src/devices/cpu/mcs51/axc51-core.h", } end if opt_tool(CPUS, "MCS51") then table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.cpp") table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/mcs51dasm.h") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.cpp") - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs51/axc51-core_dasm.h") +end + +-------------------------------------------------- +-- Appotech AXC-51 (extended Intel 8051) +--@src/devices/cpu/axc51/axc51.h,CPUS["AXC51"] = true +-------------------------------------------------- + +if CPUS["AXC51"] then + files { + MAME_DIR .. "src/devices/cpu/axc51/axc51.cpp", + MAME_DIR .. "src/devices/cpu/axc51/axc51.h", + MAME_DIR .. "src/devices/cpu/axc51/axc51ops.hxx", + } +end + +if opt_tool(CPUS, "AXC51") then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/axc51/axc51dasm.cpp") + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/acx51/axc51dasm.h") end -------------------------------------------------- |