From a3a89ad156a2d6626551a4aab8d55ef1eea4aac4 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sun, 5 Mar 2023 15:43:13 +0000 Subject: [PATCH] Phasor/MB: For AY INACTIVE state, bus floats high - so reflect this in 6522 PortA (fixes #1193) --- source/Mockingboard.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Mockingboard.cpp b/source/Mockingboard.cpp index 78bbbab9..1ca3434e 100644 --- a/source/Mockingboard.cpp +++ b/source/Mockingboard.cpp @@ -338,6 +338,9 @@ void MockingboardCard::AY8910_Write(BYTE subunit, BYTE ay, BYTE value) } state = nAYFunc; + + if (state == AY_INACTIVE) + r6522.UpdatePortAForHiZ(); // Float high any PortA input bits (GH#1193) } }