From 8d9eb30d8209a79e232e1c4b8e0a8eb1d45e8220 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 25 Jun 2016 16:31:35 -0400 Subject: [PATCH] So it sounds like the user-port VIA might actually be connected to NMI? --- Machines/Vic-20/Vic20.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Machines/Vic-20/Vic20.cpp b/Machines/Vic-20/Vic20.cpp index 7f0e7321b..a1e030128 100644 --- a/Machines/Vic-20/Vic20.cpp +++ b/Machines/Vic-20/Vic20.cpp @@ -90,8 +90,9 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin void Machine::mos6522_did_change_interrupt_status(void *mos6522) { - bool irq = _userPortVIA.get_interrupt_line() || _keyboardVIA.get_interrupt_line(); - set_irq_line(irq); +// bool irq = _userPortVIA.get_interrupt_line() || _keyboardVIA.get_interrupt_line(); + set_nmi_line(_userPortVIA.get_interrupt_line()); + set_irq_line(_keyboardVIA.get_interrupt_line()); } #pragma mark - Setup