NEC CP/M-86 System Reference Manual page 92

Advanced personal computer
Table of Contents

Advertisement

Advanced BIOS Functions
6-2
• The Control Sequence Introducer (CSI) signals an escape sequence com-
mand to the system. In the APC environment, the CSI is the ESC character
(lBH or 27 decimal). The ESC is usually followed by a square bracket
(D.
(The use of a bracket or other character depends on the particular escape
sequence.)
A t the CP 1M -86" A>" prompt, pressing the ESC key causes the characters
""[" to appear on the display screen. Therefore, escape sequences that are
introduced by ESC followed by a square bracket appear on the display
screen as
"11[[".
• A parameter is a string of zero or more decimal characters which represent
a single value. Leading zeros are ignored. The decimal characters have a
range of 0 (30H) to 9 (39H). Two types of parameters are used in escape
sequences .
• Numeric parameters represent numbers. Unless otherwise specified, any
numeric value may be used. Numeric parameters are designated Pn in
this document.
• Selective parameters, designated in this document by Ps, are those that
select a subfunction from a specified list of subfunctions.
You must replace Pn and Ps, as well as certain command-specific parame-
ters, with the appropriate values in the command.
A parameter string is a list of parameters, separated by semicolons (3BH).
Default is a function-dependent value that is assumed when no value is
explicitly specified for a parameter.
• The Final Character is a character whose bit combination terminates an
escape or control sequence. There is a different character for each escape
sequence. In the example above, "A" is the Final Character. The Final
Character must be entered exactly as it appears in the command format. Be
careful to use uppercase or lowercase correctly.
As another example, the following escape sequence format is used to set character
attributes.
ESC[Ps; ... ;Psm
To select the attributes "over line" (3), "under line" (4), and "blink" (5), you would
enter the values that correspond to the following sequence. Note that lowercase "m"
is the Final Character.
ESC[2; 3; 4m

Advertisement

Table of Contents
loading

Table of Contents