
264 THE x86 MICROPROCESSORS
if MSB = 1, it corresponds to ‘blinking’. Also, if the background and foreground colors are the
same, the displayed character is invisible.
See the bit assignment of the attribute byte in Table 8.4.
Example 8.2
Find the attribute byte for the following cases of text mode display.
Black background with bright white text (foreground)i)
White background, red text (foreground)ii)
Blinking with cyan background with brown text (foreground)iii)
Solution
Look at Tables 8.4, 8.5 and 8.6.
For black background, the RGB values are 000, and since blinking is not mentioned, it is i)
‘normal’. Hence, the nibble corresponding to the background ...