Jump to content

TRS-80 character set

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Matthiaspaul (talk | contribs) at 15:05, 12 January 2021 (improved ref). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The TRS-80 computer manufacturered by Tandy / Radio Shack contains an 8-bit character set.[1] It is partially derived from ASCII, and shares the code points from 32 - 95 on the standard model. Code points 96 - 127 are supported on models that have been fitted with a lower-case upgrade.[2]

The character set consists of letters, various numeric and special characters[1] as well as 64 semigraphics called squots (square dots) from a 2×3 matrix.[3] These were located at code points 128 to 191 with bits 5-0 following their binary representation,[3] similar to alpha-mosaic characters in World System Teletext.[4] These characters were used for graphics in games, such as Android Nim.[5]

Character set

The following table shows the TRS-80 model I character set. Each character is shown with a potential Unicode equivalent. Space and control characters are represented by the abbreviations for their names.

TRS-80 model I character set[6][3][7][8]
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _A _B _C _D _E _F
0_
0
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-ctrl|BS[a]
0008
Template:Chset-color-undef|
 
Template:Chset-color-ctrl|LF
000A
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-ctrl|CR
000D
Template:Chset-color-ctrl|con[b]
 
Template:Chset-color-ctrl|coff[c]
 
1_
16
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-undef|
 
Template:Chset-color-ctrl|[d]
 
Template:Chset-color-ctrl|32[e]
 
Template:Chset-color-ctrl|[f]
 
Template:Chset-color-ctrl|[g]
 
Template:Chset-color-ctrl|[h]
 
Template:Chset-color-ctrl|[i]
 
Template:Chset-color-ctrl|home[j]
 
Template:Chset-color-ctrl|sol[k]
 
Template:Chset-color-ctrl|ceol[l]
 
Template:Chset-color-ctrl|ceof[m]
 
2_
32
Template:Chset-color-misc|SP
0020
Template:Chset-color-punct|!
0021
Template:Chset-color-punct|"
0022
Template:Chset-color-punct|#
0023
Template:Chset-color-graph|$
0024
Template:Chset-color-punct|%
0025
Template:Chset-color-punct|&
0026
Template:Chset-color-punct|'
0027
Template:Chset-color-punct|(
0028
Template:Chset-color-punct|)
0029
Template:Chset-color-punct|*
002A
Template:Chset-color-graph|+
002B
Template:Chset-color-punct|,
002C
Template:Chset-color-punct|-
002D
Template:Chset-color-punct|.
002E
Template:Chset-color-punct|/
002F
3_
48
Template:Chset-color-digit|0
0030
Template:Chset-color-digit|1
0031
Template:Chset-color-digit|2
0032
Template:Chset-color-digit|3
0033
Template:Chset-color-digit|4
0034
Template:Chset-color-digit|5
0035
Template:Chset-color-digit|6
0036
Template:Chset-color-digit|7
0037
Template:Chset-color-digit|8
0038
Template:Chset-color-digit|9
0039
Template:Chset-color-punct|:
003A
Template:Chset-color-punct|;
003B
Template:Chset-color-graph|<
003C
Template:Chset-color-graph|=
003D
Template:Chset-color-graph|>
003E
Template:Chset-color-punct|?
003F
4_
64
Template:Chset-color-punct|@
0040
Template:Chset-color-letter|A
0041
Template:Chset-color-letter|B
0042
Template:Chset-color-letter|C
0043
Template:Chset-color-letter|D
0044
Template:Chset-color-letter|E
0045
Template:Chset-color-letter|F
0046
Template:Chset-color-letter|G
0047
Template:Chset-color-letter|H
0048
Template:Chset-color-letter|I
0049
Template:Chset-color-letter|J
004A
Template:Chset-color-letter|K
004B
Template:Chset-color-letter|L
004C
Template:Chset-color-letter|M
004D
Template:Chset-color-letter|N
004E
Template:Chset-color-letter|O
004F
5_
80
Template:Chset-color-letter|P
0050
Template:Chset-color-letter|Q
0051
Template:Chset-color-letter|R
0052
Template:Chset-color-letter|S
0053
Template:Chset-color-letter|T
0054
Template:Chset-color-letter|U
0055
Template:Chset-color-letter|V
0056
Template:Chset-color-letter|W
0057
Template:Chset-color-letter|X
0058
Template:Chset-color-letter|Y
0059
Template:Chset-color-letter|Z
005A
Template:Chset-color-graph|
 
Template:Chset-color-graph|
 
Template:Chset-color-graph|
 
Template:Chset-color-graph|
 
Template:Chset-color-punct|_
005F
6_
96
Template:Chset-color-undef|
 
