aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-27 04:56:11 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-27 04:56:11 -0400
commitd1563c6d7db5e2c8484b80b870e7fb753400f6db (patch)
tree8305cea833d387d8fa8f4655168fcabd0c1f2baa
parentc87e1097e5d0b35cc8d9b62d6d8df23087039bbe (diff)
downloadbw-atari8-tools-d1563c6d7db5e2c8484b80b870e7fb753400f6db.tar.gz
token.h, bas.h: commentary.
-rw-r--r--tokens.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/tokens.c b/tokens.c
index ce7b846..744fd51 100644
--- a/tokens.c
+++ b/tokens.c
@@ -1,60 +1,60 @@
const char *commands[] = {
- "REM",
+ "REM", /* $00 */
"DATA",
"INPUT",
"COLOR",
- "LIST",
+ "LIST", /* $04 */
"ENTER",
"LET",
"IF",
- "FOR",
+ "FOR", /* $08 */
"NEXT",
"GOTO",
"GO TO",
- "GOSUB",
+ "GOSUB", /* $0C */
"TRAP",
"BYE",
"CONT",
- "COM",
+ "COM", /* $10 */
"CLOSE",
"CLR",
"DEG",
- "DIM",
+ "DIM", /* $14 */
"END",
"NEW",
"OPEN",
- "LOAD",
+ "LOAD", /* $18 */
"SAVE",
"STATUS",
"NOTE",
- "POINT",
+ "POINT", /* $1C */
"XIO",
"ON",
"POKE",
- "PRINT",
+ "PRINT", /* $20 */
"RAD",
"READ",
"RESTORE",
- "RETURN",
+ "RETURN", /* $24 */
"RUN",
"STOP",
"POP",
- "?",
+ "?", /* $28 */
"GET",
"PUT",
"GRAPHICS",
- "PLOT",
+ "PLOT", /* $2C */
"POSITION",
"DOS",
"DRAWTO",
- "SETCOLOR",
+ "SETCOLOR", /* $30 */
"LOCATE",
"SOUND",
"LPRINT",
- "CSAVE",
+ "CSAVE", /* $34 */
"CLOAD",
- "", /* implied LET */
- "ERROR -"
+ "", /* $36, implied LET */
+ "ERROR -" /* $37 */
};
const unsigned short last_command = (sizeof(commands) / sizeof(char *)) - 1;