6530 Programmer's Guide
Block Mode Operation
3-32
6530 Programmer’s Guide
Set Color Configuration (Esc - t)
Once the host has read the color register configuration, it may determine 
the configuration must be changed. Changing the configuration requires 
an escape sequence of the following format: an escape, hyphen, 3 
parameters separated by semicolons, lowercase t, and the color data 
information. 
Esc - 
p1
;
p2
;
p3
 t 
data
1B 2D 
p1
 3B 
p2
 3b 
p3
 74 
data
 (hex values)
where: 
p1
 sets (0 - hex 30) or resets (1 - hex 31) the color palette. If you 
are setting the color palette, use the values defined in data to the 
range applied by p2 through p3. If you are resetting the color 
palette, use the values set by the terminal at initialization. If reset, 
the second and third parameters may be omitted; they are ignored if 
sent.
p2
 is the lower range of palette registers. Values are determined by 
the configuration (0-15 for EGA or VGA), a maximum of 2 bytes in 
ASCII decimal readable format. For example, register 9 would be 
hex 39; register 14 would be hex 31/hex 34.
p3
 is the upper range of palette registers. Values are determined by 
the configuration (0-15 for EGA or VGA), a maximum of 2 bytes in 
ASCII decimal readable format. As in p2, register 9 would be hex 
39; register 14 would be hex 31/hex 34.
data
 are the valid register values defined by PC documentation for 
the color requirements for EGA or VGA and other values defined by 
terminal documentation. These values are 2 bytes each in ASCII hex 
readable format. For example, a register value of 5E would be 
represented by hex 35, hex 45; and a register value of 8 would be 
represented by a hex 30, hex 38.
All data values are stored as ASCII hex values. Parameter values are 
stored as ASCII decimal values.
Set 6530 Color Mapping (Esc - x)
Enhanced color field support is available in the protect submode of block 
mode. This special field sequence has the following format:
Esc - 
p1
 x
1B 2D 
p1
 78 (hex values)










