diff options
Diffstat (limited to 'src/devices/cpu/g65816/g65816.cpp')
-rw-r--r-- | src/devices/cpu/g65816/g65816.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/cpu/g65816/g65816.cpp b/src/devices/cpu/g65816/g65816.cpp index b121fba081a..6514f113b05 100644 --- a/src/devices/cpu/g65816/g65816.cpp +++ b/src/devices/cpu/g65816/g65816.cpp @@ -767,18 +767,19 @@ void g65816_device::execute_set_input(int line, int state) (this->*FTABLE_SET_LINE)(line, state); } -/* Disassemble an instruction */ -#include "g65816ds.h" - +util::disasm_interface *g65816_device::create_disassembler() +{ + return new g65816_disassembler(this); +} -offs_t g65816_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) +bool g65816_device::get_m_flag() const { - return g65816_disassemble(stream, (pc & 0x00ffff), (pc & 0xff0000) >> 16, oprom, FLAG_M, FLAG_X); + return FLAG_M; } -CPU_DISASSEMBLE( g65816 ) +bool g65816_device::get_x_flag() const { - return g65816_disassemble(stream, (pc & 0x00ffff), (pc & 0xff0000) >> 16, oprom, 0/*FLAG_M*/, 0/*FLAG_X*/); + return FLAG_X; } void g65816_device::g65816_restore_state() |