$1F0) Commodore BASIC tokens start at what number?
|
|
|
| Top |
$1F1) BASIC 2.0 defines tokens without gaps up to $ca. What keyword
is represented by $cb?
|
|
|
| Top |
$1F2) Why is the token for PI strange?
|
|
|
| Top |
$1F3) All versions of Commodore BASIC contain at least a subset of
tokens. At what number does this subset end?
|
|
|
| Top |
$1F4) BASIC 4.0 defines tokens beyond $cb. What is the last token
included in BASIC 4.0?
|
|
|
| Top |
$1F5) There was a BASIC 4.0+ included in the B series. It extends the
BASIC with some new commands not in 4.0. What token range are
these new commands at?
|
|
|
| Top |
$1F6) When a user plugs a Super Expander into a Commodore 64, he or
she gains access to 25 new BASIC commands. The tokens for these
commands are defined differently from the previous tokens. What
is the difference?
|
They are two byte tokens of the form: $fe XX, where XX ranges from
$80 to $9e.
|
| Top |
$1F7) When the Plus/4 and C-16 was developed, new commands were added
to BASIC. In addition, many commands from BASIC 4.0 were also
included. Unfortunately, the tokens for BASIC 4.0 commands included
in these new machines differed from those in the older BASIC 4.0.
If a user lists a program written in BASIC 4.0 on a Plus/4, what
will the BASIC 4.0 CONCAT command show up as?
|
CONCAT is $cc in BASIC 4.0, and is RGR in BASIC 3.5.
|
| Top |
$1F8) What is the last token used in the Plus/4 line?
|
|
|
| Top |
$1F9) If you list a program written on the Plus/4 with the keyword
SCALE on a BASIC 4.0/4.0+ machine, what happens?
|
SCALE on BASIC 3.5 is token $e9, which is not in the BASIC 4.0(+)
list. The PET will crash. Interstingly, tokens above $e9 do not
crash the PET.
|
| Top |
$1FA) When the C128 was released, it shared many tokens with the Plus/4.
However, at $ce, the 128 differs from the Plus/4. The Plus/4 token
$ce corresponds to RLUM, but the C128 uses the token another way.
What is peculiar about the C128 usage?
|
The C128 uses $ce as a prefix byte for a range of two-byte tokens
that range from $02 to $0a.
|
| Top |
$1FB) The C128 shares many keywords with the Super Expander cartridge
for the C64. As with the Plus/4, though, keywords don't map to
the same token. To what token does the C128 keyword SPRITE
(token: $fe $07) correspond to on the Super Expander equipped 64?
|
|
|
| Top |
$1FC) What keyword was not included in BASIC v1, but was included in
BASIC v2?
|
|
|
| Top |
$1FD) The C128 defines all the tokens from $fe $02 to $fe $26, with the
exception of two tokens. Name one of them.
|
|
|
| Top |
$1FE) The Plus/4 line had the ability to add keywords dynamically when
running cartridges. At what point in the token list do these
"added" keywords show up in the Plus/4 line?
|
They use $fe as a prefix byte for two-byte tokens.
|
| Top |
$1FF) If a programmer want to write a single program to run on a
B128, a plus/4, and a C128, what version of BASIC is the lowest
common denominator?
|
Unfortunately, BASIC 2.0 is it.
The information in this between the lines marked by (BEGIN) and (END)
is copyright 1996 by Jim Brain. Provided that the information
between the (BEGIN) and (END) lines is not changed except to correct
typographical errors, the so marked copyrighted information may be
reproduced in its entirety on other networks or in other mediums. For
more information about using this file, please contact the address
shown below.
Jim Brain
j.brain@ieee.org
Some are easy, some are hard, try your hand at:
-------------Commodore Trivia Edition #32 Questions (END)---------------
The information in this between the lines marked by (BEGIN) and (END)
is copyright 1996 by Jim Brain. Provided that the information
between the (BEGIN) and (END) lines is not changed except to correct
typographical errors, the so marked copyrighted information may be
reproduced in its entirety on other networks or in other mediums. For
more information about using this file, please contact the address
shown below.
Jim Brain
j.brain@ieee.org
10710 Bruhn Avenue
Bennington, NE 68007
(402) 431-7754
--------Commodore Trivia Edition #32 Questions and Answers (END)---------
|
| Top |