From Wikipedia, the free encyclopedia
The entire visible ATASCII character set, both normal and inverse glyphs, upscaled to 2x to better show details

The ATASCII character set, from ATARI Standard Code for Information Interchange, alternatively ATARI ASCII, is the variation on ASCII used in the Atari 8-bit family of home computers. The first of this family are the Atari 400 and 800, released in 1979, and later models were released throughout the 1980s. The last computer to use the ATASCII character set is the Atari XEGS which was released in 1987 and discontinued in 1992. The Atari ST family of computers use the different Atari ST character set.

Like most other non-standard ASCIIs, ATASCII has its own special block graphics symbols (arrows, blocks, circles, line segments, playing card suits, etc.) corresponding to the control character locations of the standard ASCII table (characters 0–31), and a few other character locations.

Control characters[edit]

The main difference between standard ASCII and ATASCII is the use of control characters. In standard ASCII, a character in the range 0 to 31 is construed as a command, which might move the cursor, clear the screen, end a line, and so on. Some of these were designed for use on printers and teletypes rather than on screen (to advance the paper, overtype, and so on). In ATASCII most of the ASCII control character values produce a graphics glyph instead. ATASCII uses character values different from ASCII for cursor control.

ATASCII has a character set of only 128 characters. If the high-order bit is set on a character (i.e., if the byte value of the character is between 128 and 255) the character is generally rendered in the reverse video (also called "inverse video") of its counterpart between 0 and 127, using a bitwise negation of the character's glyph. This is done by the ANTIC chip. The two exceptions to this rule are that an "escape" character (ATASCII and ASCII 27) with its high order bit set becomes an "EOL" or "End Of Line" character (ATASCII 155; ASCII 13), and a "clear screen" character (ATASCII 125) with its high order bit set becomes a "bell" or "buzzer" character (ATASCII 253; ASCII 7).

The ATASCII control characters used by the screen editor for cursor control (arrow keys) and text editing (tab, insert, delete, backspace, etc.) have associated graphic symbols that can be displayed by preceding them by the "escape" character (ATASCII 27). For example, a right arrow can be displayed on a screen or printer by preceding it with the escape character followed by the "cursor right" character itself (ATASCII 31).

The Atari screen editor implements the text cursor by simply inverting the character at the cursor position (by XOR with $80). It does not flash.


The differences between character representation can cause problems during modem communication between Ataris and other computers. Cursor movement commands (and even carriage returns and line feeds) from computers not using ATASCII will be nonsense on an Atari, and vice versa. Terminal programs need to translate between ATASCII and standard ASCII.

Some Atari-based BBSs exploited this difference by asking the client to hit the "Return" key. If it got 13 (ASCII CR), then standard ASCII would be used. If it got 155 (ATASCII CR) it would switch to ATASCII, allowing full use of the ATASCII graphic set. Some Atari BBSs would also block features (or even block access completely) for non-Atari users.[citation needed]

Text files encoded in ATASCII also need conversion to be viewed on modern PCs and vice versa- utilities are available to facilitate this.[1]

ATASCII animations[edit]

The control codes in ATASCII are transmissible to other computers such as BBS's, and crude animations are possible. These animations, also known as "break movies", often take the form of short cartoons, and were a popular feature of Atari BBSs in its heyday.[2]

Because cursor control operations are represented with a single character (as opposed to multi-byte 'escape' sequences that were common in other schemes, like ANSI or VT100), it is quite easy to make these animations. They can be created by a short BASIC program that captures keyboard commands, echoes them to the screen and saves them to a file.[3] The Atari also allowed commands to be typed and captured as part of its operating system. Of course this required care to get it right, but after a few attempts it normally became quite easy. The simple capture programs didn't have editing features, so ATASCII movies frequently had errors that were corrected by repositioning the cursor and printing over the mistake.

Character set[edit]

Graphic characters[edit]

The following table shows the ATASCII character set. Each character is shown with a potential Unicode equivalent if available.[4] Space and control characters are represented by the abbreviations for their names.

