Overcoming delay thru use of keyboard buffer

cyhutson at images.cs.und.ac.za cyhutson at images.cs.und.ac.za
Fri Jun 7 17:00:27 AEST 1991


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 at images.cs.und.ac.za
 



More information about the Comp.lang.c mailing list