Amstrad CPC character set

Last updated

The Amstrad CPC character set (alternatively known as the BASIC graphics character set) [1] is the character set used in the Amstrad CPC series of 8-bit personal computers when running BASIC (the default mode, until it boots into CP/M). This character set existed in the built-in "lower" ROM chip. It is based on ASCII-1967, with the exception of character 0x5E which is the up arrow instead of the circumflex, as it is in ASCII-1963, a feature shared with other character sets of the time. [2] [3] Apart from the standard printable ASCII range (0x20-0x7e), it is completely different from the Amstrad CP/M Plus character set. The BASIC character set had symbols of particular use in games and home computing, while the CP/M Plus character reflected the International and Business flavor of the CP/M Plus environment. [4] This character set is represented in Unicode (excluding 0xEF, 0xFC, and 0xFD) [5] as of the March 2020 release of Unicode 13.0, which added symbols for legacy computing. The three missing characters have however been accepted for inclusion in Unicode 16.0 in the symbols for legacy computing supplement. [6]

Contents

Character set

Amstrad CPC [7] [8] [9] [lower-alpha 1]
0123456789ABCDEF
0x ⚡︎
1x
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 { | } ~ DEL
8x  
9x ·
Ax ^ ´ ¨ £ © § ¼ ½ ¾ ± ÷ ¬ ¿ ¡
Bx α β γ δ ε θ λ μ π σ φ ψ χ ω Σ Ω
Cx🮠🮡🮣🮢🮧🮥🮦🮤🮨🮩🮮🮕
Dx🮎🮍🮏🮌🮜🮝🮞🮟
Ex CPC character 0xEF.png
Fx 🯆🯅🯇🯈 CPC character 0xFC.png CPC character 0xFD.png
  No Unicode mapping [5]
  1. The control characters normally do not produce a character on screen, but are interpreted as control codes. When using the character 1 (SOH) as a prefix, or with the graphics text, or entered from the keyboard, they are displayed with the representation on the bottom of the cell. [10]

Control characters

Each of the characters in the C0 character range (0x00-0x1F) had a special function. [11]


BASIC Control characters
Value (hex)Value(dec)NameParameter Locomotive BASIC equivalentFunction
000NULNo effect. Ignored.
011SOH0-255Print the symbol given by the parameter value. This allows the symbols in the range 0 to 31 to be displayed.
022STXCURSOR 0Turn off text cursor.
033ETXCURSOR 1Turn on text cursor.
044EOT0-2MODESet screen mode.
055ENQ0-255Send the parameter character to the graphics cursor.
066ACKEnable Text Screen (see NAK)
077BELSound Bleeper. Note that this flushes the sound queues.
088BSMove cursor back one character. [lower-alpha 1]
099TABMove cursor forward one character. [lower-alpha 1]
0A10LFMove cursor down one line. [lower-alpha 1]
0B11VTMove cursor up one line. [lower-alpha 1]
0C12FFCLSClear text window and move cursor to top left corner.
0D13CRMove cursor to left edge of window on current line. [lower-alpha 1]
0E14SO0-15PAPERSet Paper Ink.
0F15SI0-15PENSet Pen Ink.
1016DLEDelete current character. [lower-alpha 1]
1117DC1Clear from left edge of window to, and including, the current character position. [lower-alpha 1]
1218DC2Clear from, and including, the current character position to the right edge of window. [lower-alpha 1]
1319DC3Clear from start of window to, and including, the current character position. [lower-alpha 1]
1420DC4Clear from, and including, the current character position to the end of window. [lower-alpha 1]
1521NAKTurn off text screen. The screen will not react to anything sent to it until after an ACK is sent.
1622SYN0-1Set transparency (0 disables, 1 enables)
1723ETB0-3Set graphics ink mode. 0 normal (overwrite), 1 XOR, 2 AND, 3 OR
1824CANExchange Pen and Paper Inks, effectively applying the reverse video effect.
1925EM0-255 (9 times)SYMBOLSet the matrix for user definable character. The first parameter specifies which character's matrix to set. The next eight specify the matrix.
1A26SUB1-80, 1-80, 1-25, 1-25WINDOWSet Window. The parameters specify left, right, top and bottom edges of the window.
1B27ESCNo effect. Ignored.
1C28FS0-15, 0-31, 0-31INKSet Ink to a pair of colors. The first parameter specifies the Ink, the next two the required colors. [lower-alpha 2]
1D29GS0-31, 0-31BORDERSet Border to a pair of colors. Equivalent to a BORDER command. The two parameters specify the two colors. [lower-alpha 2]
1E30RSMove cursor to top left hand corner of window.
1F31US1-80, 1-25LOCATEMove cursor to the given position in the current window. The first parameter gives the column to move to, the second gives the line.
  1. 1 2 3 4 5 6 7 8 9 10 The codes marked force the cursor to a legal position in the current window before they are obeyed - but may leave the cursor in an illegal position

