Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys (Developers)
> Without the need for "dead keys", extended keys and the like, the situation
> is not longer "VERY complicated". Actually, the approach that I first
> considered seams feasible: to trap keyboard ports 0x60 and 0x64, then feed
> the keyboard driver with a bunch of make codes/break codes combinations and
> see what it makes out of that.
While that may seem feasible, based on experience I would say it probably isn't. There may not even be a keyboard driver installed, and even if there is you can't always tell since many of them don't follow the (incomplete) "standard" the MS used for their driver. There are also certain make/break codes that don't generate ASCII codes at all and if you accidentally simulate one of those you could end up in trouble. Also, with some keyboard drivers you can use INT 15.4F to inject make/break codes while with others you actually need to simulate ports 60h and/or 64h.
Also, you may not really want to depend on the BIOS or DOS keyboard driver from inside a protected mode debugger, anyway.
> Without the need for "dead keys", extended keys and the like, the situation
> is not longer "VERY complicated". Actually, the approach that I first
> considered seams feasible: to trap keyboard ports 0x60 and 0x64, then feed
> the keyboard driver with a bunch of make codes/break codes combinations and
> see what it makes out of that.
I did read it, and I understand what you're trying to do. But I also think you're just going to confuse your users if you don't take into account things like keyboard modes and maybe even things like arrow keys (which includes things like NumLock and Shift-key statuses).
Complete thread:
- Debug/X v2.50, JDeb386, 386SWAT, Keyboard.sys - Japheth, 13.05.2024, 13:26 (Developers)
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - tom, 13.05.2024, 13:50
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - Japheth, 17.05.2024, 18:44
- MKeyB & MS SmartDrv - Japheth, 22.05.2024, 12:54
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - Japheth, 17.05.2024, 18:44
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - bretjohn, 13.05.2024, 19:20
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - Japheth, 14.05.2024, 08:44
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - bretjohn, 14.05.2024, 16:04
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - Japheth, 14.05.2024, 08:44
- Debug/X v2.50 & JDeb386 released - Japheth, 03.06.2024, 07:59
- Debug/X v2.50, JemmDbg, 386SWAT, Keyboard.sys - tom, 13.05.2024, 13:50