
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BIOS ref. - <b>int 15h, 4fh keyboard intercept many</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 15h, 4Fh Keyboard Intercept many
Called by the hardware keyboard handler (Int 09h), allowing the
replacement or removal of a key.
Entry AH = 4Fh
AL = Scan code
Return CF Cleared if scan code removed, else set
AL = New scan code if changed, else original scan code
------------------------------------------------------------------
Upon entry to this service, AL will contain the scan code of the
keystroke. If the user wishes to change the scan code, put the new
scan code in AL and set the Carry Flag. If the scan code is to
remain the same, then leave AL alone and set the Carry Flag. The
user can remove or ignore the keystroke by returning with the
Carry Flag clear.
This service is not available for the PC, PCjr, XT dated 11/08/82,
and the AT dated 1/10/84.
By writing a handler for this service, the user can change the
meaning of a key. The operating system normally will return the
scan code unchanged (that is, it will leave AL alone and return
with the Carry Flag set).
To determine the machines that support this feature, see Service
C0h (Return System Configuration).
See Also: Int 15h, C0h Int 09h
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson