Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BIOS ref. - <b>int 14h, 02h receive one character</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 14h, 02h            Receive One Character

    Receives one character at the specified serial port.

        Entry   AH = 02h
                DX = Serial port number (0 - COM1, 1 - COM2, etc.)

        Return  AL = Character
                AH = Line status (See service 03h)

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

    This service waits for a character. If no character is available
    or an error occurs, no character is returned and bit 7 of AH is
    set.

    If an error occurs, bit 7 of AH is set. Since bit 7 is used as a
    general error flag, this service is unable to identify a time-out
    error. For complete diagnostic information, use Service 03h (Get
    serial port status).

See Also: Int 14h, 01h Int 14h, 03h

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