[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10h,  0Eh (14)       Write Character in Teletype (TTY) Mode

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

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

       Returns:       None

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

       Notes:         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.

                      In text modes, characters may be written to display
                      pages other than the active page.

                      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.

See Also: INT 10h, 09h INT 10h, 0Ah INT 10h, 13h
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson