CCE MC-1000 BASIC tokenized file
Dan Tobias (Talk | contribs) (Created page with "{{FormatInfo |subcat=Source code |subcat2=Tokenized BASIC |released=1985 }} The '''CCE MC-1000''' was a Brazilian home computer system released in 1985. It used a version of t...") |
Dan Tobias (Talk | contribs) |
||
Line 4: | Line 4: | ||
|released=1985 | |released=1985 | ||
}} | }} | ||
− | The '''CCE MC-1000''' was a Brazilian home computer system released in 1985. It used a version of the [[BASIC]] programming language which, similarly to other BASICs of its time, was stored in a tokenized manner. The tokenized BASIC program could be found in memory starting at location 03D5 hex (981 decimal), where, by PEEKing what is there when a program is in memory, you could determine what token values correspond to which commands. PRINT is represented by 97 hex (151 decimal), for instance. "High-bit-set" values (128-255 decimal) are used for tokens, while 7-bit [[ASCII]] characters generally stand for themselves. The null character (0) is used as a line terminator, while the line number is found in binary ([[Endianness|little-endian]]) prior to the tokenized line (with another two-byte field preceding it). | + | The '''CCE MC-1000''' was a Brazilian home computer system released in 1985. It used a version of the [[BASIC]] programming language which, similarly to other BASICs of its time, was stored in a tokenized manner. The tokenized BASIC program could be found in memory starting at location 03D5 hex (981 decimal), where, by PEEKing what is there when a program is in memory, you could determine what token values correspond to which commands. PRINT is represented by 97 hex (151 decimal), for instance. "High-bit-set" values (128-255 decimal) are used for tokens, while 7-bit [[ASCII]] characters generally stand for themselves. The null character (0) is used as a line terminator, while the line number is found in binary ([[Endianness|little-endian]]) prior to the tokenized line (with another two-byte field preceding it). These programs were often saved to [[CCE MC-1000 data cassette|cassettes]]. |
== Links == | == Links == |
Latest revision as of 12:08, 12 August 2014
The CCE MC-1000 was a Brazilian home computer system released in 1985. It used a version of the BASIC programming language which, similarly to other BASICs of its time, was stored in a tokenized manner. The tokenized BASIC program could be found in memory starting at location 03D5 hex (981 decimal), where, by PEEKing what is there when a program is in memory, you could determine what token values correspond to which commands. PRINT is represented by 97 hex (151 decimal), for instance. "High-bit-set" values (128-255 decimal) are used for tokens, while 7-bit ASCII characters generally stand for themselves. The null character (0) is used as a line terminator, while the line number is found in binary (little-endian) prior to the tokenized line (with another two-byte field preceding it). These programs were often saved to cassettes.