Xref: utzoo comp.lang.pascal:7072 comp.lang.c:39902 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!tektronix!percy!m2xenix!quagga!undeed!undcsd!cyhutson From: cyhutson@images.cs.und.ac.za Newsgroups: comp.lang.pascal,comp.lang.c Subject: Overcoming delay thru use of keyboard buffer Summary: overcoming delay resulting from keyboard buffer Keywords: keyboard,buffer,delay Message-ID: <1991Jun7.070027.3308@images.cs.und.ac.za> Date: 7 Jun 91 07:00:27 GMT Organization: Univ. Natal, Durban, S. Africa Lines: 34 Hi there!! Can anyone help me?! As most people know, when you type at the keyboard, interrupt 9h (ROM BIOS) is executed and puts the ascii code for the character and possibly also the scan code, into the keyboard buffer, which by the way is 32 bytes long, hence a total of only 16 characters can be stored in the buffer. What I want to do is the following : * reduce the delay that occurs through the character having to pass via the keyboard buffer. So, of course, how do I do this?? As far as I am concerned (and I could be totally wrong here) I must either 1) reduce the keyboard buffer to 0 so nothing is stored in it, or 2) somehow increase the size of the buffer and rewrite the interrupt so that when a keystroke is called, not only the ascii code (and possibly the scan code) is saved, but also the time at that particular instant in time. Problem is , I don't know how to do this, either of my suggestions. Can anyone pleez help me, either with alternative suggestions, or even clues on how to do this. Thanks again bye celia hutson cyhutson@images.cs.und.ac.za