aboutsummaryrefslogtreecommitdiff
path: root/atascii.rst
blob: b2ea3691f09f5f8e67b32c0d671883326b98ae2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
.. RST source for atascii(7) man page. Convert with:
..   rst2man.py atascii.rst > atascii.7

=======
atascii
=======

-------------------------
Atari 8-bit character set
-------------------------

.. include:: manhdr7.rst

DESCRIPTION
===========

ATASCII (Atari ASCII) is a variant of the ASCII character set, used by
Atari 8-bit computers (400/800, XL, XE models). It is an 8-bit code.

All characters are printable except EOL (155, $9B), although screen
control codes require an ESC to be printed first, to print the
character rather than acting on it.

The following table contains the 256 ATASCII characters. Character
codes 128-255 (80-FF) are inverse video versions of codes 0-127
(00-7F), except where marked otherwise. Descriptions with square
brackets denote screen control codes.

.. csv-table::

   "Dec", "Hex", "Char", "Dec", "Hex", "Char"
   "0", "00", "♥", "128", "80", ""
   "1", "01", "┣", "129", "81", ""
   "2", "02", "┃", "130", "82", ""
   "3", "03", "┛", "131", "83", ""
   "4", "04", "┫", "132", "84", ""
   "5", "05", "┓", "133", "85", ""
   "6", "06", "╱", "134", "86", ""
   "7", "07", "╲", "135", "87", ""
   "8", "08", "◢", "136", "88", ""
   "9", "09", "▗", "137", "89", ""
   "10", "0a", "◣", "138", "8a", ""
   "11", "0b", "▝", "139", "8b", ""
   "12", "0c", "▘", "140", "8c", ""
   "13", "0d", "▔", "141", "8d", ""
   "14", "0e", "▁", "142", "8e", ""
   "15", "0f", "▖", "143", "8f", ""
   "16", "10", "♣", "144", "90", ""
   "17", "11", "┏", "145", "91", ""
   "18", "12", "━", "146", "92", ""
   "19", "13", "╋", "147", "93", ""
   "20", "14", "●", "148", "94", ""
   "21", "15", "▄", "149", "95", ""
   "22", "16", "▎", "150", "96", ""
   "23", "17", "┳", "151", "97", ""
   "24", "18", "┻", "152", "98", ""
   "25", "19", "▌", "153", "99", ""
   "26", "1a", "┗", "154", "9a", ""
   "27", "1b", "␛ [escape]", "155", "9b", "[end of line]"
   "28", "1c", "↑ [up arrow]", "156", "9c", "[delete line]"
   "29", "1d", "↓ [down arrow]", "157", "9d", "[insert line]"
   "30", "1e", "← [left arrow]", "158", "9e", "[clear tab stop]"
   "31", "1f", "→ [right arrow]", "159", "9f", "[set tab stop]"
   "32", "20", "space", "160", "a0", ""
   "33", "21", "!", "161", "a1", ""
   "34", "22", \", "162", "a2", ""
   "35", "23", "#", "163", "a3", ""
   "36", "24", "$", "164", "a4", ""
   "37", "25", "%", "165", "a5", ""
   "38", "26", "&", "166", "a6", ""
   "39", "27", "'", "167", "a7", ""
   "40", "28", "(", "168", "a8", ""
   "41", "29", ")", "169", "a9", ""
   "42", "2a", "\*", "170", "aa", ""
   "43", "2b", "\+", "171", "ab", ""
   "44", "2c", ",", "172", "ac", ""
   "45", "2d", "\-", "173", "ad", ""
   "46", "2e", ".", "174", "ae", ""
   "47", "2f", "/", "175", "af", ""
   "48", "30", "0", "176", "b0", ""
   "49", "31", "1", "177", "b1", ""
   "50", "32", "2", "178", "b2", ""
   "51", "33", "3", "179", "b3", ""
   "52", "34", "4", "180", "b4", ""
   "53", "35", "5", "181", "b5", ""
   "54", "36", "6", "182", "b6", ""
   "55", "37", "7", "183", "b7", ""
   "56", "38", "8", "184", "b8", ""
   "57", "39", "9", "185", "b9", ""
   "58", "3a", ":", "186", "ba", ""
   "59", "3b", ";", "187", "bb", ""
   "60", "3c", "<", "188", "bc", ""
   "61", "3d", "=", "189", "bd", ""
   "62", "3e", ">", "190", "be", ""
   "63", "3f", "?", "191", "bf", ""
   "64", "40", "@", "192", "c0", ""
   "65", "41", "A", "193", "c1", ""
   "66", "42", "B", "194", "c2", ""
   "67", "43", "C", "195", "c3", ""
   "68", "44", "D", "196", "c4", ""
   "69", "45", "E", "197", "c5", ""
   "70", "46", "F", "198", "c6", ""
   "71", "47", "G", "199", "c7", ""
   "72", "48", "H", "200", "c8", ""
   "73", "49", "I", "201", "c9", ""
   "74", "4a", "J", "202", "ca", ""
   "75", "4b", "K", "203", "cb", ""
   "76", "4c", "L", "204", "cc", ""
   "77", "4d", "M", "205", "cd", ""
   "78", "4e", "N", "206", "ce", ""
   "79", "4f", "O", "207", "cf", ""
   "80", "50", "P", "208", "d0", ""
   "81", "51", "Q", "209", "d1", ""
   "82", "52", "R", "210", "d2", ""
   "83", "53", "S", "211", "d3", ""
   "84", "54", "T", "212", "d4", ""
   "85", "55", "U", "213", "d5", ""
   "86", "56", "V", "214", "d6", ""
   "87", "57", "W", "215", "d7", ""
   "88", "58", "X", "216", "d8", ""
   "89", "59", "Y", "217", "d9", ""
   "90", "5a", "Z", "218", "da", ""
   "91", "5b", "[", "219", "db", ""
   "92", "5c", "\", "220", "dc", ""
   "93", "5d", "]", "221", "dd", ""
   "94", "5e", "^", "222", "de", ""
   "95", "5f", "_", "223", "df", ""
   "96", "60", "◆", "224", "e0", ""
   "97", "61", "a", "225", "e1", ""
   "98", "62", "b", "226", "e2", ""
   "99", "63", "c", "227", "e3", ""
   "100", "64", "d", "228", "e4", ""
   "101", "65", "e", "229", "e5", ""
   "102", "66", "f", "230", "e6", ""
   "103", "67", "g", "231", "e7", ""
   "104", "68", "h", "232", "e8", ""
   "105", "69", "i", "233", "e9", ""
   "106", "6a", "j", "234", "ea", ""
   "107", "6b", "k", "235", "eb", ""
   "108", "6c", "l", "236", "ec", ""
   "109", "6d", "m", "237", "ed", ""
   "110", "6e", "n", "238", "ee", ""
   "111", "6f", "o", "239", "ef", ""
   "112", "70", "p", "240", "f0", ""
   "113", "71", "q", "241", "f1", ""
   "114", "72", "r", "242", "f2", ""
   "115", "73", "s", "243", "f3", ""
   "116", "74", "t", "244", "f4", ""
   "117", "75", "u", "245", "f5", ""
   "118", "76", "v", "246", "f6", ""
   "119", "77", "w", "247", "f7", ""
   "120", "78", "x", "248", "f8", ""
   "121", "79", "y", "249", "f9", ""
   "122", "7a", "z", "250", "fa", ""
   "123", "7b", "♠", "251", "fb", ""
   "124", "7c", "|", "252", "fc", ""
   "125", "7d", "[clear screen]", "253", "fd", "[bell]"
   "126", "7e", "[delete]", "254", "fe", "[delete char]"
   "127", "7f", "[tab]", "255", "ff", "[insert char]"

