Category : Utilities for DOS and Windows Machines
Archive   : KWIKKEYS.ZIP
Filename : KWIKAT.BAS

 
Output of file : KWIKAT.BAS contained in archive : KWIKKEYS.ZIP

0 '* AT keyboard repeat speedup sets the delay and repeat
1 '* then prints the values according to formulas found
2 '* in the AT Technical Reference
3 '*
4 '* The programming sequence is as follows: first output a command
5 '* (0F3h) then output a delay-and-rate value. Bits 5 and 6 control
6 '* the delay ranging from 250 ms up to 1 second. Bits 0 through 4
7 '* identify the repeat rate, ranging from about 30 repeats per
8 '* second to 2 repeats per second.
9 '*
10 PRINT " AT keyboard speedup"
15 PRINT "=low values are fastest="
20 INPUT "Initial delay (0-3): ",ID
30 INPUT "Repeat rate (0-31): ",RR
40 OUT &H60,&HF3 :OUT &H60,(ID*32)OR RR
45 '** All set. Now calculate speed.
50 PRINT "initial delay is";
60 PRINT (ID+1) * .25;"seconds"
70 A=(RR AND 7) :B=(RR AND 24)\8
80 P=(8+A) * (2^B) * .00417
90 PRINT "repeat rate is";
95 PRINT 1/P;"per second"


  3 Responses to “Category : Utilities for DOS and Windows Machines
Archive   : KWIKKEYS.ZIP
Filename : KWIKAT.BAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/