6530 Programmer's Guide
Conversational Mode Operation
2-22
6530 Programmer’s Guide
Read Color Configuration (Esc - u)
The implementation of the field-selectable color palette register requires 
the reading and saving of additional color related information. 
Specifically, the PC6530 must be able to read the contents of the 
configurable registers before initializing the terminal for PATHWAY 
usage. The escape sequence has the following format:
Esc - u 
1B 2D 75 (hex values)
The 6530 responds with:
SOH 1 
cnt data
 CR 
where: 
SOH is start of header (01H)
1 is an ASCII 1 (hex value 31)
cnt
 is the data pair count
data
 are the data pairs
CR is the control character (0DH) that terminates the message in 
conversational mode.
If the PC does not support color or uses a CGA display adapter, the 
escape sequence will be ignored. Only EGA and VGA have 
programmable color registers. The cnt field will be 2 bytes of the number 
of color register pairs (ASCII readable hex) following in the data field. 
The data field will consist of pairs of ASCII hex values corresponding to 
the current values stored in the color registers. A color register pair will 
be register number plus register value. These values will be 2 bytes each 
in ASCII readable hex format. For example, register 12 (hex 0C), which 
contains the value of 5D will be stored as hex 30, hex 43, hex 35, hex 44. 
This constitutes one color register pair.










