diff options
Diffstat (limited to 'src/devices/cpu/rw5000/a5000.cpp')
-rw-r--r-- | src/devices/cpu/rw5000/a5000.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/devices/cpu/rw5000/a5000.cpp b/src/devices/cpu/rw5000/a5000.cpp index 7380120a193..bb39455cc18 100644 --- a/src/devices/cpu/rw5000/a5000.cpp +++ b/src/devices/cpu/rw5000/a5000.cpp @@ -2,10 +2,7 @@ // copyright-holders:hap /* - Rockwell A5000/A5900 MCU - -TODO: -- what happens when 0 or >1 keys are held down on READ? + Rockwell A5000 MCU */ @@ -16,7 +13,6 @@ TODO: DEFINE_DEVICE_TYPE(A5000, a5000_cpu_device, "a5000", "Rockwell A5000") -DEFINE_DEVICE_TYPE(A5900, a5900_cpu_device, "a5900", "Rockwell A5900") // constructor @@ -28,17 +24,6 @@ a5000_cpu_device::a5000_cpu_device(const machine_config &mconfig, const char *ta a5000_cpu_device(mconfig, A5000, tag, owner, clock, 9, address_map_constructor(FUNC(a5000_cpu_device::program_448x8), this), 6, address_map_constructor(FUNC(a5000_cpu_device::data_45x4), this)) { } -a5900_cpu_device::a5900_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) : - a5000_cpu_device(mconfig, A5900, tag, owner, clock, 9, address_map_constructor(FUNC(a5900_cpu_device::program_512x8), this), 6, address_map_constructor(FUNC(a5900_cpu_device::data_45x4), this)) -{ } - - -// internal memory maps -void a5900_cpu_device::program_512x8(address_map &map) -{ - map(0x000, 0x1ff).rom(); -} - // disasm std::unique_ptr<util::disasm_interface> a5000_cpu_device::create_disassembler() @@ -99,11 +84,3 @@ void a5000_cpu_device::op_mtd_step() } m_mtd_step++; } - -void a5000_cpu_device::op_read() -{ - // READ: add _KB info to A, skip next on no overflow - m_a += ~((count_leading_zeros_32(m_read_kb() & 0xf) - 28) & 3) & 0xf; - m_skip = !BIT(m_a, 4); - m_a &= 0xf; -} |