Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Amstrad CPC character set

From Wikipedia, the free encyclopedia
Jeu de caractère

TheAmstrad CPC character set (alternatively known as theBASIC graphics character set)[1] is the character set used in theAmstrad CPC series of 8-bit personal computers when running BASIC (the default mode, until it boots intoCP/M). This character set existed in the built-in "lower" ROM chip. It is based onASCII-1967, with the exception of character 0x5E which is theup arrow instead of thecircumflex, 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 theAmstrad 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 inUnicode (excluding 0xEF, 0xFC, and 0xFD)[5] as of the March 2020 release of Unicode 13.0, which addedsymbols 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]

Character set

[edit]
The character bitmaps of the Amstrad CPC character set.
Amstrad CPC[7][8][9][a]
0123456789ABCDEF
0x⚡︎
1x
2x SP !"#$%&()*+,-./
3x0123456789:;<=>?
4x@ABCDEFGHIJKLMNO
5xPQRSTUVWXYZ[\]_
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~DEL
8x 
9x·
Ax^´¨£©§¼½¾±÷¬¿¡
BxαβγδεθλμπσφψχωΣΩ
Cx🮠🮡🮣🮢🮧🮥🮦🮤🮨🮩🮮🮕
Dx🮎🮍🮏🮌🮜🮝🮞🮟
Ex
Fx🯆🯅🯇🯈
  Included inSymbols for Legacy Computing Supplement, introduced withUnicode 16.0
  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

[edit]

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


BASIC Control characters
Value (hex)Value(dec)NameParameterLocomotive 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.[a]
099TABMove cursor forward one character.[a]
0A10LFMove cursor down one line.[a]
0B11VTMove cursor up one line.[a]
0C12FFCLSClear text window and move cursor to top left corner.
0D13CRMove cursor to left edge of window on current line.[a]
0E14SO0-15PAPERSet Paper Ink.
0F15SI0-15PENSet Pen Ink.
1016DLEDelete current character.[a]
1117DC1Clear from left edge of window to, and including, the current character position.[a]
1218DC2Clear from, and including, the current character position to the right edge of window.[a]
1319DC3Clear from start of window to, and including, the current character position.[a]
1420DC4Clear from, and including, the current character position to the end of window.[a]
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.[b]
1D29GS0-31, 0-31BORDERSet Border to a pair of colors. Equivalent to a BORDER command. The two parameters specify the two colors.[b]
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. ^abcdefghijThe 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
  2. ^abParameter values 27 to 31 are un-defined colors.

References

[edit]
  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. ^"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
Early telecommunications
ISO/IEC 8859
Bibliographic use
National standards
ISO/IEC 2022
Mac OSCode pages
("scripts")
DOS code pages
IBM AIX code pages
Windows code pages
EBCDIC code pages
DEC terminals (VTx)
Platform specific
Unicode /ISO/IEC 10646
TeX typesetting system
Miscellaneous code pages
Control character
Related topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Amstrad_CPC_character_set&oldid=1281229593"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp