summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/unidasm.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-06-27 04:01:05 +1000
committer Vas Crabb <vas@vastheman.com>2017-06-27 04:25:18 +1000
commit5ada035d175828c577d5912033ba2ce73f872055 (patch)
treef5bc7c07686172c7bdb49575fe5d2070cea4bcc0 /src/tools/unidasm.cpp
parent5ced18cf724ffd9d0e86bd7b1151cfbc61192b7a (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 'src/tools/unidasm.cpp')
-rw-r--r--src/tools/unidasm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/unidasm.cpp b/src/tools/unidasm.cpp
index 6a53776ab17..aba4a66226f 100644
--- a/src/tools/unidasm.cpp
+++ b/src/tools/unidasm.cpp
@@ -110,6 +110,7 @@ CPU_DISASSEMBLE( hp_5061_3001 );
CPU_DISASSEMBLE( hp_nanoprocessor );
CPU_DISASSEMBLE( hyperstone_generic );
CPU_DISASSEMBLE( i4004 );
+CPU_DISASSEMBLE( i4040 );
CPU_DISASSEMBLE( i8008 );
CPU_DISASSEMBLE( i8051 );
CPU_DISASSEMBLE( i8052 );
@@ -284,6 +285,7 @@ static const dasm_table_entry dasm_table[] =
{ "hp_5061_3001",_16be, -1, CPU_DISASSEMBLE_NAME(hp_5061_3001) },
{ "hyperstone", _16be, 0, CPU_DISASSEMBLE_NAME(hyperstone_generic) },
{ "i4004", _8bit, 0, CPU_DISASSEMBLE_NAME(i4004) },
+ { "i4040", _8bit, 0, CPU_DISASSEMBLE_NAME(i4040) },
{ "i8008", _8bit, 0, CPU_DISASSEMBLE_NAME(i8008) },
{ "i8051", _8bit, 0, CPU_DISASSEMBLE_NAME(i8051) },
{ "i8052", _8bit, 0, CPU_DISASSEMBLE_NAME(i8052) },