[net.micro.cbm] C-64 Token values

joels@tektools.UUCP (Joel Swank) (12/05/84)

Here is a list of the C-64 (same for VIC-20) keywords and their Hex and
decimal equivalents. When they are dumped to the screen they print as the
Commodore graphic character coresponding to their ASCII value. See the
ASCII code chart in any of the C-64 or VIC-20 manuals.

Joel Swank
Software Center Tools Support
50-487
Tektronix
Beaverton OR 97077
(503) 627-4403

Keyword	Hex	Decimal
-------	---	-------
END	80	128
FOR	81	129
NEXT	82	130
DATA	83	131
INPUT#	84	132
INPUT	85	133
DIM	86	134
READ	87	135
LET	88	136
GOTO	89	137
RUN	8A	138
IF	8B	139
RESTORE	8C	140
GOSUB	8D	141
RETURN	8E	142
REM	8F	143
STOP	90	144
ON	91	145
WAIT	92	146
LOAD	93	147
SAVE	94	148
VERIFY	95	149
DEF	96	150
POKE	97	151
PRINT#	98	152
PRINT	99	153
CONT	9A	154
LIST	9B	155
CLR	9C	156
CMD	9D	157
SYS	9E	158
OPEN	9F	159
CLOSE	A0	160
GET	A1	161
NEW	A2	162
TAB(	A3	163
TO	A4	164
FN	A5	165
SPC(	A6	166
THEN	A7	167
NOT	A8	168
STEP	A9	169
+	AA	170
-	AB	171
*	AC	172
/	AD	173
^	AE	174
AND	AF	175
OR	B0	176
>	B1	177
=	B2	178
<	B3	179
SGN	B4	180
INT	B5	181
ABS	B6	182
USR	B7	183
FRE	B8	184
POS	B9	185
SQR	BA	186
RND	BB	187
LOG	BC	188
EXP	BD	189
COS	BE	190
SIN	BF	191
TAN	C0	192
ATN	C1	193
PEEK	C2	194
LEN	C3	195
STR$	C4	196
VAL	C5	197
ASC	C6	198
CHR$	C7	199
LEFT$	C8	200
RIGHT$	C9	201
MID$	CA	202

joels@tektools.UUCP (Joel Swank) (12/06/84)

I omitted two tokens from the list:

GO	CB	203
PI	FF	255

Joel