Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!bbn!rochester!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: Key repetition rate Message-ID: <22b7b0ce@ralf> Date: 16 Jun 88 11:28:14 GMT Sender: netnews@pt.cs.cmu.edu Lines: 26 In-Reply-To: <5060026@hpccc.HP.COM> 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