diff options
Diffstat (limited to 'src/devices/cpu/apexc/apexc.cpp')
-rw-r--r-- | src/devices/cpu/apexc/apexc.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp index c759cb7b988..b5a908c2c4b 100644 --- a/src/devices/cpu/apexc/apexc.cpp +++ b/src/devices/cpu/apexc/apexc.cpp @@ -328,7 +328,6 @@ field: X address D Function Y address D (part 2) #include "emu.h" #include "apexc.h" #include "apexcdsm.h" -#include "debugger.h" DEFINE_DEVICE_TYPE(APEXC, apexc_cpu_device, "apexc_cpu", "APE(X)C") @@ -341,7 +340,7 @@ DEFINE_DEVICE_TYPE(APEXC, apexc_cpu_device, "apexc_cpu", "APE(X)C") apexc_cpu_device::apexc_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cpu_device(mconfig, APEXC, tag, owner, clock) , m_program_config("program", ENDIANNESS_BIG, 32, 15, 0) - , m_tape_read_cb(*this) + , m_tape_read_cb(*this, 0) , m_tape_punch_cb(*this) , m_a(0) , m_r(0) @@ -764,9 +763,6 @@ special_fetch: void apexc_cpu_device::device_start() { - m_tape_read_cb.resolve_safe(0); - m_tape_punch_cb.resolve_safe(); - m_program = &space(AS_PROGRAM); save_item(NAME(m_a)); @@ -846,12 +842,14 @@ void apexc_cpu_device::execute_run() { do { - debugger_instruction_hook(m_pc); - if (m_running) + { + debugger_instruction_hook(m_pc); execute(); + } else { + debugger_wait_hook(); DELAY(m_icount); /* burn cycles once for all */ } } while (m_icount > 0); |