# Exidy Sorcerer BASIC tokenized file

From Just Solve the File Format Problem

Revision as of 23:16, 10 September 2013 by Dan Tobias (Talk | contribs)

The **Exidy Sorcerer** was one of a profusion of personal computer models, with different system software, available in the late 1970s and early 1980s, before things settled down to a smaller set of platforms by the end of the '80s. It came with a version of the BASIC programming language (adapted, like many BASICs, from Microsoft BASIC), which, like most BASICs of the time, stored its commands in tokenized form.

## Tokens

Hex | Dec | Token meaning |
---|---|---|

80 | 128 | END |

81 | 129 | FOR |

82 | 130 | NEXT |

83 | 131 | DATA |

84 | 132 | BYE |

85 | 133 | INPUT |

86 | 134 | DIM |

87 | 135 | READ |

88 | 136 | LET |

89 | 137 | GOTO |

8A | 138 | RUN |

8B | 139 | IF |

8C | 140 | RESTORE |

8D | 141 | GOSUB |

8E | 142 | RETURN |

8F | 143 | REM |

90 | 144 | STOP |

91 | 145 | OUT |

92 | 146 | ON |

93 | 147 | NULL |

94 | 148 | WAIT |

95 | 149 | DEF |

96 | 150 | POKE |

97 | 151 | |

98 | 152 | CONT |

99 | 153 | LIST |

9A | 154 | CLEAR |

9B | 155 | CLOAD |

9C | 156 | CSAVE |

9D | 157 | NEW |

9E | 158 | TAB( |

9F | 159 | TO |

A0 | 160 | FN |

A1 | 161 | SPC( |

A2 | 162 | THEN |

A3 | 163 | NOT |

A4 | 164 | STEP |

A5 | 165 | + |

A6 | 166 | - |

A7 | 167 | * |

A8 | 168 | / |

A9 | 169 | ^ |

AA | 170 | AND |

AB | 171 | OR |

AC | 172 | > |

AD | 173 | = |

AE | 174 | < |

AF | 175 | SGN |

B0 | 176 | INT |

B1 | 177 | ABS |

B2 | 178 | USR |

B3 | 179 | FREE |

B4 | 180 | INP |

B5 | 181 | POS |

B6 | 182 | SQR |

B7 | 183 | RND |

B8 | 184 | LOG |

B9 | 185 | EXP |

BA | 186 | COS |

BB | 187 | SIN |

BC | 188 | TAN |

BD | 189 | ATN |

BE | 190 | PEEK |

BF | 191 | LEN |

C0 | 192 | STR$ |

C1 | 193 | VAL |

C2 | 194 | ASC |

C3 | 195 | CHR$ |

C4 | 196 | LEFT$ |

C5 | 197 | RIGHT$ |

C6 | 198 | MID$ |

## Documentation

- 1978 Exidy BASIC manual (scanned-in copy with some handwritten notes; notations on page F-2 appear to be token values for keywords)