diff options
| author | 2017-06-27 04:01:05 +1000 | |
|---|---|---|
| committer | 2017-06-27 04:25:18 +1000 | |
| commit | 5ada035d175828c577d5912033ba2ce73f872055 (patch) | |
| tree | f5bc7c07686172c7bdb49575fe5d2070cea4bcc0 /scripts/src | |
| parent | 5ced18cf724ffd9d0e86bd7b1151cfbc61192b7a (diff) | |
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.
Diffstat (limited to 'scripts/src')
| -rw-r--r-- | scripts/src/cpu.lua | 14 |
1 files changed, 7 insertions, 7 deletions
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 -------------------------------------------------- |
