X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_kb.c;h=74f5a48a91d3565610afe0970abeac8aa2cd4938;hb=6d2deab47a9764ceb4790e2c97492c74e2d13c5c;hp=9e813b898083d26bbffa05f965b754f887eb2ec5;hpb=a108806edfdadeb0b5ab66802078093e374c288f;p=16.git diff --git a/16/dos_kb.c b/16/dos_kb.c index 9e813b89..74f5a48a 100644 --- a/16/dos_kb.c +++ b/16/dos_kb.c @@ -28,11 +28,11 @@ void interrupt newkb(void){ kee = inp(0x60); /* Read the keyboard scan code */ /* Clear keyboard controller on XT machines */ - qx = inp(0x61); /* Get keyboard control register */ + qx = inp(0x61); /* Get keyboard control register */ qx |= 0x82; - outp(0x61, qx); /* Toggle acknowledge bit high */ + outp(0x61, qx); /* Toggle acknowledge bit high */ qx &= 0x7F; - outp(0x61, qx); /* Toggle acknowledge bit low */ + outp(0x61, qx); /* Toggle acknowledge bit low */ /* Interpret the scan code and set our flags */ #ifdef TESTING @@ -93,11 +93,11 @@ void setkb(int vq){ } /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ - * keyp * - * * - * Returns the status of the key requested. * + * keyp * + * * + * Returns the status of the key requested. * * The status is 1 if the key is pressed or has been pressed since the * - * last call to this function for that particular key. * + * last call to this function for that particular key. * \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ int keyp(byte c){ register char retVal;