Overcoming delay thru use of keyboard buffer
David Conrad
dave at tygra.Michigan.COM
Mon Jun 10 18:34:02 AEST 1991
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 at 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 at Michigan.COM
More information about the Comp.lang.c
mailing list