Hello, 2011/4/18 Bret Johnson <bretj...@juno.com>: >> Also interesting that some BIOSes are not fully compatible with DOS >> keyboard (layout drivers). > > The incompatibilities aren't related to the keyboard layout drivers as such. > They are related to the way my programs simulate keystrokes (the way the my > programs insert a value in AL when the BIOS issues an IN AL,60h to request a > scancode from the keyboard hardware). What my programs do, in SOME cases, is > call the INT 09 code stored in the IVT with the CPU's trap flag set. When > the INT 09 code issues an IN AL,60h OpCode, my programs skip over the OpCode > and instead insert the scancode they're trying to simulate into AL. You can > download the source code for USBKEYB and review exactly how this works. For > some reason, this doesn't work with all BIOS's.
Well, there is a IN AL,60h Opcode in FD-KEYB. I hope it does help (with the /9 option). >> If I had to guess, I would say MKEYB uses int 15 and KEYB uses 40:xx. > > I think a lot of KEYB programs use INT 15.4Fh. I personally don't know of > any that use the BDA. BTW, INT 15.4Fh will only work properly for certain > keys (the letter and number keys). It usually won't work properly for things > like Ctrl, Alt, Shift, PrintScreen, Pause, number pad keys, etc., if anybody > ever wanted those keys to work differently than they normally do. That's why I meant in my other mail, I haven't implemented (yet) the "commands" to modify the BDA. >> PS: For the KEYB issue, as probably only few BIOSes are affected, >> some separate "proper int16 and int 15.4f implementation" driver >> would be a good idea, I would not suggest to put that into a default >> KEYB itself. > > It would certainly be possible to create a separate "INT 09 BIOS Replacement" > program, rather than including it in KEYB. I do think the "appropriate" > place for it is probably in the KEYB program, though, just like the MS > implementation. It could be an option that is only installed if the user > requested or some kind of auto-test determined that it would be beneficial, > though. That's what FD-KEYB's /9 option does. Aitor ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user