Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/index.php on line 54

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebStart.php on line 63

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 94

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 97

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 100

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 103

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/Defines.php on line 187

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 115

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 134

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 137

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 139

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 144

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 145

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/LocalSettings.php on line 153

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 150

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/WebStart.php on line 157

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require_once(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/languages/Language.php on line 20

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
PETSCII - Just Solve the File Format Problem

PETSCII

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search

Warning: require(): Unable to allocate memory for pool. in /usr/local/www/mediawiki/includes/AutoLoader.php on line 1007
m (Sample files)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic
|subcat=Character Encodings
+
|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''' (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.
 
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 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] (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]]
 
[[Category:Commodore computers]]

Latest revision as of 20:01, 16 February 2024

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.

Unicode, as of version 13.0.0, supports essentially all of the PETSCII glyphs.

[edit] Sample files

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent in /usr/local/www/mediawiki/includes/WebResponse.php on line 38