From 5ada035d175828c577d5912033ba2ce73f872055 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 27 Jun 2017 04:01:05 +1000 Subject: Rewrote 4004 core and disassembler: * Renamed to MCS-40. * Emulated 8-clock instruction cycle, interruptible at any point. * Converted TEST input to an input line. * Added SYNC and CM output lines. * Added support for 4040 CY output, logical operations, extended registers, ROM banking and disassembly. * Made I/O space mapping more flexible to support the variety of peripherals available. * Notable missing features are 4040 interrupt and halt, and "program memory" space. --- scripts/src/cpu.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 2684a186546..468c2da140b 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -770,19 +770,19 @@ if (CPUS["IE15"]~=null or _OPTIONS["with-tools"]) then end -------------------------------------------------- --- Intel 4004 ---@src/devices/cpu/i4004/i4004.h,CPUS["I4004"] = true +-- Intel MCS-40 +--@src/devices/cpu/mcs40/mcs40.h,CPUS["MCS40"] = true -------------------------------------------------- -if (CPUS["I4004"]~=null) then +if (CPUS["MCS40"]~=null) then files { - MAME_DIR .. "src/devices/cpu/i4004/i4004.cpp", - MAME_DIR .. "src/devices/cpu/i4004/i4004.h", + MAME_DIR .. "src/devices/cpu/mcs40/mcs40.cpp", + MAME_DIR .. "src/devices/cpu/mcs40/mcs40.h", } end -if (CPUS["I4004"]~=null or _OPTIONS["with-tools"]) then - table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/i4004/4004dasm.cpp") +if (CPUS["MCS40"]~=null or _OPTIONS["with-tools"]) then + table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/mcs40/mcs40dasm.cpp") end -------------------------------------------------- -- cgit v1.2.3