ArticleslgStudy

computer science

ATASCII

ATASCII is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ATASCII rather than just read about it. In short: The ATASCII character set, from ATARI Standard Code for Information Interchange, alternatively ATARI ASCII, is a character encoding used in the Atari 8-bit computers. ATASCII is based on ASCII, but is not fully compatible with it.

ATASCII — main illustration
ATASCII — illustration

Key takeaways

  • ATASCII belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ATASCII to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ATASCII from memory before moving on to harder problems.

Reference excerpt

The ATASCII character set, from ATARI Standard Code for Information Interchange, alternatively ATARI ASCII, is a character encoding used in the Atari 8-bit computers. ATASCII is based on ASCII, but is not fully compatible with it. It was first used in the Atari 400 and 800 in 1979 and was kept in all subsequent models until the line was discontinued in 1992. The Atari ST family of computers use the different Atari ST character set. Like most other variants of ASCII, ATASCII has its own distinct characters (arrows, blocks, box-drawing characters, playing card suits, etc.) in place of the C0 control codes in ASCII (characters 0–31), as well as replacing a few other ASCII code points.

Implementation Atari 8-bit systems have three distinct sets of codes: interchange codes (ATASCII), internal codes (also called screen codes), and keyboard codes. Keyboard codes represent the codes sent by the keyboard. Pressing one of the two modifier keys (Shift and Control) modifies the value input by pressing other keys. Due to there being two modifier keys, there are four distinct keyboard codes that can be sent by each character; however, several keys (the exact keys depend on the model) do not send a control code if they are pressed while holding both Shift and Control. When entering text, the Atari keyboard handler converts these signals into ATASCII. ATASCII and internal codes contain the same character set, but indexed differently. ATASCII codes are used by Atari BASIC, while internal codes are used to look up how to render the character on-screen. Atari 8-bit systems have several distinct graphics modes; these modes can be classified as pure text modes, pure graphics modes, or mixed modes. Modes 0, 1 and 2 represent pure text modes, while Modes 3 and above represent mixed or pure graphics modes (the exact number of distinct modes depending on the model). Mode 0 displays characters at the default size, Mode 1 displays them twice as wide (but the same height), and Mode 2 displays them twice as wide and twice the height. Mode 0 is the default graphics mode and supports 128 unique characters in one of two colors (regular or inverse video, depending on the upper bit); Modes 1 and 2 only support 64 unique characters, but support four different colors (as they use the upper two bits as color information instead). The 64 characters available in Modes 1 and 2 are the first 64 characters in the internal code, which correspond to ATASCII codes 32 to 95 (0x20 to 0x5F). This includes all uppercase letters and punctuation, but excludes lowercase letters and graphics characters. The Atari screen editor implements the text cursor by simply inverting the character at the cursor position (by XOR with 0x80). It does not flash.

Inverse video ATASCII only has 128 unique graphic characters, with the upper 128 graphic characters (index 128 to 255) being inverse video variants of the lower 128 graphic characters (index 0 to 127). 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 as the inverse video variant of its counterpart between 0 and 127, using a bitwise negation of the character's glyph. This is done by the ANTIC chip. Due to this behavior, there is asymmetry in the selection of block-drawing characters. In normal video, 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 ostensibly missing characters can be displayed by using inverse video.

Alternate character sets

Atari 8-bit computers, 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, to support an additional character set, or for tile graphics in a video game or other application. Cycling between multiple redefined character sets can be used to 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. In the XL and XE lines, the Atari OS ROM includes an "international character set" that replaces 29 of the graphical glyphs with Latin alphabetical characters containing diacritics, such as e-acute (é). The OS built into the Atari 1200XL, the 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). In some regions, a different character set was included instead of the default international character set, in order to better accommodate the target market, including Polish, Arabic, and Hebrew. Atari 192XT and 256XT systems distributed in Eastern Europe by P.Z.Karen had a Polish character set in place of the international character set. The Atari 65XE Najm, which was distributed in the Middle East, has an Arabic character encoding as its default encoding and displays text right-to-left, while the international character set was replaced by the standard ATASCII encoding. Hebrew versions of the Atari 600XL and 800XL were distributed in Israel, which had a Hebrew character set in place of the international character set. The Hebrew character set had Hebrew letters instead of lowercase Latin letters, but preserved the uppercase Latin letters. When typing in Hebrew mode, typing Latin letters advances the cursor to the right, while typing Hebrew letters advances the cursor to the left.

Character set

Default graphic characters The following table shows the default ATASCII character set. Control characters with a graphic representation are displayed using that representation. Each character is shown with a Unicode equivalent.

The box-drawing characters are arranged relative to their corresponding letter keys on the Atari keyboard, appearing 64 code points earlier than the corresponding uppercase letter. For example, ┌, ┬, and ┐ are the graphics characters found on the top left Q, W, and E keys, and appear 64 code points before those uppercase letters in ATASCII.

International character set The following table shows the lower half of ATASCII international character set. The upper half are inverse video variants of the lower half, in exactly the same way as the standard ATASCII character set.

… excerpt ends here. Continue reading the full article.

Illustrations

ATASCII: The entire visible ATASCII character set, both normal and inverse glyphs, upscaled to 2x to better show details
The entire visible ATASCII character set, both normal and inverse glyphs, upscaled to 2x to better show details
ATASCII: The international character set included in the XL and XE models
The international character set included in the XL and XE models

Worked examples

Example 1 — a first encounter with ATASCII

Start with the simplest possible case. Write down what ATASCII claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ATASCII before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ATASCII ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ATASCII

In research
ATASCII appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ATASCII in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ATASCII is common in secondary-school and first-year university syllabi. It links to neighbouring topics ASCII, Atari 8-bit computers, Character sets, so understanding it makes those chapters shorter.
In everyday life
Look for ATASCII outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ATASCII” →

How to study ATASCII in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ATASCII means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ATASCII out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ATASCII in simple terms?

The ATASCII character set, from ATARI Standard Code for Information Interchange, alternatively ATARI ASCII, is a character encoding used in the Atari 8-bit computers. ATASCII is based on ASCII, but is not fully compatible with it.

Why does ATASCII matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ATASCII?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ATASCII.

Tags

  • ASCII
  • Atari 8-bit computers
  • Character sets
  • Computer-related introductions in 1979

Keep exploring