X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_kb.c;h=baffad9e17d8b608a445039e6a622ed93127019f;hb=2ba0f23dca188caa266df611c657d054ca285199;hp=74f5a48a91d3565610afe0970abeac8aa2cd4938;hpb=118896f74475eb26539f1b32923d58f24f0f162f;p=16.git diff --git a/16/dos_kb.c b/16/dos_kb.c index 74f5a48a..baffad9e 100644 --- a/16/dos_kb.c +++ b/16/dos_kb.c @@ -19,6 +19,7 @@ static void interrupt (far *oldkb)(void) = NULL; /* BIOS keyboard handler */ * to be included. */ #define TESTING +#define TESTING2 /*****************NEW KEYBOARD 09h ISR***********************/ void interrupt newkb(void){ @@ -35,8 +36,9 @@ void interrupt newkb(void){ outp(0x61, qx); /* Toggle acknowledge bit low */ /* Interpret the scan code and set our flags */ - #ifdef TESTING - printf("%d[%d]\n",kee,key[kee]); + #ifdef TESTING2 + //printf("%d[%d]\n",kee,key[kee]); + printf("\0"); // bug #endif if(kee & 0x80) key[kee & 0x7F] = 0; // a key is released