From 7f853ec73f8465d8ec207e4f616e3b54da2e8e59 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Mon, 14 Jan 2019 08:26:27 +0000 Subject: [PATCH] Add missing 6502 pin events Signed-off-by: Adrian Conlon --- M6502/src/mos6502.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/M6502/src/mos6502.cpp b/M6502/src/mos6502.cpp index 703a071..737f3c1 100644 --- a/M6502/src/mos6502.cpp +++ b/M6502/src/mos6502.cpp @@ -16,34 +16,42 @@ void EightBit::MOS6502::raisePOWER() { void EightBit::MOS6502::lowerNMI() { lower(NMI()); + LoweredNMI.fire(EventArgs::empty()); } void EightBit::MOS6502::raiseNMI() { raise(NMI()); + RaisedNMI.fire(EventArgs::empty()); } void EightBit::MOS6502::lowerSO() { lower(SO()); + LoweredSO.fire(EventArgs::empty()); } void EightBit::MOS6502::raiseSO() { raise(SO()); + RaisedSO.fire(EventArgs::empty()); } void EightBit::MOS6502::lowerSYNC() { lower(SYNC()); + LoweredSYNC.fire(EventArgs::empty()); } void EightBit::MOS6502::raiseSYNC() { raise(SYNC()); + RaisedSYNC.fire(EventArgs::empty()); } void EightBit::MOS6502::lowerRDY() { lower(RDY()); + LoweredRDY.fire(EventArgs::empty()); } void EightBit::MOS6502::raiseRDY() { raise(RDY()); + RaisedRDY.fire(EventArgs::empty()); } int EightBit::MOS6502::step() {