Skip to Main Content
The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
book

The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition

by Lyla B. Das
May 2024
Intermediate to advanced content levelIntermediate to advanced
665 pages
23h 2m
English
Pearson India
Content preview from The X86 Microprocessors: Architecture and Programming (8086 to Pentium), 1st Edition
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microprocessors and Microcontrollers  by Pearson

Microprocessors and Microcontrollers by Pearson

Lyla B Das

Publisher Resources

ISBN: 9781282663169