In the Atari XL and XE ROMs, there is a second character set, known as
the International Character Set. This is a modified version of ATASCII
that replaces most of the graphics glyphs with accented letters. The
following tables shows the modified codes (the rest are identical to
ATASCII; see table above).

.. csv-table::

   "Dec", "Hex", "Char", "Dec", "Hex", "Char"
   "0", "00", "á", "128", "80", ""
   "1", "01", "ù", "129", "81", ""
   "2", "02", "Ñ", "130", "82", ""
   "3", "03", "É", "131", "83", ""
   "4", "04", "ç", "132", "84", ""
   "5", "05", "ô", "133", "85", ""
   "6", "06", "ò", "134", "86", ""
   "7", "07", "ì", "135", "87", ""
   "8", "08", "£", "136", "88", ""
   "9", "09", "ï", "137", "89", ""
   "10", "0a", "ü", "138", "8a", ""
   "11", "0b", "ä", "139", "8b", ""
   "12", "0c", "Ö", "140", "8c", ""
   "13", "0d", "ú", "141", "8d", ""
   "14", "0e", "ó", "142", "8e", ""
   "15", "0f", "ö", "143", "8f", ""
   "16", "10", "Ü", "144", "90", ""
   "17", "11", "â", "145", "91", ""
   "18", "12", "û", "146", "92", ""
   "19", "13", "î", "147", "93", ""
   "20", "14", "é", "148", "94", ""
   "21", "15", "è", "149", "95", ""
   "22", "16", "ñ", "150", "96", ""
   "23", "17", "ê", "151", "97", ""
   "24", "18", "ȧ", "152", "98", ""
   "25", "19", "à", "153", "99", ""
   "26", "1a", "Ȧ", "154", "9a", ""
   "96", "60", "¡", "224", "e0", ""
   "123", "7b", "Ä", "251", "fb", ""

.. include:: manftr.rst