Template:Chset-color-letter|a
0061
Template:Chset-color-letter|b
0062
Template:Chset-color-letter|c
0063
Template:Chset-color-letter|d
0064
Template:Chset-color-letter|e
0065
Template:Chset-color-letter|f
0066
Template:Chset-color-letter|g
0067
Template:Chset-color-letter|h
0068
Template:Chset-color-letter|i
0069
Template:Chset-color-letter|j
006A
Template:Chset-color-letter|k
006B
Template:Chset-color-letter|l
006C
Template:Chset-color-letter|m
006D
Template:Chset-color-letter|n
006E
Template:Chset-color-letter|o
006F
7_
112
Template:Chset-color-letter|p
0070
Template:Chset-color-letter|q
0071
Template:Chset-color-letter|r
0072
Template:Chset-color-letter|s
0073
Template:Chset-color-letter|t
0074
Template:Chset-color-letter|u
0075
Template:Chset-color-letter|v
0076
Template:Chset-color-letter|w
0077
Template:Chset-color-letter|x
0078
Template:Chset-color-letter|y
0079
Template:Chset-color-letter|z
007A
Template:Chset-color-punct|{
007B
Template:Chset-color-graph||
007C
Template:Chset-color-punct|}
007D
Template:Chset-color-graph|~
007E
Template:Chset-color-graph|±
00B1
8_
128
Template:Chset-color-misc|NBSP
00A0
Template:Chset-color-graph|
1FB00
Template:Chset-color-graph|
1FB01
Template:Chset-color-graph|
1FB02
Template:Chset-color-graph|
1FB03
Template:Chset-color-graph|
1FB04
Template:Chset-color-graph|
1FB05
Template:Chset-color-graph|
1FB06
Template:Chset-color-graph|
1FB07
Template:Chset-color-graph|
1FB08
Template:Chset-color-graph|
1FB09
Template:Chset-color-graph|
1FB0A
Template:Chset-color-graph|
1FB0B
Template:Chset-color-graph|
1FB0C
Template:Chset-color-graph|
1FB0D
Template:Chset-color-graph|
1FB0E
9_
144
Template:Chset-color-graph|
1FB0F
Template:Chset-color-graph|
1FB10
Template:Chset-color-graph|
1FB11
Template:Chset-color-graph|
1FB12
Template:Chset-color-graph|
1FB13
Template:Chset-color-graph|
258C
Template:Chset-color-graph|
1FB14
Template:Chset-color-graph|
1FB15
Template:Chset-color-graph|
1FB16
Template:Chset-color-graph|
1FB17
Template:Chset-color-graph|
1FB18
Template:Chset-color-graph|
1FB19
Template:Chset-color-graph|
1FB1A
Template:Chset-color-graph|
1FB1B
Template:Chset-color-graph|
1FB1C
Template:Chset-color-graph|
1FB1D
A_
160
Template:Chset-color-graph|
1FB1E
Template:Chset-color-graph|
1FB1F
Template:Chset-color-graph|
1FB20
Template:Chset-color-graph|
1FB21
Template:Chset-color-graph|
1FB22
Template:Chset-color-graph|
1FB23
Template:Chset-color-graph|
1FB24
Template:Chset-color-graph|
1FB25
Template:Chset-color-graph|
1FB26
Template:Chset-color-graph|
1FB27
Template:Chset-color-graph|
2590
Template:Chset-color-graph|
1FB28
Template:Chset-color-graph|
1FB29
Template:Chset-color-graph|
1FB2A
Template:Chset-color-graph|
1FB2B
Template:Chset-color-graph|
1FB2C
B_
176
Template:Chset-color-graph|
1FB2D
Template:Chset-color-graph|
1FB2E
Template:Chset-color-graph|
1FB2F
Template:Chset-color-graph|
1FB30
Template:Chset-color-graph|
1FB31
Template:Chset-color-graph|
1FB32
Template:Chset-color-graph|
1FB33
Template:Chset-color-graph|
1FB34
Template:Chset-color-graph|
1FB35
Template:Chset-color-graph|
1FB36
Template:Chset-color-graph|
1FB37
Template:Chset-color-graph|
1FB38
Template:Chset-color-graph|
1FB39
Template:Chset-color-graph|
1FB3A
Template:Chset-color-graph|
1FB3B
Template:Chset-color-graph|
2588
C_
192
Template:Chset-color-misc|[n]
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
D_
208
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
E_
224
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
F_
240
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 
Template:Chset-color-misc|tab
 

  Letter  Number  Punctuation  Symbol  Other  Undefined

  1. ^ Backspace and erase current character
  2. ^ Cursor on
  3. ^ Cursor off
  4. ^ Toggles Katakana characters (Model III)
  5. ^ Converts to wide 32 column mode
  6. ^ Backspace ← Cursor
  7. ^ Advance → Cursor
  8. ^ Downward ↓ linefeed
  9. ^ Upward ↑ linefeed
  10. ^ Move cursor to (0,0), also turns off 32 column mode
  11. ^ Move to start of line
  12. ^ Erase to end of line
  13. ^ Erase to end of frame
  14. ^ 192 to 255 are "Space Compression Codes", tabs for 0 to 63 spaces

References

Citations

  1. ^ a b Fylstra, Dan (April 1978). "Radio Shack TRS-80: An Owner's Report" (PDF). BYTE. Boston, MA, USA: BYTE Publications Inc.: 49–59. Archived (PDF) from the original on 2017-07-29. Retrieved 2017-07-29.
  2. ^ Heiserman 1983, p. 15.
  3. ^ a b c Goldklang, Ira (2015). "Graphic Tips & Tricks". Archived from the original on 2017-07-29. Retrieved 2017-07-29.
  4. ^ Wiels. "TeleText - Het Protocol" (in Dutch). Mosaic characters. Archived from the original on 2017-12-22. Retrieved 2017-12-21.
  5. ^ Crawford 2003, p. 202.
  6. ^ Level II Basic Manual. Tandy / Radio Shack. 1978. pp. C1/C2.
  7. ^ "TRSM1ICH.TXT", L2/19-025: Proposal to add characters from legacy computers and teletext to the UCS (PDF), 2019-01-04
  8. ^ Heiserman 1983, p. 243.

Sources

Further reading