Sprites.Platform.Teletext

The Teletext (SAA5050) platform pack: the machine's shared colours and its font constants under Font. A 6×10 character display of alphanumerics and 2×3 mosaic graphics in eight colours, used by the BBC in MODE 7.

Sprites.Platform.Teletext

Font

Text

Sprites.Platform.Teletext.Name String

The machine's display name.

"Teletext"

Sprites.Platform.Teletext.Palette Array

The eight teletext colours the SAA5050 shows, as packed 0xRRGGBBAA integers, the set a cell may draw ink and paper from.

[
  0x000000ff,
  0xff0000ff,
  0x00ff00ff,
  0xffff00ff,
  0x0000ffff,
  0xff00ffff,
  0x00ffffff,
  0xffffffff
]

Sprites.Platform.Teletext.Font.Charsets Array

The machine's built-in character sets, each a font object of name, cell size and glyphs. Teletext has two built-in sets, both 6×10: the Alphanumerics set, the SAA5050 letters, digits and punctuation; and the Contiguous graphics set, the 2×3 mosaic blocks a cell switches to under a graphics control code, each glyph one of the sixty four block patterns. Font.DefaultFont is the first entry, the Alphanumerics set.

[
  { name: 'Alphanumerics', w: 6, h: 10, first: 32, glyphs: [ /* 96 glyphs */ ] },
  { name: 'Contiguous graphics', w: 6, h: 10, first: 32, glyphs: [ /* 96 glyphs */ ] }
]

Sprites.Platform.Teletext.Font.DefaultWidth Number

The glyph cell width in pixels of the default font.

6

Sprites.Platform.Teletext.Font.DefaultHeight Number

The glyph cell height in pixels of the default font.

10

Sprites.Platform.Teletext.Font.CharStart Number

The character code of the first glyph in the default font.

32

Sprites.Platform.Teletext.Font.CharCount Number

The number of glyphs in the default font.

96

Sprites.Platform.Teletext.Font.DefaultFont Object

The built-in font as a font object: its mode and cell size, and a glyphs array in the compact ROM form, one byte per pixel row, the leftmost of the six pixels the top bit. It is the first of the two Font.Charsets, the Alphanumerics set. See the Teletext font page for the format.

