From 7146fd91ad13449c0fea4bcfc37cae138bdd2a0d Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 29 Jan 2004 20:13:29 +0000 Subject: [PATCH] last bit of port 64 now only depends on data readable and not in buffer. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1624 --- src/hardware/keyboard.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hardware/keyboard.cpp b/src/hardware/keyboard.cpp index c2746183..0fcde792 100644 --- a/src/hardware/keyboard.cpp +++ b/src/hardware/keyboard.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: keyboard.cpp,v 1.19 2004-01-29 16:58:24 qbix79 Exp $ */ +/* $Id: keyboard.cpp,v 1.20 2004-01-29 20:13:29 qbix79 Exp $ */ #include #include "dosbox.h" @@ -262,7 +262,9 @@ static void write_p64(Bit32u port,Bit8u val) { } static Bit8u read_p64(Bit32u port) { - Bit8u status= 0x1c | ((keyb.buf.used ||keyb.key_on_60)? 0x1 : 0x0); +// Bit8u status= 0x1c | ((keyb.buf.used ||keyb.key_on_60)? 0x1 : 0x0); +// Old one. Digitracker 2 doesn't like this. key_on_60 is much more advanged. + Bit8u status= 0x1c | (keyb.key_on_60? 0x1 : 0x0); keyb.key_on_60=false; return status; }