Xref: utzoo comp.lang.pascal:7092 comp.lang.c:39948 Newsgroups: comp.lang.pascal,comp.lang.c Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!umich!sharkey!tygra!dave From: dave@tygra.Michigan.COM (David Conrad) Subject: Re: Overcoming delay thru use of keyboard buffer Organization: CAT-TALK Conferencing System, Detroit, MI Date: Mon, 10 Jun 91 08:34:02 GMT Message-ID: <1991Jun10.083402.6441@tygra.Michigan.COM> Keywords: keyboard,buffer,delay References: <1991Jun7.070027.3308@images.cs.und.ac.za> Er, what is it you're trying to achieve? The keyboard buffer doesn't have to fill before characters are available to a running program. When a key is pressed, int 9h decodes it and places it into the buffer. This is, for all practical purposes which I can imagine, instantaneous. The key can then be read by calling the bios routines under int 16h, which are, if anything, faster than int 9h. What's the problem? -- David R. Conrad dave@michigan.com -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave@Michigan.COM