[comp.sys.ibm.pc] Key repetition rate

adonis@tahoe.unr.edu (Derrick Hamner) (06/10/88)

	Due to the following excerpt from the Quickeys documentation, I am
lead to believe that there is a way to change the repetition rate on an AT
using DOS.  I cannot find anything in my manuals to verify or to show how
to do this.  If anyone knows how to do this, please let me know via E-mail,
and I will summarize to the net.  Thanks.  The excerpt follows:

	While the keystroke repetition rate of the PC
	AT is adjustable, that of the XT and the PC
	is fixed at approximately nine keystrokes per
	second.

Derrick

-- 
-----------------------------------------------------------------------------
   There are more important things to be    |        Derrick Hamner      
   than responsible.  			    | {backbone}!tahoe.unr.edu!adonis

land@hpccc.HP.COM (David M. Land) (06/15/88)

Derrick:

     Function 6F01H of Interrupt 16H (as documented somewhere in the DOS BIOS
reference) lets you set both the pause before the "typematic" repeating begins
and the rate of repetition.  I'm not much of a programmer, so I can't help
you any more than pointing you in this direction.

     For a MUCH easier way of doing it, look on your friendly neighborhood
BBS for a program called "TURBOKEY."  There are others, but this one seems
to be the best.  Most of the keyboard accellerators automatically set the
shortest delay and the fastest repeat, which is a bit squirrelly for my 
clumsy hands.  TURBOKEY lets you set the delay and repeat rate independently.

Dave Land

Batteries not included, partial assembly required, void where prohibited
by law and good taste.  I speak for myself, you do the same.

Ralf.Brown@B.GP.CS.CMU.EDU (06/16/88)

In article <5060026@hpccc.HP.COM>, land@hpccc.HP.COM (David M. Land) writes:
}Derrick:
}
}     Function 6F01H of Interrupt 16H (as documented somewhere in the DOS BIOS
}reference) lets you set both the pause before the "typematic" repeating begins
}and the rate of repetition.

Never heard of function 6F01h, but this one will work on recent systems:

INT 16 - KEYBOARD - SET DELAYS (Jr,AT model 339,XT286,PS)
        AH = 03h
        AL = subfunction
            0 reset typematic (PCjr)
            1 increase initial delay (PCjr)
            2 increase continuing delay (PCjr)
            3 increase both delays (PCjr)
            4 turn off typematic (PCjr)
            5 Set typematic rate (AT or PS/2)
        BH = 00 - 03 for delays of 250ms, 500ms, 750ms, or 1s
        BL = 00 - 1F for typematic rates of 30cps down to 2cps

--
UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=-=-=- Voice: (412) 268-3053 (school)
ARPA: ralf@cs.cmu.edu  BIT: ralf%cs.cmu.edu@CMUCCVMA  FIDO: Ralf Brown 1:129/31
Disclaimer? I     |
claimed something?|            Insert your favorite quote here