From eb4be89972a78070118fe3f8593699e765bbe60c Mon Sep 17 00:00:00 2001 From: tomch Date: Mon, 15 Dec 2008 15:08:05 +0000 Subject: [PATCH] Fix: IO_Annunciator read now returns floating bus data --- source/Memory.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Memory.cpp b/source/Memory.cpp index 2e552cf9..9adefdb2 100644 --- a/source/Memory.cpp +++ b/source/Memory.cpp @@ -395,7 +395,10 @@ BYTE __stdcall IO_Annunciator(WORD programcounter, WORD address, BYTE write, BYT // . PC=C2B5: LDA $C05D (CLRAN2) // NB. AN3: For //e & //c these locations are now used to enabled/disabled DHIRES - return 0; + if (!write) + return MemReadFloatingBus(nCyclesLeft); + else + return 0; } // Enabling expansion ROM ($C800..$CFFF]: