From 3a4235f6515b4c8eef5df99d63e6418106e7204e Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Sat, 25 Aug 2018 22:50:18 +0100 Subject: [PATCH] Whoops: The NMI line needs to be powered on by individual processors now it's no longer part of the Processor base class. Signed-off-by: Adrian Conlon --- M6502/src/mos6502.cpp | 1 + Z80/src/Z80.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/M6502/src/mos6502.cpp b/M6502/src/mos6502.cpp index 6c94714..610ae55 100644 --- a/M6502/src/mos6502.cpp +++ b/M6502/src/mos6502.cpp @@ -14,6 +14,7 @@ void EightBit::MOS6502::powerOn() { P() = RF; S() = Mask8; + raise(NMI()); raise(SO()); } diff --git a/Z80/src/Z80.cpp b/Z80/src/Z80.cpp index 3b3c5cc..6be753a 100644 --- a/Z80/src/Z80.cpp +++ b/Z80/src/Z80.cpp @@ -28,6 +28,7 @@ void EightBit::Z80::powerOn() { IntelProcessor::powerOn(); + raise(NMI()); raise(M1()); di();