Related Research Articles

<span class="mw-page-title-main">Amstrad CPC</span> Home computers produced by Amstrad

The Amstrad CPC is a series of 8-bit home computers produced by Amstrad between 1984 and 1990. It was designed to compete in the mid-1980s home computer market dominated by the Commodore 64 and the ZX Spectrum, where it successfully established itself primarily in the United Kingdom, France, Spain, and the German-speaking parts of Europe.

<span class="mw-page-title-main">Amstrad</span> British electronics company

Amstrad was a British consumer electronics company, founded in 1968 by Alan Sugar. During the 1980s, the company was known for its home computers beginning with the Amstrad CPC and later also the ZX Spectrum range after the Sinclair deal, which led it to have a substantial share of the PC market in Britain. In the following decade it shifted focus towards communication technologies, and its main business during the 2000s was the manufacture of satellite television set-top boxes for Sky, which Amstrad had started in 1989 as the then sole supplier of the emerging Sky TV service.

<span class="mw-page-title-main">Locomotive BASIC</span>

Locomotive Basic is a proprietary dialect of the BASIC programming language written by Locomotive Software on the Amstrad CPC and the later Locomotive BASIC-2 as a GEM application on the Amstrad PC1512 and 1640. It was the main descendant of Mallard BASIC, the interpreter for CP/M supplied with the Amstrad PCW.

<span class="mw-page-title-main">PETSCII</span> Character encoding on Commodore computers

PETSCII, also known as CBM ASCII, is the character set used in Commodore Business Machines' 8-bit home computers.

<span class="mw-page-title-main">ATASCII</span> Character encoding used by the Atari 8-bit family of home computers

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

<span class="mw-page-title-main">LocoScript</span>

LocoScript is a word processing software package created by Locomotive Software and first released with the Amstrad PCW, a personal computer launched in 1985. Early versions of LocoScript were noted for combining a wide range of facilities with outstanding ease of use. This and the low price of the hardware made it one of the best-selling word processors of the late 1980s. Four major versions of LocoScript were published for the PCW, and two for IBM-compatible PCs running MS-DOS. LocoScript's market share didn't expand with the PC versions, which were not released until after Windows had become the dominant PC operating system.

<span class="mw-page-title-main">Box-drawing characters</span> Unicode block group

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 horizontally and/or vertically with adjacent characters, which requires proper alignment. Box-drawing characters therefore typically only work well with monospaced fonts.

AMSDOS is a disk operating system for the 8-bit Amstrad CPC Computer. The name is a contraction of Amstrad Disk Operating System.

<span class="mw-page-title-main">JIS X 0201</span> Japanese single byte character encoding

JIS X 0201, a Japanese Industrial Standard developed in 1969, was the first Japanese electronic character set to become widely used. The character set was initially known as JIS C 6220 before the JIS category reform. Its two forms were a 7-bit encoding or an 8-bit encoding, although the 8-bit form was dominant until Unicode replaced it. The full name of this standard is 7-bit and 8-bit coded character sets for information interchange (7ビット及び8ビットの情報交換用符号化文字集合).

Symbol is one of the four standard fonts available on all PostScript-based printers, starting with Apple's original LaserWriter (1985). It contains a complete unaccented Greek alphabet and a selection of commonly used mathematical symbols. Insofar as it fits into any standard classification, it is a serif font designed in the style of Times New Roman.

