Extensible Firmware Interface Specification
334 12/12/00 Version 1.02
Table B-1. EFI Scan Codes for SIMPLE_INPUT (continued)
EFI Scan Code Description
ANSI X3.64
Codes
PCANSI
Codes
AT 101/102 Keyboard
Scan Codes
0x0e Function 4 CSI O x ESC [ O x 0x3e
0x0f Function 5 CSI O t ESC [ O t 0x3f
0x10 Function 6 CSI O u ESC [ O u 0x40
0x11 Function 7 CSI O q ESC [ O q 0x41
0x12 Function 8 CSI O r ESC [ O r 0x42
0x13 Function 9 CSI O p ESC [ O p 0x43
0x14 Function 10 CSI O M ESC [ O M 0x44
0x17 Escape CSI ESC 0x01
B.2 SIMPLE_TEXT_OUTPUTTable B-2 defines how the programmatic methods of the SIMPLE_TEXT_OUPUT protocol could
be implemented as PCANSI or ANSI X3.64 terminals. Detailed descriptions of PCANSI and ANSI
X3.64 escape sequences are as follows. The same type of operations can be supported via a PC AT
type INT 10h interface.
Table B-2. Control Sequences that Can Be Used to Implement SIMPLE_TEXT_OUTPUT
PCANSI
Codes
ANSI X3.64
Codes Description
ESC [ 2 J CSI 2 J Clear Display Screen.
ESC [ 0 m CSI 0 m Normal Text.
ESC [ 1 m CSI 1 m Bright Text.
ESC [ 7 m CSI 7 m Reversed Text.
ESC [ 30 m CSI 30 m Black foreground, compliant with ISO Standard 6429.
ESC [ 31 m CSI 31 m Red foreground, compliant with ISO Standard 6429.
ESC [ 32 m CSI 32 m Green foreground, compliant with ISO Standard 6429.
ESC [ 33 m CSI 33 m Yellow foreground, compliant with ISO Standard 6429.
ESC [ 34 m CSI 34 m Blue foreground, compliant with ISO Standard 6429.
ESC [ 35 m CSI 35 m Magenta foreground, compliant with ISO Standard 6429.
ESC [ 36 m CSI 36 m Cyan foreground, compliant with ISO Standard 6429.
ESC [ 37 m CSI 37 m White foreground, compliant with ISO Standard 6429.
ESC [ 40 m CSI 40 m Black background, compliant with ISO Standard 6429.
continued