6530 Programmer's Guide

Conversational Mode Operation
2-24
6530 Programmer’s Guide
Limitations
Whether implemented with CGA, EGA, or VGA BIOS, the 6530’s
Enhanced Color Field control codes can only be invoked to use sixteen
colors, regardless of the number of colors available in the BIOS
specification. This means:
When implemented with CGA, the 6530 is capable of controlling all
available colors, including the designation of any of the first eight
colors as background colors.
When implemented with an EGA BIOS, a choice of any 16 of the
64 available colors must be made.
When implemented with VGA BIOS, a choice of any 16 of the 256
colors available must be made. The 6530 uses VGA mode 3 (color
text).
Enhanced Color Field control codes are constructed by first identifying
whether the setting is for foreground (hex 42) or background (hex 45),
then sending the register color value (in hex) added to a hex 20.
For example, to set the foreground color to light red (register 12) the data
field should contain a hex 42 (select foreground color) followed by a hex
2C (0C+20H=2CH). To set the background color to magenta (register
05), the data field should contain a hex 45 (select background color)
followed by a hex 25 (05+20H=25H).
Default colors are: foreground = red, background = black.
Configuration
Values
This group of escape sequences reads or sets values for configuration
parameters. These include parameters for terminal or PC operation and
parameters for attached devices, such as a printer.
Consult the PC6530 or TS530 user’s guide to determine which
configuration parameters are available for you.
Some of the parameters are specified by a code/value pair, where the
code identifies the configuration item and the value specifies the
selection for the item.
Table 2-4 lists the terminal configuration parameters and shows the code
and possible values for each. Table 2-5 on page 2-29 lists the device
configuration parameters and shows the code and possible values for
each. Other parameters are specified by string values, which vary in
length.
The Read Terminal Configuration sequence (Esc ?) causes the 6530 to
transmit the current values for the terminal configuration parameters to
the host.