HOME

TheInfoList



OR:

The ATASCII character set, from ''ATARI Standard Code for Information Interchange'', alternatively ''ATARI ASCII'', is a
character encoding Character encoding is the process of assigning numbers to graphical character (computing), characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical v ...
used in the
Atari 8-bit computers The Atari 8-bit computers, formally launched as the Atari Home Computer System, are a series of home computers introduced by Atari, Inc., in 1979 with the Atari 400 and Atari 800. The architecture is designed around the 8-bit MOS Technology 650 ...
. ATASCII is based on
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
, 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 Atari ST is a line of personal computers from Atari Corporation and the successor to the company's Atari 8-bit computers, 8-bit computers. The initial model, the Atari 520ST, had limited release in April–June 1985, and was widely available i ...
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 character Box-drawing characters, also known as line-drawing characters, are a form of semigraphics widely used in text user interfaces to draw various geometric frames and boxes. These characters are characterized by being designed to be connected horiz ...
s,
playing card A playing card is a piece of specially prepared card stock, heavy paper, thin cardboard, plastic-coated paper, cotton-paper blend, or thin plastic that is marked with distinguishing motifs. Often the front (face) and back of each card has a f ...
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 In metal typesetting, a font is a particular size, weight and style of a ''typeface'', defined as the set of fonts that share an overall design. For instance, the typeface Bauer Bodoni (shown in the figure) includes fonts " Roman" (or "regul ...
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
diacritic A diacritic (also diacritical mark, diacritical point, diacritical sign, or accent) is a glyph added to a letter or to a basic glyph. The term derives from the Ancient Greek (, "distinguishing"), from (, "to distinguish"). The word ''diacrit ...
s, such as e-acute (é). The OS built into the Atari 1200XL, the only Atari 8-bit model with
function key A function key is a key on a computer or computer terminal, terminal computer keyboard, keyboard that can be programmed to cause the operating system or an application program to perform certain actions, a form of soft key. On some keyboards/com ...
s, allowed users to switch between the standard and alternate character sets by pressing . Later XL and XE models required the user to update a register in RAM (e.g., via a
POKE Poke may refer to: Arts, entertainment, and media * Poke (Ender's Game), Poke (''Ender's Game''), a fictional character * Poke (game), a two-player card game * Poke, a fictional bar owner in the television series ''Treme (season 2), Treme'' * The ...
command in
BASIC Basic or BASIC may refer to: Science and technology * BASIC, a computer programming language * Basic (chemistry), having the properties of a base * Basic access authentication, in HTTP Entertainment * Basic (film), ''Basic'' (film), a 2003 film ...
). 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 Eastern Europe is a subregion of the Europe, European continent. As a largely ambiguous term, it has a wide range of geopolitical, geographical, ethnic, cultural and socio-economic connotations. Its eastern boundary is marked by the Ural Mountain ...
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 A writing system comprises a set of symbols, called a ''script'', as well as the rules by which the script represents a particular language. The earliest writing appeared during the late 4th millennium BC. Throughout history, each independen ...
, 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 character In computing and telecommunications, a control character or non-printing character (NPC) is a code point in a character encoding, character set that does not represent a written Character (computing), character or symbol. They are used as in-ba ...
s with a graphic representation are displayed using that representation. Each character is shown with a
Unicode Unicode or ''The Unicode Standard'' or TUS is a character encoding standard maintained by the Unicode Consortium designed to support the use of text in all of the world's writing systems that can be digitized. Version 16.0 defines 154,998 Char ...
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.


Control characters

ATASCII has 16 control characters, defined in four separate ranges (0x1B to 0x1F, 0x7D to 0x7F, 0x8B to 0x8F, and 0xFD to 0xFF). This is a key difference between ASCII and ATASCII—in ASCII, there are 32 control characters, defined in the range 0 to 31 (0x00 to 0x1F). All ATASCII control characters except End of Line (0x9B) have a graphic representation, which can be produced by escaping that character by pressing the
Escape key On computer keyboards, the Esc key (named ''Escape key'' in the international standard series ISO/IEC 9995) is a key used to generate the escape character (which can be represented as ASCII code 27 in decimal, Unicode U+001B, or ). The escap ...
before inputting that control character. For example, typing "Escape" followed by "cursor right" will produce a right arrow. Uniquely, the End of Line control character always renders a newline, regardless of the presence of a preceding escape character.


Inter-operation

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. Text files encoded in ATASCII also need conversion to be viewed on modern PCs and ''vice versa''—utilities are available to facilitate this.


ATASCII animations

The control codes in ATASCII are transmissible to other computers such as BBSs, 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 their heyday. Because cursor control operations are represented with a single character (as opposed to multi-byte sequences that were common in other schemes, like
ANSI The American National Standards Institute (ANSI ) is a private nonprofit organization that oversees the development of voluntary consensus standards for products, services, processes, systems, and personnel in the United States. The organiz ...
or
VT100 The VT100 is a video terminal, introduced in August 1978 by Digital Equipment Corporation (DEC). It was one of the first terminals to support ANSI escape codes for cursor control and other tasks, and added a number of extended codes for special ...
), 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. 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.


See also

* Semigraphics *
Extended ASCII Extended ASCII is a repertoire of character encodings that include (most of) the original 96 ASCII character set, plus up to 128 additional characters. There is no formal definition of "extended ASCII", and even use of the term is sometimes critic ...
*
ASCII ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
* Atari ST character set * Apple II character set * PETSCII * TRS-80 character set * ZX Spectrum character set


References


External links


ATASCII concise graphical overview
(4.2KB
GIF The Graphics Interchange Format (GIF; or , ) is a Raster graphics, bitmap Image file formats, image format that was developed by a team at the online services provider CompuServe led by American computer scientist Steve Wilhite and released ...
image)
Typography in 8 bits: System fonts
{{DEFAULTSORT:Atascii Character sets Atari 8-bit computers ASCII Computer-related introductions in 1979