TRS-80 Level II BASIC tokenized file
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
(Category:TRS-80) |
||
(2 intermediate revisions by one user not shown) | |||
Line 142: | Line 142: | ||
|BE||190||FN | |BE||190||FN | ||
|- | |- | ||
− | |BF|| | + | |BF||191||LLIST |
|- | |- | ||
|C0||192||DELETE | |C0||192||DELETE | ||
Line 278: | Line 278: | ||
== Other links == | == Other links == | ||
* [http://www.vavasour.ca/jeff/level1/simulator.html Level I BASIC simulator] | * [http://www.vavasour.ca/jeff/level1/simulator.html Level I BASIC simulator] | ||
+ | |||
+ | [[Category:TRS-80]] | ||
+ | [[Category:Microsoft]] |
Latest revision as of 15:16, 28 September 2023
TRS-80 Level II BASIC was a version of Microsoft BASIC for the Radio Shack TRS-80 Model I computer. It was the "more advanced" BASIC available for that machine; the other BASIC, Level I, was adapted from Tiny BASIC and stored its programs in plain text form, not tokenized. On the other hand, Level II BASIC used tokenized storage similarly to most other BASICs.
[edit] Tokens
Blank values indicate either that the token is unused or is used for something unknown.
Hex | Dec | Token meaning |
---|---|---|
80 | 128 | END |
81 | 129 | FOR |
82 | 130 | RESET |
83 | 131 | SET |
84 | 132 | CLS |
85 | 133 | CMD |
86 | 134 | RANDOM |
87 | 135 | NEXT |
88 | 136 | DATA |
89 | 137 | INPUT |
8A | 138 | DIM |
8B | 139 | READ |
8C | 140 | LET |
8D | 141 | GOTO |
8E | 142 | RUN |
8F | 143 | IF |
90 | 144 | RESTO |
91 | 145 | GOSUB |
92 | 146 | RETURN |
93 | 147 | REM |
94 | 148 | STOP |
95 | 149 | ELSE |
96 | 150 | TRON |
97 | 151 | TROFF |
98 | 152 | DEFSTR |
99 | 153 | DEFINT |
9A | 154 | DEFSNG |
9B | 155 | DEFDBL |
9C | 156 | LINE |
9D | 157 | EDIT |
9E | 158 | ERROR |
9F | 159 | RESUME |
A0 | 160 | OUT |
A1 | 161 | ON |
A2 | 162 | OPEN |
A3 | 163 | FIELD |
A4 | 164 | GET |
A5 | 165 | PUT |
A6 | 166 | CLOSE |
A7 | 167 | LOAD |
A8 | 168 | MERGE |
A9 | 169 | NAME |
AA | 170 | KILL |
AB | 171 | LSET |
AC | 172 | RSET |
AD | 173 | SAVE |
AE | 174 | SYSTEM |
AF | 175 | LPRINT |
B0 | 176 | DEF |
B1 | 177 | POKE |
B2 | 178 | |
B3 | 179 | CONT |
B4 | 180 | LIST |
B5 | 181 | LLIST |
B6 | 182 | DELETE |
B7 | 183 | AUTO |
B8 | 184 | CLEAR |
B9 | 185 | CLOAD |
BA | 186 | CSAVE |
BB | 187 | NEW |
BC | 188 | TAB |
BD | 189 | TO |
BE | 190 | FN |
BF | 191 | LLIST |
C0 | 192 | DELETE |
C1 | 193 | AUTO |
C2 | 194 | ERL |
C3 | 195 | ERR |
C4 | 196 | STRING$ |
C5 | 197 | INSTR |
C6 | 198 | POINT |
C7 | 199 | TIME$ |
C8 | 200 | MEM |
C9 | 201 | INKEY$ |
CA | 202 | THEN |
CB | 203 | NOT |
CC | 204 | STEP |
CD | 205 | + |
CE | 206 | - |
CF | 207 | * |
D0 | 208 | / |
D1 | 209 | ^ |
D2 | 210 | AND |
D3 | 211 | OR |
D4 | 212 | > |
D5 | 213 | = |
D6 | 214 | < |
D7 | 215 | SGN |
D8 | 216 | INT |
D9 | 217 | ABS |
DA | 218 | FRE |
DB | 219 | INP |
DC | 220 | POS |
DD | 221 | SQR |
DE | 222 | RND |
DF | 223 | LOG |
E0 | 224 | EXP |
E1 | 225 | COS |
E2 | 226 | SIN |
E3 | 227 | TAN |
E4 | 228 | ATN |
E5 | 229 | PEEK |
E6 | 230 | CVI |
E7 | 231 | CVS |
E8 | 232 | CVD |
E9 | 233 | EOF |
EA | 234 | LOC |
EB | 235 | LOF |
EC | 236 | MKI$ |
ED | 237 | MKS$ |
EE | 238 | MKD$ |
EF | 239 | CINT |
E0 | 240 | CSNG |
F1 | 241 | CDBL |
F2 | 242 | FIX |
F3 | 243 | LEN |
F4 | 244 | STR$ |
F5 | 245 | VAL |
F6 | 246 | ASC |
F7 | 247 | CHR$ |
F8 | 248 | LEFT$ |
F9 | 249 | RIGHT$ |
FA | 250 | MID$ |
FB | 251 | (REM QUOTE) |
FC | 252 | |
FD | 253 | |
FE | 254 | |
FF | 255 |