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.
- 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]