Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>function 0bh (11) check standard input status</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 0Bh (11)        Check Standard Input Status

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

       On entry:      AH         0Bh

       Returns:       AL         FFh       If a character is available
                                 00h       If no character is available

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

    This function can be 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 01h,
    Function 07h, and Function 08h).

       Notes:         The function returns FFh if a character is available
                      and 00h if none is available.

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

See Also: 06h 01h 07h 08h

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