summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/arcompact/arcompact_execute.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2023-03-11 20:16:38 -0500
committer AJR <ajrhacker@users.noreply.github.com>2023-03-11 20:40:39 -0500
commit445e9e20aa6db377236a05d5ab034b2d766d7f2a (patch)
tree220435dc2e1838270adebe1383da48b263686942 /src/devices/cpu/arcompact/arcompact_execute.cpp
parent671434f7dac6a38a54a41417a994b7b8f47f6b49 (diff)
Interrupt callback rationalization
- Make CPUs pass interrupt return PC as a second argument to standard_irq_callback - Add interrupt return PC to "Stopped at interrupt" message produced by debugger 'gint' command - Add messages to trace logs whenever interrupts are accepted - Attempt to step over interrupt routines for applicable debugger commands - Eliminate standard_irq_callback_member wrapper method - Update many CPU cores to invoke standard_irq_callback at the start of or during interrupt processing, rather than at the end or when the input line changes - Remove IRQ callbacks for some input lines that never cause interrupts - mb88xx, mcs48: Add IRQ callbacks for internal interrupts
Diffstat (limited to 'src/devices/cpu/arcompact/arcompact_execute.cpp')
-rw-r--r--src/devices/cpu/arcompact/arcompact_execute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/arcompact/arcompact_execute.cpp b/src/devices/cpu/arcompact/arcompact_execute.cpp
index d7da4fd1e2a..f6bc43a8b6b 100644
--- a/src/devices/cpu/arcompact/arcompact_execute.cpp
+++ b/src/devices/cpu/arcompact/arcompact_execute.cpp
@@ -69,6 +69,7 @@ void arcompact_device::check_interrupts()
logerror("HACK/TEST IRQ\n");
+ standard_irq_callback(level, m_pc);
if (level == 1)
{
m_regs[REG_ILINK1] = m_pc;
@@ -89,7 +90,6 @@ void arcompact_device::check_interrupts()
set_pc(m_INTVECTORBASE + vector * 8);
m_irq_pending = 0;
debugreg_clear_ZZ();
- standard_irq_callback_member(*this, 0);
}
}
}