Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Cephaler" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: bioskey Date: Sun, 10 May 1998 20:54:29 -0700 Message-ID: <19980511035425.AAB4598@ppp107.cartsys.com> Precedence: bulk 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