MouseText is a set of 32 graphical characters designed by Bruce Tognazzini and first implemented in the Apple IIc. They were then retrofitted to the Apple IIe forming part of the Enhanced IIe upgrade. A slightly revised version was then released with the Apple IIGS.

KPS 9566 is a North Korean standard specifying a character encoding for the Chosŏn'gŭl (Hangul) writing system used for the Korean language. The edition of 1997 specified an ISO 2022-compliant 94×94 two-byte coded character set. Subsequent editions have added additional encoded characters outside of the 94×94 plane, in a manner comparable to UHC or GBK.

KS X 1001, "Code for Information Interchange ", formerly called KS C 5601, is a South Korean coded character set standard to represent Hangul and Hanja characters on a computer.

<span class="mw-page-title-main">ZX Spectrum character set</span>

The ZX Spectrum character set is the variant of ASCII used in the ZX Spectrum family computers. It is based on ASCII-1967 but the characters ^, ` and DEL are replaced with ↑, £ and ©. It also differs in its use of the C0 control codes other than the common BS and CR, and it makes use of the 128 high-bit characters beyond the ASCII range. The ZX Spectrum's main set of printable characters and system font are also used by the Jupiter Ace computer.

<span class="mw-page-title-main">Atari ST character set</span> Character set of the Atari ST personal computer family

The Atari ST character set is the character set of the Atari ST personal computer family including the Atari STE, TT and Falcon. It is based on code page 437, the original character set of the IBM PC.

The RPL character set is an 8-bit character set and encoding used by most RPL calculators manufactured by Hewlett-Packard as well as by the HP 82240B thermo printer. It is sometimes referred to simply as "ECMA-94" in documentation, although it is for the most part a superset of ISO/IEC 8859-1 / ECMA-94 in terms of printable characters, and it differs from ISO/IEC 8859-1 by using displayable characters rather than control characters in the 0x80 to 0x9F range of code points.

The Amstrad CP/M Plus character set is any of a group of 8-bit character sets introduced by Amstrad/Locomotive Software for use in conjunction with their adaptation of Digital Research's CP/M Plus on various Amstrad CPC / Schneider CPC and Amstrad PCW / Schneider Joyce machines. The character set was also used on the Amstrad ZX Spectrum +3 version of CP/M.

The TRS-80 computer manufacturered by Tandy / Radio Shack contains an 8-bit character set. 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.

Sharp MZ character sets are character sets made by Sharp Corporation for Sharp MZ computers. The European and Japanese versions of the software use different character sets.

Symbols for Legacy Computing is a Unicode block containing graphic characters that were used for various home computers from the 1970s and 1980s and in Teletext broadcasting standards. It includes characters from the Amstrad CPC, MSX, Mattel Aquarius, RISC OS, MouseText, Atari ST, TRS-80 Color Computer, Oric, Texas Instruments TI-99/4A, TRS-80, Minitel, Teletext, ATASCII, PETSCII, ZX80, and ZX81 character sets, as well as semigraphics characters.

References

  1. "Chapter 7: For your reference ...." (PDF), Amstrad CPC 6128 User Instructions, 1985, p. 9
  2. ZX Spectrum character set
  3. PETSCII
  4. "Chapter 7: For your reference ...." (PDF), Amstrad CPC 6128 User Instructions, 1985, p. 54
  5. 1 2 "Character Not Proposed" (PDF), L2/19-025: Sources, 2019-01-04
  6. "Symbols for Legacy Computing Supplement" (PDF).
  7. "AMSCPC.TXT" (PDF), L2/19-025: Proposal to add characters from legacy computers and teletext to the UCS, 2019-01-04
  8. L2/19-025: Sources (PDF), 2019-01-04
  9. "Chapter 7: For your reference ...." (PDF), Amstrad CPC 6128 User Instructions, 1985, pp. 9–20
  10. Godden, Bruce; Overell, Paul; Radisic, David (1986), "Appendix VI: Displayed Character Set", CPC 464/664/6128 FIRMWARE, Amstrad Consumer Electronics, p. 431
  11. "Chapter 7: For your reference ...." (PDF), Amstrad CPC 6128 User Instructions, 1985, pp. 3–6