[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10 - VIDEO - READ CHARACTER AND ATTRIBUTE AT CURSOR POSITION
        AH = 08h
        BH = page number (00h to number of pages - 1) (see AH=00h)
Return: AH = attribute
                bit 7: blink
                bits 6-4: background color
                        000 black
                        001 blue
                        010 green
                        011 cyan
                        100 red
                        101 magenta
                        110 brown
                        111 white
                bits 3-0: foreground color
                        0000 black       1000 dark gray
                        0001 blue        1001 light blue
                        0010 green       1010 light green
                        0011 cyan        1011 light cyan
                        0100 red         1100 light red
                        0101 magenta     1101 light magenta
                        0110 brown       1110 yellow
                        0111 light gray  1111 white
        AL = character
Notes:  for monochrome displays, a foreground of 1 with background 0 is
          underlined
        the blink bit may be reprogrammed to enable intense background colors
          using AX=1003h or by programming the CRT controller
        the foreground intensity bit (3) can be programmed to switch between
          character sets A and B on EGA and VGA cards, thus enabling 512
          simultaneous characters on screen.  In this case the bit's usual
          function (intensity) is regularly turned off.
SeeAlso: AX=1003h,AX=5001h

See Also: 1009
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson