Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 0bh check keyboard status</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 0Bh            Check Keyboard Status

    Checks to see if a character is available from the standard input
    device. Checks for Ctrl-Break and Ctrl-C.

        Entry   AH = 0Bh

        Return  AL = FFh   One or more characters available
                AL = 00h   If no character is available

    ------------------------------------------------------------------

    This function is used to see if a character is available at the
    standard input device (usually the keyboard), before transferring
    control to one of the waiting keyboard input services (function
    07h or 08h).

    If DOS encounters a Ctrl-Break or Ctrl-C, it executes an Int 23h.

See Also: 07h 08h 06h Int 23h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson