CAD CAM EDM DRO - Yahoo Group Archive

Re: Keyboard Typematic rate

on 2002-02-22 06:07:34 UTC
On 21 Feb 02 at 19:56, CAD_CAM_EDM_DRO@yahoogroups.c is alleged to have
scribbled:

> Message: 20
> Date: Thu, 21 Feb 2002 10:55:47 -0800
> From: Alan Marconett KM6VV <KM6VV@...>
> Subject: Re: Keyboard Typematic rate
>
> Hi David,
>
> Nice find! My Phoenix book ('91) calls functions 6h - 0Fh "reserved".
> Nice to know! There you go Jerry!

Hiya Alan

It's a long time since I did some low level DOS stuff (-:

Just struck me to check my interrupt list for this and I find:
16 00 -- KEYBOARD - GET KEYSTROKE
16 01 -- KEYBOARD - CHECK FOR KEYSTROKE
16 02 -- KEYBOARD - GET SHIFT FLAGS
16 03 -- KEYBOARD - SET TYPEMATIC RATE AND DELAY
16 04 -- KEYBOARD - SET KEYCLICK (PCjr only)
16 05 -- KEYBOARD - STORE KEYSTROKE IN KEYBOARD BUFFER (AT/PS w enh keybd
16 05 -- KEYBOARD - SELECT KEYBOARD LAYOUT (PCjr only)
16 09 -- KEYBOARD - GET KEYBOARD FUNCTIONALITY
16 0A -- KEYBOARD - GET KEYBOARD ID
16 10 -- KEYBOARD - GET ENHANCED KEYSTROKE (enhanced kbd support only)
16 11 -- KEYBOARD - CHECK FOR ENHANCED KEYSTROKE (enh kbd support only)
16 12 -- KEYBOARD - GET EXTENDED SHIFT STATES (enh kbd support only)

that 'get keyboard functionality' looks interesting

Details are:
INT 16 - KEYBOARD - SET TYPEMATIC RATE AND DELAY
AH = 03h
AL = subfunction
00h set default delay and rate (PCjr and some PS/2)
01h increase delay before repeat (PCjr)
02h decrease repeat rate by factor of 2 (PCjr)
03h increase delay and decrease repeat rate (PCjr)
04h turn off typematic repeat (PCjr and some PS/2)
05h set repeat rate and delay (AT,PS)
BH = delay value (00h = 250ms to 03h = 1000ms)
BL = repeat rate (00h=30/sec to 0Ch=10/sec [def] to
1Fh=2/sec)
06h get current typematic rate and delay (newer PS/2s)
Return: BL = repeat rate (see above)
BH = delay (see above)
Note: use INT 16/AH=09h to determine whether some of the subfunctions are
supported

Now, my copy of the list is dated 1994. The list is the
'MSDOS Interrupt List issue 41' which I probably got off the archives at
ftp.oak.oakland or similar. It's been a while.... it even has a DOS
indexing program (-:


--
Keeper of the listserver for South African Railways fans /"\
Part time gricer, kiter, photographer, metalworker etc. \ /
http://terrapin.ru.ac.za/satrain/ X
ASCII Ribbon campaign against HTML E-Mail > - - - - - - -> / \

Discussion Thread

Alan Marconett KM6VV 2002-02-21 10:53:03 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 13:32:08 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-21 14:06:17 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 14:43:46 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-21 16:11:40 UTC Re: Keyboard Typematic rate Carol & Jerry Jankura 2002-02-21 18:16:03 UTC RE: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate David A. Forsyth 2002-02-22 06:07:34 UTC Re: Keyboard Typematic rate Alan Marconett KM6VV 2002-02-22 11:22:19 UTC Re: Keyboard Typematic rate Mike Snodgrass 2002-02-22 13:06:32 UTC Re: [CAD_CAM_EDM_DRO] Re: Keyboard Typematic rate