NEC CP/M-86 System Reference Manual page 112

Advanced personal computer
Table of Contents

Advertisement

Advanced BIOS Functions
6-22
ATTRIBUTE DATA FORMAT
The attribute data items occur in one-to-one correspondence with the display data
items. That is, there is one attribute data item for each display data item. Each
attribute data item is one byte in length, with each of the eight low-order bits set to 0
or 1 to indicate no color or a color value. The attributes are assigned to bits as
follows.
M
S
B
7
6
5
3
2
1
L
S
B
o
* -
Highlight is available for monochrome monitor only.
Figure 6-4 Attribute Data Byte Format
Under line
Over line
Vertical line
Blink
Reverse
Red/Highlight
*
Blue
Green
Colors may be used individually or in combination to generate secondary colors.
For example, the following attribute data byte displays data with blink and purple
color attributes.
01101000
(68H)
~
LBlink
LRed}
Blue
Purple

Advertisement

Table of Contents
loading

Table of Contents