Most modern computers seem to support INT 16.03 to set the Typematic rate. I've personally never had it fail with real hardware, but in some Virtual Machines (VMs) it doesn't actually do anything.
I've had lots of failures with support of INT 16.09 to get the current typematic rate, both in real hardware and in VMs. > Our MODE just calls the BIOS. There is no DOS typematic rate driver, > DOS only asks the BIOS to set the rate for it. When DOS MODE calls the BIOS to change something about the typematic rate, there is no "driver" involved. If the keyboard is a regular PS2 (or older) keyboard, the BIOS just sends a special serial packet to the keyboard telling it what to do. Control of the actual typematic stuff is handled COMPLETELY by the keyboard hardware. In addition, in the PS2 keyboard serial protocol there is no way for the BIOS to "ask" the keyboard what the current typematic settings are. This means the BIOS must keep track of the current typematic settings internally since it can't ask the keyboard (it can't do a "Read-Modify-Write", it can only do a "Write"). USB keyboards are actually "dumber" than the PS2 keyboards. PS2 keyboards handle key presses, key releases, and all the typematic stuff all by themselves and just send data to the computer when something has happened. USB keyboards must constantly be polled and only return information about key presses. The USB keyboard driver needs to handle the key releases and the typematic stuff in software since the USB keyboard doesn't do it. _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user