PETSCII
Dan Tobias (Talk | contribs) |
m (→Sample files) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | { | + | {{FormatInfo |
− | | | + | |formattype=electronic |
− | | | + | |subcat=Character encoding |
− | | | + | |wikidata={{wikidata|Q1022979}} |
− | | | + | }} |
− | + | '''PETSCII''' (sometimes incorrectly called '''PET ASCII''' or '''CBM ASCII''') is an extension of [[ASCII]] used on Commodore computers, including the PET, VIC-20, 64, and 128 (but not the Amiga line). It had two different modes, switchable by keyboard or program control, one containing only uppercase letters (along with numbers, punctuation, and many graphic characters) and the other ("text mode") containing both lower and upper case (but putting the lowercase letters where standard ASCII and even the other PETSCII mode have uppercase, and the uppercase letters in a different spot not corresponding to any sort of letters in standard ASCII... but also repeated in the normal spot for lowercase letters, for increased confusion). | |
− | + | ||
− | + | ||
− | + | ||
− | + | PETSCII was based on the obsolete 1963 version of ASCII (even though the 1967 version was released long before PETSCII was devised), so some of its character differences from standard ASCII are attributable to this, but many others are Commodore-specific quirks, including the use of many characters in the set for various line-drawing and other graphical characters, as well as specialized control codes (in both the [[C0 controls|C0]] and [[C1 controls|C1]] ranges) to do such things as change the color of text. | |
− | + | [[Unicode]], as of version 13.0.0, supports essentially all of the PETSCII glyphs. | |
+ | |||
+ | == Sample files == | ||
+ | * {{DexvertSamples|image/petsciiSeq}} | ||
== References == | == References == | ||
− | * [http://en.wikipedia.org/wiki/PETSCII | + | * [http://en.wikipedia.org/wiki/PETSCII PETSCII (Wikipedia)] |
− | * PETSCII to Unicode map: [http://www.df.lth.se/~triad/krad/recode/petscii_c64en_uc.txt unshifted], [http://www.df.lth.se/~triad/krad/recode/petscii_c64en_lc.txt shifted] | + | * PETSCII to Unicode map: [http://www.df.lth.se/~triad/krad/recode/petscii_c64en_uc.txt unshifted], [http://www.df.lth.se/~triad/krad/recode/petscii_c64en_lc.txt shifted] (May be obsolete, based on an old version of Unicode) |
+ | * [http://style64.org/dirmaster DirMaster: reads C64 disk images / archives / files in Windows] | ||
+ | * [https://archive.org/details/Commodore_64_Programmers_Reference_Guide_1983_Commodore Commodore 64 Programmer's Reference Guide], [https://archive.org/stream/Commodore_64_Programmers_Reference_Guide_1983_Commodore#page/n391/mode/2up Appendix C: ASCII and CHR$ Codes] ''[Ed. note: Has errors at positions 17, 145, and arguably 160]'' | ||
+ | |||
+ | [[Category:Commodore computers]] |
Latest revision as of 20:01, 16 February 2024
PETSCII (sometimes incorrectly called PET ASCII or CBM ASCII) is an extension of ASCII used on Commodore computers, including the PET, VIC-20, 64, and 128 (but not the Amiga line). It had two different modes, switchable by keyboard or program control, one containing only uppercase letters (along with numbers, punctuation, and many graphic characters) and the other ("text mode") containing both lower and upper case (but putting the lowercase letters where standard ASCII and even the other PETSCII mode have uppercase, and the uppercase letters in a different spot not corresponding to any sort of letters in standard ASCII... but also repeated in the normal spot for lowercase letters, for increased confusion).
PETSCII was based on the obsolete 1963 version of ASCII (even though the 1967 version was released long before PETSCII was devised), so some of its character differences from standard ASCII are attributable to this, but many others are Commodore-specific quirks, including the use of many characters in the set for various line-drawing and other graphical characters, as well as specialized control codes (in both the C0 and C1 ranges) to do such things as change the color of text.
Unicode, as of version 13.0.0, supports essentially all of the PETSCII glyphs.
[edit] Sample files
[edit] References
- PETSCII (Wikipedia)
- PETSCII to Unicode map: unshifted, shifted (May be obsolete, based on an old version of Unicode)
- DirMaster: reads C64 disk images / archives / files in Windows
- Commodore 64 Programmer's Reference Guide, Appendix C: ASCII and CHR$ Codes [Ed. note: Has errors at positions 17, 145, and arguably 160]