1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-08 14:25:05 +00:00

Merge pull request #887 from TomHarte/ZX80Wait

Ensures no signalling to wait by a ZX80, ever.
This commit is contained in:
Thomas Harte
2021-03-21 22:44:11 -04:00
committed by GitHub

View File

@@ -165,7 +165,7 @@ template<bool is_zx81> 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) {