Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 10 - video - read attributes/character at cursor position http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 10 - VIDEO - READ ATTRIBUTES/CHARACTER AT CURSOR POSITION
        AH = 08h
        BH = display page
Return: AL = character
        AH = attribute of character (alpha modes)
                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
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
SeeAlso: AH=09h,AX=1003h

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