BUG: Locked Keyboard When SHIFT or CTRL Key Is PressedID: Q139293
|
The keyboard driver sample in the Windows 95 DDK as of November 1995 includes the DDL code for Kbd.drv which is intended to be substituted for the Keyboard.drv in System.ini. In other words, use "KEYBOARD.DRV=KBD.DRV" to test it. It is in the Keyb\Samples\DriverS subdirectory. Unfortunately, there is a bug in the sample code that, when made, locks up the operating system when SHIFT or CTRL keys are pressed.
There is an indirect call to Int16 in the file Toascii.asm. You can find it near the end of the file by searching for [LightsAddr]. The call requires AH to be set to 0x01 but the register is not loaded with any value.
Insert a line immediately before the line that places an indirect call to
Int16 in the file Toascii.asm to load the register:
MOV AH,1 ;bug fix
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MicroSoft 1995 DDK for Windows 95 on MSDN
Additional query words: 4.00 win95
Keywords :
Version : 4.00
Platform : WINDOWS
Issue type :
Last Reviewed: March 2, 1999