summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/adsp2100/adsp2100.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/adsp2100/adsp2100.cpp')
-rw-r--r--src/devices/cpu/adsp2100/adsp2100.cpp26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/devices/cpu/adsp2100/adsp2100.cpp b/src/devices/cpu/adsp2100/adsp2100.cpp
index eb787a00a18..817cd2c6bea 100644
--- a/src/devices/cpu/adsp2100/adsp2100.cpp
+++ b/src/devices/cpu/adsp2100/adsp2100.cpp
@@ -1161,27 +1161,6 @@ uint32_t adsp21xx_device::execute_max_cycles() const noexcept
}
-//-------------------------------------------------
-// execute_input_lines - return the number of
-// input/interrupt lines
-//-------------------------------------------------
-
-uint32_t adsp2100_device::execute_input_lines() const noexcept
-{
- return 4;
-}
-
-uint32_t adsp2101_device::execute_input_lines() const noexcept
-{
- return 5;
-}
-
-uint32_t adsp2181_device::execute_input_lines() const noexcept
-{
- return 9;
-}
-
-
void adsp21xx_device::execute_set_input(int inputnum, int state)
{
// update the latched state
@@ -1196,12 +1175,13 @@ void adsp21xx_device::execute_set_input(int inputnum, int state)
void adsp21xx_device::execute_run()
{
// Return if CPU is halted
- if (current_input_state(INPUT_LINE_HALT)) {
+ if (input_line_state(INPUT_LINE_HALT)) {
+ debugger_wait_hook();
m_icount = 0;
return;
}
- bool check_debugger = ((device_t::machine().debug_flags & DEBUG_FLAG_ENABLED) != 0);
+ const bool check_debugger = debugger_enabled();
check_irqs();