diff options
author | B. Watson <urchlay@slackware.uk> | 2024-06-15 16:22:25 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-06-15 16:22:25 -0400 |
commit | 5b4d161d5c82105f92006aa9cebbcd72b9383178 (patch) | |
tree | fb8f8e430e61a828a2327cedfb2b69894fce0c7e /bas.h | |
parent | ed4f8e0e2e20cb16f40844895f79b69da96caf35 (diff) | |
download | bw-atari8-tools-5b4d161d5c82105f92006aa9cebbcd72b9383178.tar.gz |
vxrefbas: WIP.
Diffstat (limited to 'bas.h')
-rw-r--r-- | bas.h | 51 |
1 files changed, 27 insertions, 24 deletions
@@ -33,30 +33,33 @@ /* BASIC tokens. Not a full set. BASIC uses 2 sets of tokens, one for commands and the other for operators (which is to say, everything *not* a command). */ -#define CMD_GOTO 0x0a -#define CMD_GO_TO 0x0b -#define CMD_GOSUB 0x0c -#define CMD_TRAP 0x0d -#define CMD_LIST 0x04 -#define CMD_RESTORE 0x23 -#define CMD_REM 0x00 -#define CMD_DATA 0x01 -#define CMD_ERROR 0x37 -#define CMD_FOR 0x08 -#define CMD_NEXT 0x09 -#define CMD_LET 0x06 -#define CMD_ILET 0x36 -#define CMD_DIM 0x14 -#define CMD_READ 0x22 -#define CMD_INPUT 0x02 -#define OP_GOTO 0x17 -#define OP_GOSUB 0x18 -#define OP_THEN 0x1b -#define OP_COMMA 0x12 -#define OP_EOS 0x14 -#define OP_EOL 0x16 -#define OP_NUMCONST 0x0e -#define OP_STRCONST 0x0f +#define CMD_GOTO 0x0a +#define CMD_GO_TO 0x0b +#define CMD_GOSUB 0x0c +#define CMD_TRAP 0x0d +#define CMD_LIST 0x04 +#define CMD_RESTORE 0x23 +#define CMD_REM 0x00 +#define CMD_DATA 0x01 +#define CMD_ERROR 0x37 +#define CMD_FOR 0x08 +#define CMD_NEXT 0x09 +#define CMD_LET 0x06 +#define CMD_ILET 0x36 +#define CMD_DIM 0x14 +#define CMD_READ 0x22 +#define CMD_INPUT 0x02 +#define CMD_GET 0x29 +#define OP_GOTO 0x17 +#define OP_GOSUB 0x18 +#define OP_THEN 0x1b +#define OP_COMMA 0x12 +#define OP_ARR_COMMA 0x3c +#define OP_EOS 0x14 +#define OP_EOL 0x16 +#define OP_NUMCONST 0x0e +#define OP_STRCONST 0x0f +#define OP_HASH 0x1c /* variable types, bits 6-7 of byte 0 of each vvtable entry. */ #define TYPE_SCALAR 0 |