Request the flags back when checking for keyboard status.

Submitted by:	rnordier
This commit is contained in:
Mike Smith 1998-10-07 07:34:31 +00:00
parent 859244a61e
commit ee4f7b62a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40032

View file

@ -26,7 +26,7 @@
*
* From Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
*
* $Id: vidconsole.c,v 1.3 1998/10/02 16:32:45 msmith Exp $
* $Id: vidconsole.c,v 1.4 1998/10/07 02:39:06 msmith Exp $
*/
#include <stand.h>
@ -111,7 +111,7 @@ vidc_getchar(void)
static int
vidc_ischar(void)
{
v86.ctl = 0;
v86.ctl = V86_FLAGS;
v86.addr = 0x16;
v86.eax = 0x100;
v86int();