The Teletext alphanumerics character set, 96 glyphs
Alphanumerics (charset 0), the real SAA5050 character ROM.
The Teletext contiguous graphics character set, 96 glyphs
Contiguous mosaic graphics (charset 1). Sprites.Platform.Teletext.Font.DefaultFont is charset 0.
Sprites.Platform.Teletext.Font.Charsets = [
  {
    name: "Alphanumerics", w: 6, h: 10, freeform: false, first: 32,
    glyphs: [
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00], // 32
      [0x00,0x04,0x04,0x04,0x04,0x04,0x00,0x04,0x00,0x00], // 33
      [0x00,0x0a,0x0a,0x0a,0x00,0x00,0x00,0x00,0x00,0x00], // 34
      [0x00,0x06,0x09,0x08,0x1c,0x08,0x08,0x1f,0x00,0x00], // 35
      [0x00,0x0e,0x15,0x14,0x0e,0x05,0x15,0x0e,0x00,0x00], // 36
      [0x00,0x18,0x19,0x02,0x04,0x08,0x13,0x03,0x00,0x00], // 37
      [0x00,0x08,0x14,0x14,0x08,0x15,0x12,0x0d,0x00,0x00], // 38
      [0x00,0x04,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00], // 39
      [0x00,0x02,0x04,0x08,0x08,0x08,0x04,0x02,0x00,0x00], // 40
      [0x00,0x08,0x04,0x02,0x02,0x02,0x04,0x08,0x00,0x00], // 41
      [0x00,0x04,0x15,0x0e,0x04,0x0e,0x15,0x04,0x00,0x00], // 42
      [0x00,0x00,0x04,0x04,0x1f,0x04,0x04,0x00,0x00,0x00], // 43
      [0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x08,0x00], // 44
      [0x00,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x00,0x00], // 45
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00], // 46
      [0x00,0x00,0x01,0x02,0x04,0x08,0x10,0x00,0x00,0x00], // 47
      [0x00,0x04,0x0a,0x11,0x11,0x11,0x0a,0x04,0x00,0x00], // 48
      [0x00,0x04,0x0c,0x04,0x04,0x04,0x04,0x0e,0x00,0x00], // 49
      [0x00,0x0e,0x11,0x01,0x06,0x08,0x10,0x1f,0x00,0x00], // 50
      [0x00,0x1f,0x01,0x02,0x06,0x01,0x11,0x0e,0x00,0x00], // 51
      [0x00,0x02,0x06,0x0a,0x12,0x1f,0x02,0x02,0x00,0x00], // 52
      [0x00,0x1f,0x10,0x1e,0x01,0x01,0x11,0x0e,0x00,0x00], // 53
      [0x00,0x06,0x08,0x10,0x1e,0x11,0x11,0x0e,0x00,0x00], // 54
      [0x00,0x1f,0x01,0x02,0x04,0x08,0x08,0x08,0x00,0x00], // 55
      [0x00,0x0e,0x11,0x11,0x0e,0x11,0x11,0x0e,0x00,0x00], // 56
      [0x00,0x0e,0x11,0x11,0x0f,0x01,0x02,0x0c,0x00,0x00], // 57
      [0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00], // 58
      [0x00,0x00,0x00,0x04,0x00,0x00,0x04,0x04,0x08,0x00], // 59
      [0x00,0x02,0x04,0x08,0x10,0x08,0x04,0x02,0x00,0x00], // 60
      [0x00,0x00,0x00,0x1f,0x00,0x1f,0x00,0x00,0x00,0x00], // 61
      [0x00,0x08,0x04,0x02,0x01,0x02,0x04,0x08,0x00,0x00], // 62
      [0x00,0x0e,0x11,0x02,0x04,0x04,0x00,0x04,0x00,0x00], // 63
      [0x00,0x0e,0x11,0x17,0x15,0x17,0x10,0x0e,0x00,0x00], // 64
      [0x00,0x04,0x0a,0x11,0x11,0x1f,0x11,0x11,0x00,0x00], // 65
      [0x00,0x1e,0x11,0x11,0x1e,0x11,0x11,0x1e,0x00,0x00], // 66
      [0x00,0x0e,0x11,0x10,0x10,0x10,0x11,0x0e,0x00,0x00], // 67
      [0x00,0x1e,0x11,0x11,0x11,0x11,0x11,0x1e,0x00,0x00], // 68
      [0x00,0x1f,0x10,0x10,0x1e,0x10,0x10,0x1f,0x00,0x00], // 69
      [0x00,0x1f,0x10,0x10,0x1e,0x10,0x10,0x10,0x00,0x00], // 70
      [0x00,0x0e,0x11,0x10,0x10,0x13,0x11,0x0f,0x00,0x00], // 71
      [0x00,0x11,0x11,0x11,0x1f,0x11,0x11,0x11,0x00,0x00], // 72
      [0x00,0x0e,0x04,0x04,0x04,0x04,0x04,0x0e,0x00,0x00], // 73
      [0x00,0x01,0x01,0x01,0x01,0x01,0x11,0x0e,0x00,0x00], // 74
      [0x00,0x11,0x12,0x14,0x18,0x14,0x12,0x11,0x00,0x00], // 75
      [0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x1f,0x00,0x00], // 76
      [0x00,0x11,0x1b,0x15,0x15,0x11,0x11,0x11,0x00,0x00], // 77
      [0x00,0x11,0x11,0x19,0x15,0x13,0x11,0x11,0x00,0x00], // 78
      [0x00,0x0e,0x11,0x11,0x11,0x11,0x11,0x0e,0x00,0x00], // 79
      [0x00,0x1e,0x11,0x11,0x1e,0x10,0x10,0x10,0x00,0x00], // 80
      [0x00,0x0e,0x11,0x11,0x11,0x15,0x12,0x0d,0x00,0x00], // 81
      [0x00,0x1e,0x11,0x11,0x1e,0x14,0x12,0x11,0x00,0x00], // 82
      [0x00,0x0e,0x11,0x10,0x0e,0x01,0x11,0x0e,0x00,0x00], // 83
      [0x00,0x1f,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00], // 84
      [0x00,0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x00,0x00], // 85
      [0x00,0x11,0x11,0x11,0x0a,0x0a,0x04,0x04,0x00,0x00], // 86
      [0x00,0x11,0x11,0x11,0x15,0x15,0x15,0x0a,0x00,0x00], // 87
      [0x00,0x11,0x11,0x0a,0x04,0x0a,0x11,0x11,0x00,0x00], // 88
      [0x00,0x11,0x11,0x0a,0x04,0x04,0x04,0x04,0x00,0x00], // 89
      [0x00,0x1f,0x01,0x02,0x04,0x08,0x10,0x1f,0x00,0x00], // 90
      [0x00,0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00], // 91
      [0x00,0x10,0x10,0x10,0x10,0x16,0x01,0x02,0x04,0x07], // 92
      [0x00,0x00,0x04,0x02,0x1f,0x02,0x04,0x00,0x00,0x00], // 93
      [0x00,0x00,0x04,0x0e,0x15,0x04,0x04,0x00,0x00,0x00], // 94
      [0x00,0x0a,0x0a,0x1f,0x0a,0x1f,0x0a,0x0a,0x00,0x00], // 95
      [0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00], // 96
      [0x00,0x00,0x00,0x0e,0x01,0x0f,0x11,0x0f,0x00,0x00], // 97
      [0x00,0x10,0x10,0x1e,0x11,0x11,0x11,0x1e,0x00,0x00], // 98
      [0x00,0x00,0x00,0x0f,0x10,0x10,0x10,0x0f,0x00,0x00], // 99
      [0x00,0x01,0x01,0x0f,0x11,0x11,0x11,0x0f,0x00,0x00], // 100
      [0x00,0x00,0x00,0x0e,0x11,0x1f,0x10,0x0e,0x00,0x00], // 101
      [0x00,0x02,0x04,0x04,0x0e,0x04,0x04,0x04,0x00,0x00], // 102
      [0x00,0x00,0x00,0x0f,0x11,0x11,0x11,0x0f,0x01,0x0e], // 103
      [0x00,0x10,0x10,0x1e,0x11,0x11,0x11,0x11,0x00,0x00], // 104
      [0x00,0x04,0x00,0x0c,0x04,0x04,0x04,0x0e,0x00,0x00], // 105
      [0x00,0x04,0x00,0x04,0x04,0x04,0x04,0x04,0x04,0x08], // 106
      [0x00,0x08,0x08,0x09,0x0a,0x0c,0x0a,0x09,0x00,0x00], // 107
      [0x00,0x0c,0x04,0x04,0x04,0x04,0x04,0x0e,0x00,0x00], // 108
      [0x00,0x00,0x00,0x1a,0x15,0x15,0x15,0x15,0x00,0x00], // 109
      [0x00,0x00,0x00,0x1e,0x11,0x11,0x11,0x11,0x00,0x00], // 110
      [0x00,0x00,0x00,0x0e,0x11,0x11,0x11,0x0e,0x00,0x00], // 111
      [0x00,0x00,0x00,0x1e,0x11,0x11,0x11,0x1e,0x10,0x10], // 112
      [0x00,0x00,0x00,0x0f,0x11,0x11,0x11,0x0f,0x01,0x01], // 113
      [0x00,0x00,0x00,0x0b,0x0c,0x08,0x08,0x08,0x00,0x00], // 114
      [0x00,0x00,0x00,0x0f,0x10,0x0e,0x01,0x1e,0x00,0x00], // 115
      [0x00,0x04,0x04,0x0e,0x04,0x04,0x04,0x02,0x00,0x00], // 116
      [0x00,0x00,0x00,0x11,0x11,0x11,0x11,0x0f,0x00,0x00], // 117
      [0x00,0x00,0x00,0x11,0x11,0x0a,0x0a,0x04,0x00,0x00], // 118
      [0x00,0x00,0x00,0x11,0x11,0x15,0x15,0x0a,0x00,0x00], // 119
      [0x00,0x00,0x00,0x11,0x0a,0x04,0x0a,0x11,0x00,0x00], // 120
      [0x00,0x00,0x00,0x11,0x11,0x11,0x11,0x0f,0x01,0x0e], // 121
      [0x00,0x00,0x00,0x1f,0x02,0x04,0x08,0x1f,0x00,0x00], // 122
      [0x00,0x08,0x08,0x08,0x08,0x09,0x03,0x05,0x07,0x01], // 123
      [0x00,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x0a,0x00,0x00], // 124
      [0x00,0x18,0x04,0x18,0x04,0x19,0x03,0x05,0x07,0x01], // 125
      [0x00,0x00,0x04,0x00,0x1f,0x00,0x04,0x00,0x00,0x00], // 126
      [0x00,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x1f,0x00,0x00], // 127
    ],
  },
  {
    name: "Contiguous graphics", w: 6, h: 10, freeform: false, first: 32,
    glyphs: [
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00], // 32
      [0x38,0x38,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00], // 33
      [0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00], // 34
      [0x3f,0x3f,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00], // 35
      [0x00,0x00,0x00,0x38,0x38,0x38,0x38,0x00,0x00,0x00], // 36
      [0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x00,0x00,0x00], // 37
      [0x07,0x07,0x07,0x38,0x38,0x38,0x38,0x00,0x00,0x00], // 38
      [0x3f,0x3f,0x3f,0x38,0x38,0x38,0x38,0x00,0x00,0x00], // 39
      [0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x00,0x00,0x00], // 40
      [0x38,0x38,0x38,0x07,0x07,0x07,0x07,0x00,0x00,0x00], // 41
      [0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x00,0x00,0x00], // 42
      [0x3f,0x3f,0x3f,0x07,0x07,0x07,0x07,0x00,0x00,0x00], // 43
      [0x00,0x00,0x00,0x3f,0x3f,0x3f,0x3f,0x00,0x00,0x00], // 44
      [0x38,0x38,0x38,0x3f,0x3f,0x3f,0x3f,0x00,0x00,0x00], // 45
      [0x07,0x07,0x07,0x3f,0x3f,0x3f,0x3f,0x00,0x00,0x00], // 46
      [0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x00,0x00,0x00], // 47
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x38,0x38], // 48
      [0x38,0x38,0x38,0x00,0x00,0x00,0x00,0x38,0x38,0x38], // 49
      [0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x38,0x38,0x38], // 50
      [0x3f,0x3f,0x3f,0x00,0x00,0x00,0x00,0x38,0x38,0x38], // 51
      [0x00,0x00,0x00,0x38,0x38,0x38,0x38,0x38,0x38,0x38], // 52
      [0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x38], // 53
      [0x07,0x07,0x07,0x38,0x38,0x38,0x38,0x38,0x38,0x38], // 54
      [0x3f,0x3f,0x3f,0x38,0x38,0x38,0x38,0x38,0x38,0x38], // 55
      [0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x38,0x38,0x38], // 56
      [0x38,0x38,0x38,0x07,0x07,0x07,0x07,0x38,0x38,0x38], // 57
      [0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x38,0x38,0x38], // 58
      [0x3f,0x3f,0x3f,0x07,0x07,0x07,0x07,0x38,0x38,0x38], // 59
      [0x00,0x00,0x00,0x3f,0x3f,0x3f,0x3f,0x38,0x38,0x38], // 60
      [0x38,0x38,0x38,0x3f,0x3f,0x3f,0x3f,0x38,0x38,0x38], // 61
      [0x07,0x07,0x07,0x3f,0x3f,0x3f,0x3f,0x38,0x38,0x38], // 62
      [0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x38,0x38,0x38], // 63
      [0x0e,0x11,0x17,0x15,0x17,0x10,0x0e,0x00,0x00,0x00], // 64
      [0x04,0x0a,0x11,0x11,0x1f,0x11,0x11,0x00,0x00,0x00], // 65
      [0x1e,0x11,0x11,0x1e,0x11,0x11,0x1e,0x00,0x00,0x00], // 66
      [0x0e,0x11,0x10,0x10,0x10,0x11,0x0e,0x00,0x00,0x00], // 67
      [0x1e,0x11,0x11,0x11,0x11,0x11,0x1e,0x00,0x00,0x00], // 68
      [0x1f,0x10,0x10,0x1e,0x10,0x10,0x1f,0x00,0x00,0x00], // 69
      [0x1f,0x10,0x10,0x1e,0x10,0x10,0x10,0x00,0x00,0x00], // 70
      [0x0e,0x11,0x10,0x10,0x13,0x11,0x0f,0x00,0x00,0x00], // 71
      [0x11,0x11,0x11,0x1f,0x11,0x11,0x11,0x00,0x00,0x00], // 72
      [0x0e,0x04,0x04,0x04,0x04,0x04,0x0e,0x00,0x00,0x00], // 73
      [0x01,0x01,0x01,0x01,0x01,0x11,0x0e,0x00,0x00,0x00], // 74
      [0x11,0x12,0x14,0x18,0x14,0x12,0x11,0x00,0x00,0x00], // 75
      [0x10,0x10,0x10,0x10,0x10,0x10,0x1f,0x00,0x00,0x00], // 76
      [0x11,0x1b,0x15,0x11,0x11,0x11,0x11,0x00,0x00,0x00], // 77
      [0x11,0x11,0x19,0x15,0x13,0x11,0x11,0x00,0x00,0x00], // 78
      [0x0e,0x11,0x11,0x11,0x11,0x11,0x0e,0x00,0x00,0x00], // 79
      [0x1e,0x11,0x11,0x1e,0x10,0x10,0x10,0x00,0x00,0x00], // 80
      [0x0e,0x11,0x11,0x11,0x15,0x12,0x0d,0x00,0x00,0x00], // 81
      [0x1e,0x11,0x11,0x1e,0x14,0x12,0x11,0x00,0x00,0x00], // 82
      [0x0e,0x11,0x10,0x0e,0x01,0x11,0x0e,0x00,0x00,0x00], // 83
      [0x1f,0x04,0x04,0x04,0x04,0x04,0x04,0x00,0x00,0x00], // 84
      [0x11,0x11,0x11,0x11,0x11,0x11,0x0e,0x00,0x00,0x00], // 85
      [0x11,0x11,0x11,0x0a,0x0a,0x04,0x04,0x00,0x00,0x00], // 86
      [0x11,0x11,0x11,0x15,0x15,0x15,0x0a,0x00,0x00,0x00], // 87
      [0x11,0x11,0x0a,0x04,0x0a,0x11,0x11,0x00,0x00,0x00], // 88
      [0x11,0x11,0x0a,0x04,0x04,0x04,0x04,0x00,0x00,0x00], // 89
      [0x1f,0x01,0x02,0x04,0x08,0x10,0x1f,0x00,0x00,0x00], // 90
      [0x00,0x04,0x08,0x1f,0x08,0x04,0x00,0x00,0x00,0x00], // 91
      [0x10,0x10,0x10,0x10,0x16,0x01,0x02,0x04,0x07,0x00], // 92
      [0x00,0x04,0x02,0x1f,0x02,0x04,0x00,0x00,0x00,0x00], // 93
      [0x00,0x04,0x0e,0x15,0x04,0x04,0x00,0x00,0x00,0x00], // 94
      [0x0a,0x0a,0x1f,0x0a,0x1f,0x0a,0x0a,0x00,0x00,0x00], // 95
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x07], // 96
      [0x38,0x38,0x38,0x00,0x00,0x00,0x00,0x07,0x07,0x07], // 97
      [0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x07,0x07,0x07], // 98
      [0x3f,0x3f,0x3f,0x00,0x00,0x00,0x00,0x07,0x07,0x07], // 99
      [0x00,0x00,0x00,0x38,0x38,0x38,0x38,0x07,0x07,0x07], // 100
      [0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x07,0x07,0x07], // 101
      [0x07,0x07,0x07,0x38,0x38,0x38,0x38,0x07,0x07,0x07], // 102
      [0x3f,0x3f,0x3f,0x38,0x38,0x38,0x38,0x07,0x07,0x07], // 103
      [0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x07,0x07,0x07], // 104
      [0x38,0x38,0x38,0x07,0x07,0x07,0x07,0x07,0x07,0x07], // 105
      [0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x07], // 106
      [0x3f,0x3f,0x3f,0x07,0x07,0x07,0x07,0x07,0x07,0x07], // 107
      [0x00,0x00,0x00,0x3f,0x3f,0x3f,0x3f,0x07,0x07,0x07], // 108
      [0x38,0x38,0x38,0x3f,0x3f,0x3f,0x3f,0x07,0x07,0x07], // 109
      [0x07,0x07,0x07,0x3f,0x3f,0x3f,0x3f,0x07,0x07,0x07], // 110
      [0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x07,0x07,0x07], // 111
      [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x3f,0x3f], // 112
      [0x38,0x38,0x38,0x00,0x00,0x00,0x00,0x3f,0x3f,0x3f], // 113
      [0x07,0x07,0x07,0x00,0x00,0x00,0x00,0x3f,0x3f,0x3f], // 114
      [0x3f,0x3f,0x3f,0x00,0x00,0x00,0x00,0x3f,0x3f,0x3f], // 115
      [0x00,0x00,0x00,0x38,0x38,0x38,0x38,0x3f,0x3f,0x3f], // 116
      [0x38,0x38,0x38,0x38,0x38,0x38,0x38,0x3f,0x3f,0x3f], // 117
      [0x07,0x07,0x07,0x38,0x38,0x38,0x38,0x3f,0x3f,0x3f], // 118
      [0x3f,0x3f,0x3f,0x38,0x38,0x38,0x38,0x3f,0x3f,0x3f], // 119
      [0x00,0x00,0x00,0x07,0x07,0x07,0x07,0x3f,0x3f,0x3f], // 120
      [0x38,0x38,0x38,0x07,0x07,0x07,0x07,0x3f,0x3f,0x3f], // 121
      [0x07,0x07,0x07,0x07,0x07,0x07,0x07,0x3f,0x3f,0x3f], // 122
      [0x3f,0x3f,0x3f,0x07,0x07,0x07,0x07,0x3f,0x3f,0x3f], // 123
      [0x00,0x00,0x00,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f], // 124
      [0x38,0x38,0x38,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f], // 125
      [0x07,0x07,0x07,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f], // 126
      [0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f], // 127
    ],
  },
];

