www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/00:02:04

Mime-Version: 1.0
To: "Cephaler" <cephaler AT hotmail DOT com>, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: bioskey
Date: Sun, 10 May 1998 20:54:29 -0700
Message-ID: <19980511035425.AAB4598@ppp107.cartsys.com>

At 10:47  5/9/1998 GMT, Cephaler wrote:
>Quick question: how do you empty the keypress buffer for bioskey?

You can do it by poking around with the buffer pointer in the BIOS's data
space, but I forget offhand how that works.  The Interrupt List (Simtelnet:
inter* in info/) will tell how.  However, there is a somewhat less efficient
solution that should still work:

while (bioskey(1)) (void)bioskey(0);

See the bioskey docs to know how this works.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019