[net.micro.pc] need simple keyboard handler

geller@rlgvax.UUCP (David Geller) (08/28/84)

I have an application that needs for there to be a new interupt
driven keyboard handler written for the IBM PC. This new handler
must be able to fill a ring-buffer of designated size with the
scan codes of the characters pressed - no translation is needed.
This will solve the problem of not being able to detect certain
control and alt combinations under the BIOS handler. I have a
very good notion of how I would like this done. In my mind it is
very simple. I just need some help in knowing how to modify the
interupt vector table so that the system uses my routine and how
to return to the system (table) to its normal state. Any help or
leads would be very appreciated. I need to do this in the VERY near
future. Thanks.

		rlgvax!geller		David P. Geller
					Computer Consoles, Inc.
		703-648-3483		Office Systems Group
					11490 Commerce Park Drive
					Reston, VA  22091

seaburg@uiucdcs.UUCP (09/05/84)

#R:rlgvax:-7400:uiucdcs:24700060:000:367
uiucdcs!seaburg    Sep  4 19:52:00 1984

DOS 2.1 (and I believe 2.0) has a BIOS function call to change an
interrupt vector to point to your routine.  As for changing the vector
back when you're done, just read it before you change it and then set
it back when you're done.  

I don't have my DOS books handy, but write me if you need more help.

Gunnar Seaburg
....pur-ee!uiucdcs!seaburg

Univ. of Illinois