diff options
Diffstat (limited to 'src/devices/cpu/e0c6200/e0c6200.cpp')
-rw-r--r-- | src/devices/cpu/e0c6200/e0c6200.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/e0c6200/e0c6200.cpp b/src/devices/cpu/e0c6200/e0c6200.cpp index ad4e99ba8c6..4deadeb6bff 100644 --- a/src/devices/cpu/e0c6200/e0c6200.cpp +++ b/src/devices/cpu/e0c6200/e0c6200.cpp @@ -20,6 +20,7 @@ #include "emu.h" #include "e0c6200.h" +#include "e0c6200d.h" #include "debugger.h" @@ -49,10 +50,9 @@ void e0c6200_cpu_device::state_string_export(const device_state_entry &entry, st } } -offs_t e0c6200_cpu_device::disasm_disassemble(std::ostream &stream, offs_t pc, const u8 *oprom, const u8 *opram, u32 options) +util::disasm_interface *e0c6200_cpu_device::create_disassembler() { - extern CPU_DISASSEMBLE(e0c6200); - return CPU_DISASSEMBLE_NAME(e0c6200)(this, stream, pc, oprom, opram, options); + return new e0c6200_disassembler; } @@ -211,7 +211,7 @@ void e0c6200_cpu_device::execute_run() // fetch next opcode debugger_instruction_hook(this, m_pc); - m_op = m_program->read_word(m_pc << 1) & 0xfff; + m_op = m_program->read_word(m_pc) & 0xfff; m_pc = (m_pc & 0x1000) | ((m_pc + 1) & 0x0fff); // minimal opcode time is 5 clock cycles, opcodes take 5, 7, or 12 clock cycles |