Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 03h (3) auxiliary character input</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 03h (3)         Auxiliary Character Input

    Waits for a character from the standard auxiliary device. Checks for
    Ctrl-Break and Ctrl-C.

       On entry:      AH         03h

       Returns:       AL         Character read

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

    This function inputs a character into AL from the standard auxiliary
    device, which is normally the first serial port. (At startup, PC-DOS
    initializes the first serial port to 2400 baud, eight data bits, one
    stop bit, and no parity.)

       Notes:         If a Ctrl-Break (Ctrl-C) is detected, an INT 23h is
                      generated.

                      Input is unbuffered and not interrupt-driven; if
                      your program can't process the characters fast
                      enough, data may be lost.

                      This function does not monitor the status of the
                      serial port. For greater control, use the ROM-BIOS
                      services (Interrupt 14h).

See Also: INT 14h, 03h 3Fh

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