diff options
Diffstat (limited to 'src/devices/cpu/tms32031/tms32031.cpp')
-rw-r--r-- | src/devices/cpu/tms32031/tms32031.cpp | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/devices/cpu/tms32031/tms32031.cpp b/src/devices/cpu/tms32031/tms32031.cpp index dd318f7debf..afa635c1b61 100644 --- a/src/devices/cpu/tms32031/tms32031.cpp +++ b/src/devices/cpu/tms32031/tms32031.cpp @@ -817,6 +817,7 @@ void tms3203x_device::check_irqs() if (!m_delayed) { uint16_t intmask = 1 << (whichtrap - 1); + standard_irq_callback(whichtrap - 1, m_pc); // bit in IF is cleared when interrupt is taken IREG(TMR_IF) &= ~intmask; @@ -855,17 +856,6 @@ uint32_t tms3203x_device::execute_max_cycles() const noexcept //------------------------------------------------- -// execute_input_lines - return the number of -// input/interrupt lines -//------------------------------------------------- - -uint32_t tms3203x_device::execute_input_lines() const noexcept -{ - return 14; -} - - -//------------------------------------------------- // execute_clocks_to_cycles - convert the raw // clock into cycles per second //------------------------------------------------- @@ -965,12 +955,13 @@ void tms3203x_device::execute_run() // if we're idling, just eat the cycles if (m_is_idling) { + debugger_wait_hook(); m_icount = 0; return; } // non-debug case - if ((machine().debug_flags & DEBUG_FLAG_ENABLED) == 0) + if (!debugger_enabled()) { while (m_icount > 0) { |