6530 Programmer's Guide
Conversational Mode Operation
2-18
6530 Programmer’s Guide
Read 6530 Color Mapping Table (Esc - v)
An additional color mapping requirement is to return the current color
mapping table as it pertains to the standard Esc 6 video attributes.
PC6530 will send the sequence with the following format:
Esc - v
1B 20 76 (hex values)
PC6530 responds with:
SOH 0
data
terminator
where:
SOH is start of header (01H)
0 is an ASCII 0 (hex value 30)
data
are the data pairs
terminator
comprises the control characters ETX (03H) and
LRC (Longitundinal Redundancy Check) in block mode.
If the 6530 does not support color, the escape sequence is ignored. The
data field consists of 64 ASCII hex values corresponding to the current
values stored in the color mapping table - 2 hex values per attribute
value; 03 represented by 30 hex and 33 hex.
In addition to monochrome video attributes, the 6530 allows your
application to display characters and the screen background in color -
subject to the limitations of the PC or workstation system BIOS and
capabilities of your video monitor.
0D light magenta 2D
0E yellow 2E
0F bright white 2F
Table 2-3. Color Codes (continued)
Reg Color Code