Overcoming delay thru use of keyboard buffer

der Mouse mouse at thunder.mcrcim.mcgill.edu
Tue Jun 11 15:18:06 AEST 1991


In article <1991Jun7.070027.3308 at images.cs.und.ac.za>, cyhutson at images.cs.und.ac.za writes:

> 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.

Most people?  You're in the wrong group.  Try an IBM-PC-specific group.
This is related to neither Pascal nor C.  In comparison to the vast
variety of machines on which one can use Pascal or C, the variety of
machines where your lead-in is true is very tiny - bascially, the
IBM-PC clone world.  (Large in number of machines, small in number of
machine *types*.)

I think you really don't need the speed you think you do.  If you're
really really sure you do, try building your own handler for interrupt
9...just be *very* sure to reset it when you're done!

					der Mouse

			old: mcgill-vision!mouse
			new: mouse at larry.mcrcim.mcgill.edu



More information about the Comp.lang.c mailing list