APPENDIX D
SCREEN DISPLAY CODES - 40 Columns
The following chart lists all of the characters built into the Commodore screen character sets. It shows which numbers should be POKED into screen memory (locations 1024-2023) to get a desired character on the 40-column screen (Remember, to set color memory, use locations 55296 to 56295). Also shown is which character corresponds to a number PEEKed from the screen.
Two character sets are available. Both are available simultaneously in 80-column mode, but only is available at a time on the 40-column screen. The sets are switched by holding down the {shift} and {C=} (Commodore) keys simultaneously.
From BASIC, PRINT CHR$(142) will switch to upper case/graphics mode and PRINT CHR$(14) will switch to upper/lower case mode.
Any number on the chart may also be displayed in REVERSE. The reverse character code may be obtained by adding 128 to the values shown.
SET 1 |
SET 2 |
POKE |
|
SET 1 |
SET 2 |
POKE |
@ | | 0 |
| | 64 |
A | a | 1 |
| A | 65 |
B | b | 2 |
| B | 66 |
C | c | 3 |
| C | 67 |
D | d | 4 |
| D | 68 |
E | e | 5 |
| E | 69 |
F | f | 6 |
| F | 70 |
G | g | 7 |
| G | 71 |
H | h | 8 |
| H | 72 |
I | i | 9 |
| I | 73 |
J | j | 10 |
| J | 74 |
K | k | 11 |
| K | 75 |
L | l | 12 |
| L | 76 |
M | m | 13 |
| M | 77 |
N | n | 14 |
| N | 78 |
O | o | 15 |
| O | 79 |
P | p | 16 |
| P | 80 |
Q | q | 17 |
| Q | 81 |
R | r | 18 |
| R | 82 |
S | s | 19 |
| S | 83 |
T | t | 20 |
| T | 84 |
U | u | 21 |
| U | 85 |
V | v | 22 |
| V | 86 |
W | w | 23 |
| W | 87 |
X | x | 24 |
| X | 88 |
Y | y | 25 |
| Y | 89 |
Z | z | 26 |
| Z | 90 |
[ | | 27 |
| | 91 |
{pound} | | 28 |
| | 92 |
] | | 29 |
| | 93 |
^ | | 30 |
{pi} | | 94 |
{left arrow} | | 31 |
| | 95 |
{space} | | 32 |
{space} | | 96 |
! | | 33 |
| | 97 |
" | | 34 |
| | 98 |
# | | 35 |
| | 99 |
$ | | 36 |
| | 100 |
% | | 37 |
| | 101 |
& | | 38 |
| | 102 |
' | | 39 |
| | 103 |
( | | 40 |
| | 104 |
) | | 41 |
| | 105 |
* | | 42 |
| | 106 |
+ | | 43 |
| | 107 |
, | | 44 |
| | 108 |
- | | 45 |
| | 109 |
. | | 46 |
| | 110 |
/ | | 47 |
| | 111 |
0 | | 48 |
| | 112 |
1 | | 49 |
| | 113 |
2 | | 50 |
| | 114 |
3 | | 51 |
| | 115 |
4 | | 52 |
| | 116 |
5 | | 53 |
| | 117 |
6 | | 54 |
| | 118 |
7 | | 55 |
| | 119 |
8 | | 56 |
| | 120 |
9 | | 57 |
| | 121 |
: | | 58 |
| | 122 |
; | | 59 |
| | 123 |
< | | 60 |
| | 124 |
= | | 61 |
| | 125 |
> | | 62 |
| | 126 |
? | | 63 |
| | 127 |
Codes from 128-255 are reversed images of codes 0-127.
|