home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR31
/
KERM313.ZIP
/
GOLD.DOC
< prev
next >
Wrap
Text File
|
1993-07-10
|
3KB
|
66 lines
File GOLD.DOC (MSUGOLD.DOC) July 1993
SIMULATING THE DEC GOLD KEY WITH NUM LOCK
GOLD.COM (MSUGOLD.COM) is a simple TSR (Terminate and Stay Resident) program
intended to make it easier to use MS-DOS Kermit as an emulator for DEC VT100
and higher model VT series terminals on a PC with an enhanced keyboard (the
one with separate numeric pad and cursor keys). GOLD.COM was written by Bob
Eager, E-mail: rde@ukc.ac.uk, phone: +44 227 764000 ext 7589.
GOLD makes the Num Lock key generate the code for the F1 key, \315, which is
normally mapped by Kermit to the VT terminal's GOLD key. This makes it
possible (by using Kermit's SET KEY command) to make the PC keypad look almost
exactly the same as the VT terminal keypad (the long + key is the only
exception; that is two keys on the real terminal).
To use GOLD, simply place the GOLD.COM file into a directory on the normal
program path, then type the command:
GOLD
This activates the program, and Num Lock will cease to work as Num Lock and
will instead operate the same as the F1 key. This may not always be
convenient, so it is possible to turn off the effect by typing:
GOLD OFF
and later to turn it on again by typing:
GOLD ON
The current GOLD state may be displayed by typing:
GOLD
(after the first call, this is the only effect if the command is used without
parameters). The program can be set to an initial OFF state by calling it
with the OFF parameter if required. Later calls operate with the initially
installed copy of the program, which cannot be unloaded (it is, however, very
small; only 352 bytes of memory are required).
NOTES:
GOLD "locks" the keypad in whatever state it found it. That is, if Num Lock
was ON when you started GOLD (or gave a GOLD ON command), the keypad generates
numbers. If Num Lock was OFF at that time, the same keys generate their
other scan codes, i.e. Home, PgUp, arrows, etc.
Some machines might not contain BIOS support for this program; in such cases,
an error message is given on the first call of GOLD.
GOLD does not chain interrupts, and therefore will interfere with other TSRs
that want to handle keyboard interrupts.
The program uses the INT 2FH multiplex interrupt to install itself; it uses
a multiplex ID of 0DCH. This may be changed if it clashes with other TSR
programs. The key to which Num Lock is mapped may also be changed.
Alteration of the above items is obvious on examination of the program source
code. If you do not have MASM, it is easy to patch the program since the
relevant values are stored in easy to find places - offsets 102H and 103H.
Source code is not included on the MS-DOS Kermit diskette, but is available
on Kermit Distribution Tape A.
(End of GOLD.DOC / MSUGOLD.DOC)