summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms9900/tms9900.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms9900/tms9900.cpp')
-rw-r--r--src/devices/cpu/tms9900/tms9900.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/devices/cpu/tms9900/tms9900.cpp b/src/devices/cpu/tms9900/tms9900.cpp
index e0b207f3335..72631d68ae1 100644
--- a/src/devices/cpu/tms9900/tms9900.cpp
+++ b/src/devices/cpu/tms9900/tms9900.cpp
@@ -110,6 +110,7 @@
#include "emu.h"
#include "tms9900.h"
+#include "9900dasm.h"
#define NOPRG -1
@@ -2751,20 +2752,10 @@ uint32_t tms99xx_device::execute_input_lines() const
// execute_burn = nop
// device_disasm_interface overrides
-uint32_t tms99xx_device::disasm_min_opcode_bytes() const
-{
- return 2;
-}
-
-uint32_t tms99xx_device::disasm_max_opcode_bytes() const
-{
- return 6;
-}
-offs_t tms99xx_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *tms99xx_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( tms9900 );
- return CPU_DISASSEMBLE_NAME(tms9900)(this, stream, pc, oprom, opram, options);
+ return new tms9900_disassembler(TMS9900_ID);
}