Sprites.Platform.Teletext.Text.Modes Array

The text screen modes, in the order the Info window lists them. Teletext has one mode, the 40×25 standard screen with square pixels.

NamePixel aspectWidthsHeights
Standard14025
[
  { "name": "Standard", "pixelAspect": 1, "allowedWidths": [40], "allowedHeights": [25] }
]

Sprites.Platform.Teletext.Text.Palette Array

The colours a text cell may draw ink and paper from, the same eight the SAA5050 shows. It is Sprites.Platform.Teletext.Palette, as packed 0xRRGGBBAA integers.

[
  0x000000ff,
  0xff0000ff,
  0x00ff00ff,
  0xffff00ff,
  0x0000ffff,
  0xff00ffff,
  0x00ffffff,
  0xffffffff
]

Sprites.Platform.Teletext.Text.WholeCell Boolean

A colour control takes a whole cell of its own, shown as a space, and sets the ink for the rest of the row until another overrides it. This is true for Teletext, the serial attribute rule the editor follows.

true

Sprites.Platform.Teletext.Text.DefaultWidth Number

The screen width in character cells the editor opens on.

40

Sprites.Platform.Teletext.Text.DefaultHeight Number

The screen height in character cells the editor opens on.

25

Sprites.Platform.Teletext.Text.DefaultInk Number

The ink colour a cell starts on, an index into the palette. It is 7, white.

7

Sprites.Platform.Teletext.Text.DefaultPaper Number

The paper colour a cell starts on, an index into the palette. It is 0, black.

0