BBC BASIC Token Mapping Between Windows and ARM =============================================== File: Docs.Comp.BBCBasic.Tokens.Mapping - Update 1.13 Author: J.G.Harston - Date: 10-05-2007 Windows -> ARM BASIC V 00: -> 00: 01: CIRCLE -> C8 8F: CIRCLE 02: ELLIPSE -> C8 9D: ELLIPSE 03: FILL -> C8 90: FILL 04: MOUSE -> C8 97: MOUSE 05: ORIGIN -> C8 91: ORIGIN 06: QUIT -> C8 98: QUIT 07: RECTANGLE -> C8 93: RECTANGLE 08: SWAP -> C8 94: SWAP 09: SYS -> C8 99: SYS 0A: TINT -> C8 9C: TINT 0B: WAIT -> C8 96: WAIT 0C: INSTALL -> C8 9A: INSTALL 0D: end of line -> 0D: end of line 0E: PRIVATE -> "PRIVATE" 0F: BY -> 42 59: "BY" 10: EXIT -> 45 58 49 54 "EXIT" 11-7E: -> 11-7E 7F: -> 7F: 80-C5: -> 80-C5: C6: SUM -> C6 8E: SUM C7: WHILE -> C8 95: WHILE C8: CASE -> C8 8E: CASE C9: WHEN -> C9: WHEN CA: OF -> CA: OF CB: ENDCASE -> CB: ENDCASE CC: OTHERWISE -> 7F: OTHERWISE CD: ENDIF -> CD: ENDIF CE: ENDWHILE -> CE: ENDWHILE CF-FF: -> CF-FF: ARM BASIC V -> Windows 00-0C: -> ?? 0D: end of line -> 0D: end of line 0E-1F: -> ?? 20-7E: -> 20-7E 7F: OTHERWISE -> CC: OTHERWISE 80-C5: -> 80-C5 C6 8E: SUM -> C6: SUM C6 8F: BEAT -> "BEAT" C7 8E: APPEND -> "APPEND" C7 8F: AUTO -> "AUTO" C7 90: CRUNCH -> "CRUNCH" C7 91: DELETE -> "DELETE" C7 92: EDIT -> "EDIT" C7 93: HELP -> "HELP" C7 94: LIST -> "LIST" C7 95: LOAD -> "LOAD" C7 96: LVAR -> "LVAR" C7 97: NEW -> "NEW" C7 98: OLD -> "OLD" C7 99: RENUMBER -> "RENUMBER" C7 9A: SAVE -> "SAVE" C7 9B: TEXTLOAD -> "TEXTLOAD" C7 9C: TEXTSAVE -> "TEXTSAVE" C7 9D: TWIN -> "TWIN" C7 9E: TWINO -> "TWINO" C7 9F: INSTALL -> 0C: INSTALL C8 8E: CASE -> C8: CASE C8 8F: CIRCLE -> 01: CIRCLE C8 90: FILL -> 03: FILL C8 91: ORIGIN -> 05: ORIGIN C8 92: POINT -> F0: PLOT C8 93: RECTANGLE -> 07: RECTANGLE C8 94: SWAP -> 08: SWAP C8 95: WHILE -> C7: WHILE C8 96: WAIT -> 0B: WAIT C8 97: MOUSE -> 04: MOUSE C8 98: QUIT -> 06: QUIT C8 99: SYS -> 09: SYS C8 9A: INSTALL -> 0C: INSTALL C8 9B: LIBRARY -> 0C: INSTALL C8 9C: TINT -> 0A: TINT C8 9D: ELLIPSE -> 02: ELLIPSE C8 9E: BEATS -> "BEATS" C8 9F: TEMPO -> "TEMPO" C8 A0: VOICES -> "VOICES" C8 A1: VOICE -> "VOICE" C8 A2: STEREO -> "STEREO" C8 A3: OVERLAY -> "OVERLAY" C9: WHEN -> C9: WHEN CA: OF -> CA: OF CB: ENDCASE -> CB: ENDCASE CC: ELSE -> 8B: ELSE CD: ENDIF -> CD: ENDIF CE: ENDWHILE -> CE: ENDWHILE CF-FF: -> CF-FF History ------- 12-01-2002: First draft. 14-10-2004: Second draft, some conversions untested. 30-10-2005: Added POINT->PLOT. 10-05-2007: Added EXIT.