summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6805/m6805.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6805/m6805.cpp')
-rw-r--r--src/devices/cpu/m6805/m6805.cpp29
1 files changed, 4 insertions, 25 deletions
diff --git a/src/devices/cpu/m6805/m6805.cpp b/src/devices/cpu/m6805/m6805.cpp
index eb80246e368..48f93719e7a 100644
--- a/src/devices/cpu/m6805/m6805.cpp
+++ b/src/devices/cpu/m6805/m6805.cpp
@@ -35,6 +35,7 @@
#include "emu.h"
#include "m6805.h"
#include "m6805defs.h"
+#include "6805dasm.h"
#include "debugger.h"
@@ -409,35 +410,13 @@ void m6805_base_device::interrupt()
//-------------------------------------------------
-// disasm_min_opcode_bytes - return the length
-// of the shortest instruction, in bytes
-//-------------------------------------------------
-
-uint32_t m6805_base_device::disasm_min_opcode_bytes() const
-{
- return 1;
-}
-
-
-//-------------------------------------------------
-// disasm_max_opcode_bytes - return the length
-// of the longest instruction, in bytes
-//-------------------------------------------------
-
-uint32_t m6805_base_device::disasm_max_opcode_bytes() const
-{
- return 3;
-}
-
-
-//-------------------------------------------------
-// disasm_disassemble - call the disassembly
+// disassemble - call the disassembly
// helper function
//-------------------------------------------------
-offs_t m6805_base_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *m6805_base_device::create_disassembler()
{
- return CPU_DISASSEMBLE_NAME(m6805)(this, stream, pc, oprom, opram, options);
+ return new m6805_disassembler;
}