0 1 2 3 4 5 6 7 8 9 A B C D E F
0x 🮇 🮂
2x  SP  ! " # $ % & ' ( ) * + , - . /
3x 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4x @ A B C D E F G H I J K L M N O
5x P Q R S T U V W X Y Z [ \ ] ^ _
6x a b c d e f g h i j k l m n o
7x p q r s t u v w x y z | 🢰
Ax ! " # $ % & ' ( ) * + , - . /
Bx 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
Cx @ A B C D E F G H I J K L M N O
Dx P Q R S T U V W X Y Z [ \ ] ^ _
Ex a b c d e f g h i j k l m n o
Fx p q r s t u v w x y z - 🢰

Note the asymmetry in the selection of graphics characters: There are lower triangles but no upper triangles, a left half block but no right half block, and a lower half block but no upper half block. These missing characters could be displayed by using inverse video.

The arrangement of glyphs seems to make little sense in ATASCII order, however the arrangement of many make sense when the QWERTY keyboard layout is taken into consideration. For example, ┌, ┬, and ┐ are the control graphics characters found on the top left Q, W, and E keys.

Control characters[edit]

ATASCII control characters [6]
Hex Decimal Function Keystroke
1B 27  Escape key ESC
1C 28  Cursor Up CTRL+-
1D 29  Cursor Down CTRL+=
1E 30  Cursor Left CTRL++
1F 31  Cursor Right CTRL+*
7D 125  Clear Screen CTRL+< or ⇧ Shift+<
7E 126  Delete ← Backspace
7F 127  Tab Tab ↹
9B 155  End of line RETURN
9C 156  Delete Line ⇧ Shift+← Backspace
9D 157  Insert Line ⇧ Shift+>
9E 158  Clear Tab stop CTRL+Tab ↹
9F 159  Set Tab stop ⇧ Shift+Tab ↹
FD 253  Buzzer CTRL+2
FE 254  Delete Character CTRL+← Backspace
FF 255  Insert Character CTRL+>

International Character Set[edit]

Atari 8-bits, via the ANTIC coprocessor, supported indirection of the character set graphics, allowing a program to redefine the graphical glyphs that appear for each ATASCII character. This can be used as a new font for text, and/or tile graphics in a video game or other application. Cycling between multiple redefined character sets can provide simple animation at very little CPU cost (in exchange for memory used to store the character set data). Altering a character set in RAM can also be used for animation.

Starting with the Atari 1200XL, the first in the XL line of computers that followed the original 400 and 800 models, the Atari OS ROM included a so-called "international" character set, that replaced 29 of the graphical glyphs with Latin alphabetical characters containing diacritics, such as e-acute (é). The OS built into 1200XL, the one and only Atari 8-bit model with function keys, allowed users to switch between the standard and alternate character sets by pressing CTRL+F4. Later XL and XE models required the user to update a register in RAM (e.g., via a POKE command in BASIC).


ATASCII international characters
Hex Decimal Symbol Keystroke
00 á CTRL+,
01 ù CTRL+A
04 ç CTRL+D
05 ô CTRL+E
06 ò CTRL+F
07 ì CTRL+G
08 £ CTRL+H
09 ï CTRL+I
0A 10  ü CTRL+J
0B 11  ä CTRL+K
0C 12  Ö CTRL+L
0D 13  ú CTRL+M
0E 14  ó CTRL+N
0F 15  ö CTRL+O
10 16  Ü CTRL+P
11 17  â CTRL+Q
12 18  û CTRL+R
13 19  î CTRL+S
14 20  é CTRL+T
15 21  è CTRL+U
16 22  ñ CTRL+V
17 23  ê CTRL+W
18 24  å CTRL+X
19 25  à CTRL+Y
20 26  Å CTRL+Z
60 96  ¡ CTRL+.
7B 123  Ä CTRL+:

See also[edit]


  1. ^ "ATASCII - Just Solve the File Format Problem".
  2. ^ "AtasciiTube".
  3. ^ "Atari 'Toons".
  4. ^ a b "ATASCII to Unicode Mapping".
  5. ^ "ATARI8IG.TXT" (PDF), L2/19-025: Proposal to add characters from legacy computers and teletext to the UCS, 2019-01-04
  6. ^ "Mapping The Atari Appendix 10 - ATASCII And Internal Character Code Values".

External links[edit]