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>int 10h, 0ah (10) write character at cursor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10h,  0Ah (10)       Write Character at Cursor

    Displays a specified character a specified number of times.

       On entry:      AH         0Ah
                      AL         ASCII value of character
                      BH         Display page number (text mode only)
                      CX         Number of times to write character

       Returns:       None

       Registers destroyed:      AX, SP, BP, SI, DI

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

    Display begins at the current cursor location on the specified display
    page, but the cursor itself is not moved.

       Notes:         Use Service 09h for graphics modes, since it allows
                      the changing of colors.

                      In text mode, characters extending beyond the right
                      side of the screen wrap to the next line; in
                      graphics mode, they do not.

                      This service displays control characters as
                      printable characters, rather than as their cursor
                      control equivalents. For example, if AL is 13, then
                      the musical note will be displayed, rather than a
                      Carriage Return.

                      The difference between this service and Service 09h
                      is that this service doesn't allow the specifying of
                      the display attribute byte. This service uses the
                      current attribute at the cursor for the new
                      character.

See Also: INT 10h, 09h INT 10h, 0Eh INT 10h, 13h

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