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 10h, 0eh write character in teletype (tty) mode</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 10h, 0Eh            Write Character in Teletype (TTY) Mode

    Writes one character at the current cursor location and advances
    the cursor.

        Entry   AH = 0Eh
                AL = Character to write
                BL = Foreground color (graphics modes only)
                BH = Display page number (text modes only)

        Return  Nothing

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

    In text modes, the character displayed retains the display
    attribute of the previous character that occupied the screen
    location. In graphics modes, it is necessary to specify the
    foreground color (in BL) each time you call this service.

    This service responds to the ASCII meanings of characters 07h
    (bell), 08h (backspace), 0Ah (line feed), and 0Dh (carriage
    return). All other ASCII values result in the displaying of a
    character, with the cursor moving one position.

    If the cursor is at the end of a line, it wraps to the next line.
    If the cursor is at the end of the last screen line, the screen is
    scrolled upward and the display attribute for the entire new line
    is taken from the last character on the preceding line.


    Note
    The display page number (in BH) is required only for IBM PC ROM
    BIOS dated Oct 19, 1981 and earlier.

See Also: Int 10h, 09h Int 10h, 0Ah Int 10h, 13h

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