summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2026-04-05 04:51:13 -0400
committer GitHub <noreply@github.com>2026-04-05 10:51:13 +0200
commit2e92a8add9cfe3991bb60a9183fd3f8933bb44ad (patch)
tree54087b78f254535871d060f1e03a373621835880 /src/devices/cpu
parentad7d7d1393507693c1ca6cfcb21799723840c96f (diff)
sinclair/specnext.cpp: Refactored NMI handling. (#15086)
Diffstat (limited to 'src/devices/cpu')
-rw-r--r--src/devices/cpu/z80/z80n.cpp8
-rw-r--r--src/devices/cpu/z80/z80n.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/devices/cpu/z80/z80n.cpp b/src/devices/cpu/z80/z80n.cpp
index 2f00d96e0b4..52e804d69d1 100644
--- a/src/devices/cpu/z80/z80n.cpp
+++ b/src/devices/cpu/z80/z80n.cpp
@@ -31,14 +31,6 @@ z80n_device::z80n_device(const machine_config &mconfig, const char *tag, device_
{
}
-void z80n_device::nmi(int state)
-{
- if (state != CLEAR_LINE)
- set_service_attention<SA_NMI_PENDING, 1>();
- else
- set_service_attention<SA_NMI_PENDING, 0>();
-}
-
void z80n_device::execute_run()
{
#include "cpu/z80/z80n.hxx"
diff --git a/src/devices/cpu/z80/z80n.h b/src/devices/cpu/z80/z80n.h
index a2816f23e9b..b96bd94b2a0 100644
--- a/src/devices/cpu/z80/z80n.h
+++ b/src/devices/cpu/z80/z80n.h
@@ -20,8 +20,6 @@ public:
bool nmi_stackless_r() { return m_stackless; }
void nmi_stackless_w(bool data) { m_stackless = data; }
- void nmi(int state);
-
protected:
virtual void device_start() override ATTR_COLD;
virtual void device_reset() override ATTR_COLD;