On Wed, 15 Aug 2001 14:18:11 -0500, Leslie B. Houk wrote:

> Everyone,

> Please forgive the off-topic posting, but does anyone know of a simple
> program that will totally disable a keyboard's key repeat ("typematic")
> function?  In other words, no matter how long I hold down a key on my
> keyboard, I don't want it to start repeating.  I found several .COM files
> that let me adjust the typematic rate, but none that would let me turn it
> off entirely.  And AccessDOS from the DOS 6.22 Supplemental Disk
> doesn't seem to work on my PC.  I even considered using DEBUG to
> write my own .COM file calling INT 16H, Function 03H, but again the
> function only allows the typematic rate to be adjusted, not disabled.

> Any leads would be very gratefully appreciated.

> Thanks,
> Leslie

Hi,

There is a possibility that you can apply INT 16h, AX=0304h with
your BIOS (if you haven't tried it yet).
According to Ralf Brown's Interrupt, it turns off typematic repeat
on some machines.

In case it doesn't work for you, you'll probably need a small TSR
that would intercept IRQ1 (INT 09h) and reject all
key-press scan codes (with bit 7 clear) not immediately preceded
either by key-depress scan codes (with bit 8 set), or by
a Shift/Ctrl/Alt press code.  (This is the way I can imagine it now.
Has anyone a better idea?)
There can also exist another solution specific to your BIOS,
impossible to find without disassembling its INT 09h routine,
but the hope is rather small.

Hope it helps.
Greetings,

Michal

Reply via email to