PETSCII

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{| |File Formats | > |Electronic File Formats | > |Character Encoding | > |PETSCII |} '''PETSCII''' (or '''PET ASCII''' or '''CBM ASCII''') is the variety of [[A...")
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|
+
{{FormatInfo
|[[File Formats]]
+
|formattype=electronic
| >
+
|subcat=Character encoding
|[[Electronic File Formats]]
+
|wikidata={{wikidata|Q1022979}}
| >
+
}}
|[[Character Encoding]]
+
'''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
+
|}
+
  
'''PETSCII''' (or '''PET ASCII''' or '''CBM ASCII''') is the variety 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 lowercase letters (along with numbers, punctuation, and many graphic characters) and the other 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).
+
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.
 
+
PETSCII was based on the obsolete 1963 version of ASCII (even though the 1967 version was released long before PETASCII 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 to do such things as change the color of text.
+
  
 
== References ==
 
== References ==
  
* [http://en.wikipedia.org/wiki/PETSCII Petscii (Wikipedia)]
+
* [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]
 +
* [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]]

Revision as of 05:16, 20 June 2019

File Format
Name PETSCII
Ontology
Wikidata ID 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 and C1 ranges) to do such things as change the color of text.

References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox