summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z8/z8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/z8/z8.cpp')
-rw-r--r--src/devices/cpu/z8/z8.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/cpu/z8/z8.cpp b/src/devices/cpu/z8/z8.cpp
index 5ef2c5c505d..1f21ebbab49 100644
--- a/src/devices/cpu/z8/z8.cpp
+++ b/src/devices/cpu/z8/z8.cpp
@@ -22,6 +22,7 @@
#include "emu.h"
#include "z8.h"
+#include "z8dasm.h"
#include "debugger.h"
/***************************************************************************
@@ -207,13 +208,12 @@ z8681_device::z8681_device(const machine_config &mconfig, const char *tag, devic
{
}
-
-offs_t z8_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
+util::disasm_interface *z8_device::create_disassembler()
{
- extern CPU_DISASSEMBLE( z8 );
- return CPU_DISASSEMBLE_NAME(z8)(this, stream, pc, oprom, opram, options);
+ return new z8_disassembler;
}
+
device_memory_interface::space_config_vector z8_device::memory_space_config() const
{
// Separate data space is optional
@@ -778,7 +778,7 @@ void z8_device::device_start()
/* find address spaces */
m_program = &space(AS_PROGRAM);
- m_direct = &m_program->direct();
+ m_direct = m_program->direct<0>();
m_data = has_space(AS_DATA) ? &space(AS_DATA) : m_program;
/* allocate timers */