Teletext Control Codes

Codes 0x00-0x07
set the text colour

0 0 0 0 0 0 0 0 Null*
0 0 1 Text Red
0 1 0 Text Green
0 1 1 Text Blue
1 0 0 Text Yellow
1 0 1 Text Magenta
1 1 0 Text Cyan
1 1 1 Text White

Codes 0x10-0x17
set the graphics colour

0 0 0 0 1 0 0 0 DLE*
0 0 1 Graphics Red
0 1 0 Graphics Green
0 1 1 Graphics Blue
1 0 0 Graphics Yellow
1 0 1 Graphics Magenta
1 1 0 Graphics Cyan
1 1 1 Graphics White

Codes 0x08-0x0F
set the text attributes

0 0 0 1 0 0 0 0 Flash On
0 0 1 Flash Off **
0 1 0 Box End **
0 1 1 Box Start
1 0 0 Height Normal **
1 0 1 Height Double
1 1 0 S0 *
1 1 1 S1 *

Codes 0x18-0x1F
set the display attributes

0 0 0 1 1 0 0 0 Conceal Display
0 0 1 Graphics Contiguous**
0 1 0 Graphics Seperated
0 1 1 Escape **
1 0 0 Background Black **
1 0 1 Background New
1 1 0 Graphics Hold
1 1 1 Graphics Release

* These codes left in for compatibility with other character codings (e.g. ASCII)
** Default setting