From ad1749999de006a464771bc3266202b5d665fe76 Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Tue, 28 Feb 2006 18:38:57 +0000 Subject: [PATCH] Drol, and Karateka fixes/notes, until the Floating-Bus code is in. --- AppleWin/source/Video.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/AppleWin/source/Video.cpp b/AppleWin/source/Video.cpp index 0732003a..a20550ef 100644 --- a/AppleWin/source/Video.cpp +++ b/AppleWin/source/Video.cpp @@ -1200,7 +1200,7 @@ void VideoCheckPage (BOOL force) { BYTE __stdcall VideoCheckVbl (WORD, BYTE, BYTE, BYTE, ULONG) { /* - // Drol Hangs when finished + // Drol expects = 80 68DE A5 02 LDX #02 68E0 AD 50 C0 LDA TXTCLR 68E3 C9 80 CMP #80 @@ -1215,9 +1215,16 @@ BYTE __stdcall VideoCheckVbl (WORD, BYTE, BYTE, BYTE, ULONG) 69D5 AD 50 C0 LDA TXTCLR 69D8 C9 80 CMP #80 69DA D0 F7 BNE $68DE + + // Karateka expects < 80 + // Returns 00 or FF on Apple ][ + 07DE AD 19 C0 LDA RDVBLBAR + 07E1 30 FB BMI $7DE */ + +// return MemReturnRandomData(dwVBlCounter <= nVBlStop_NTSC); if (dwVBlCounter <= nVBlStop_NTSC) - return MemReturnRandomData(dwVBlCounter <= nVBlStop_NTSC); + return 0x00; else return 0x80; }