[comp.lang.pascal] standard/enhanced keyboard TP unit

bk19+@andrew.cmu.edu (Bradley D. Keister) (11/14/90)

I'm looking for the source for a TP unit which will allow me to detect the
presence of a standard/enhanced keyboard, take over interrupts 9 and/or 16
if necessary, so as to be able to process extended ALT/CTRL key combinations
like ALT-Left, etc.  The reference below cites enhkbd.asm as a TP4 unit
which does most of this.  However, the enhkbd.asm found on simtel20 is
not this one, but rather a TSR.  I'm interested in something which lives
only as long as my TP program is loaded.

From another package called enhanced.asm:

           TITLE ENHANCED.ASM (24 March 1988 - Rufus S. Hendon)
;=============================================================================
; ENHANCED.ASM is adapted from the procedure called NewInt16 in ENHKBD.ASM
; Version 1.2 (2/23/88), written by Tim Kokkonen (with help from Brian Foley).
; ENHKBD is part of a Turbo Pascal 4.0 unit that makes it possible for Turbo
; Pascal programs to turn the enhanced keyboard on for the duration of the
; program, restoring the standard keyboard when the program terminates.
; ENHANCED, on the other hand, is independent of Turbo Pascal, and the .COM
; file produced from it is meant to be invoked from AUTOEXEC.BAT in order to
; make a permanent switch to the enhanced keyboard.  Like ENHKBD.ASM,
; ENHANCED.ASM is released to the public domain.

------------
ENHANCED.ASM I have - I'm looking for ENHKBD.ASM or something like it.

Brad Keister
Physics Dept.
Carnegie Mellon U

keister@poincare.phys.cmu.edu (preferred address)

jrwsnsr@nmt.edu (Jonathan Watts) (11/14/90)

From article <sbE3LUa00VoNAPQ15l@andrew.cmu.edu>, by bk19+@andrew.cmu.edu (Bradley D. Keister):
> I'm looking for the source for a TP unit which will allow me to detect the
> presence of a standard/enhanced keyboard, take over interrupts 9 and/or 16
> if necessary, so as to be able to process extended ALT/CTRL key combinations
> like ALT-Left, etc.  The reference below cites enhkbd.asm as a TP4 unit
> which does most of this.  However, the enhkbd.asm found on simtel20 is
> not this one, but rather a TSR.  I'm interested in something which lives
> only as long as my TP program is loaded.
> 
> From another package called enhanced.asm:
> 
>            TITLE ENHANCED.ASM (24 March 1988 - Rufus S. Hendon)
> ;=============================================================================
> ; ENHANCED.ASM is adapted from the procedure called NewInt16 in ENHKBD.ASM
> ; Version 1.2 (2/23/88), written by Tim Kokkonen (with help from Brian Foley).
> ; ENHKBD is part of a Turbo Pascal 4.0 unit that makes it possible for Turbo
> ; Pascal programs to turn the enhanced keyboard on for the duration of the
> ; program, restoring the standard keyboard when the program terminates.
> ; ENHANCED, on the other hand, is independent of Turbo Pascal, and the .COM
> ; file produced from it is meant to be invoked from AUTOEXEC.BAT in order to
> ; make a permanent switch to the enhanced keyboard.  Like ENHKBD.ASM,
> ; ENHANCED.ASM is released to the public domain.
> 
> ------------
> ENHANCED.ASM I have - I'm looking for ENHKBD.ASM or something like it.

I'm not positive, but I believe you can find ENHKBD.ASM as part of the 
BONUS507.??? archive on Simtel...I forget which directory it's in.  BONUS507
is the bonus files from Turbo Power Software's Turbo Professional.

  - Jonathan Watts
 
jrwsnsr@jupiter.nmt.edu on the Internet