[comp.lang.pascal] TP key int

rocker@eve.wright.edu (Ronnie Peugh) (02/24/90)

Could someone send me a unit which I  could use to trap certain key
strokes.  I have tried removine procedures from several tsr programs and
tried them in my programs, but without much luck.  I had one once which
did exactly what I needed except it caused strange side effects, like
causing read/write errors on A:.  I have no idea why this happened even
after restoring the BIOS interrupt but my timer interrupt routine didn't
cause this problem.

I would like to be able to :
		install my handler
		call the BIOS handler if not a key I'm looking for
		re-install the BIOS and my handler at will

I know that I could probably one of the tsr units I've collected but I
don't need it to remain resideent.

Alsoo, does anyone know how to tell when the numeric keypad is in arrows
mode?  Although this may sound simple, there are many posibilities.  For
example 
		all shifts off and num lock off   =  cursor key
		left and/or right shift on + num lock off  = num kkeys
		''             ''       '' + num lock on   = cursor keys

Thanx  
_______________________________________________________________________
_ rocker@eve.wright.edu             |   Al Bundy for President
_  Wright State U. Dayton, Oh       |    (he'd have to be better than ...)
_______________________________________________________________________