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, 08h (8) read character and attribute at cursor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10h,  08h (8)        Read Character and Attribute At Cursor

    Reports the ASCII value and (in text mode) attribute of the character
    at the current cursor location of the specified display page.

       On entry:      AH         08h
                      BH         Display page number (text modes only)

       Returns:       AH         Attribute of character (text mode)
                      AL         ASCII value of character

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

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

       Notes:         In graphics mode, the display page need not be
                      specified.

                      The current character and attribute can be obtained
                      for any page, even if the page is not the current
                      active page.

                      In graphics mode, the service returns 00h in AL if
                      it does not recognize the character pattern.

                      Use Service 09h to write a character with a specific
                      attribute.

See Also: INT 10h, 09h

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