summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6805/m68705.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6805/m68705.cpp')
-rw-r--r--src/devices/cpu/m6805/m68705.cpp29
1 files changed, 7 insertions, 22 deletions
diff --git a/src/devices/cpu/m6805/m68705.cpp b/src/devices/cpu/m6805/m68705.cpp
index ba4dae3a39f..08e40e41d9a 100644
--- a/src/devices/cpu/m6805/m68705.cpp
+++ b/src/devices/cpu/m6805/m68705.cpp
@@ -3,6 +3,7 @@
#include "emu.h"
#include "m68705.h"
#include "m6805defs.h"
+#include "6805dasm.h"
/****************************************************************************
* Configurable logging
@@ -697,14 +698,9 @@ void m68705p_device::device_start()
state_add(M68705_MOR, "MOR", get_user_rom()[0x0784]).mask(0xff);
}
-offs_t m68705p_device::disasm_disassemble(
- std::ostream &stream,
- offs_t pc,
- const uint8_t *oprom,
- const uint8_t *opram,
- uint32_t options)
+util::disasm_interface *m68705p_device::create_disassembler()
{
- return CPU_DISASSEMBLE_NAME(m6805)(this, stream, pc, oprom, opram, options, m68705p_syms);
+ return new m6805_disassembler(m68705p_syms);
}
@@ -776,14 +772,9 @@ void m68705u_device::device_start()
// TODO: MISC register
}
-offs_t m68705u_device::disasm_disassemble(
- std::ostream &stream,
- offs_t pc,
- const uint8_t *oprom,
- const uint8_t *opram,
- uint32_t options)
+util::disasm_interface *m68705u_device::create_disassembler()
{
- return CPU_DISASSEMBLE_NAME(m6805)(this, stream, pc, oprom, opram, options, m68705u_syms);
+ return new m6805_disassembler(m68705u_syms);
}
@@ -834,17 +825,11 @@ void m68705r_device::device_start()
// TODO: ADC
}
-offs_t m68705r_device::disasm_disassemble(
- std::ostream &stream,
- offs_t pc,
- const uint8_t *oprom,
- const uint8_t *opram,
- uint32_t options)
+util::disasm_interface *m68705r_device::create_disassembler()
{
- return CPU_DISASSEMBLE_NAME(m6805)(this, stream, pc, oprom, opram, options, m68705r_syms);
+ return new m6805_disassembler(m68705r_syms);
}
-
/****************************************************************************
* M68705P3 device
****************************************************************************/