B.2 simple_text_output – Intel Extensible Firmware Interface User Manual
Page 854

Extensible Firmware Interface Specification
B-2
12/01/02
Version 1.10
Table B-1. EFI Scan Codes for
(continued)
EFI Scan Code
Description
ANSI X3.64
Codes
PC ANSI
Codes
AT 101/102 Keyboard
Scan Codes
0x0b
Function 1
CSI O P
ESC [ O P
0x3b
0x0c
Function 2
CSI O Q
ESC [ O Q
0x3c
0x0d
Function 3
CSI O w
ESC [ O w
0x3d
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_OUTPUT
Table B-2 defines how the programmatic methods of the
protocol could
be implemented as PC ANSI or ANSI X3.64 terminals. Detailed descriptions of PC ANSI 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
PC ANSI
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.
continued