From c097ed348a4fd7237c23059f46af469136b9eb62 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 21 Mar 2021 22:38:50 -0400 Subject: [PATCH] Ensures no signalling to wait by a ZX80, ever. --- Machines/ZX8081/ZX8081.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/ZX8081/ZX8081.cpp b/Machines/ZX8081/ZX8081.cpp index be604d1be..0bf86af7d 100644 --- a/Machines/ZX8081/ZX8081.cpp +++ b/Machines/ZX8081/ZX8081.cpp @@ -165,7 +165,7 @@ template class ConcreteMachine: } if(!(address & 2)) nmi_is_enabled_ = false; if(!(address & 1)) nmi_is_enabled_ = is_zx81; - if(!nmi_is_enabled_) z80_.set_wait_line(false); + if(is_zx81 && !nmi_is_enabled_) z80_.set_wait_line(false); // The below emulates the ZonX AY expansion device. if constexpr (is_zx81) {