![](/html/39/390c/390ce8a700c9882f96debfe6c9a06f0c7d59c0dfcdf0c56149e84933502d1bf3/bg4.png)
Start-Up
H
T^m
o° me o sclav
2
h
ycu
are
js
~g
a :e
;
e;.s-cn se'ect
cnannel
3
c
4
and
set
:ne
antenna
s;V'tcn
:o
COMPUTER
3
I*
you
a'e
^smg
a
P^og^am
Pak
'
^
se
r:
it no
i
A
ce'ore
tur-.Tig
on
re co^Du^
4 Turn
on
any
accessor;,
equipment
(Dnnter
Multi-
Pak
interface
etc
}
5
Turn
on the computer
6 l
f
you
are
not
using
a Program
Pak
the
BASIC
start-up message
apoears
on the
display,
followed
by.
OK
7
Some
Program Pak documentation may
ten
you
to type
in
EXEC &HCOOO. To
run these Program
Paks
type
iry
EXEC &HE010
The
comoute
r
is
now
ready
for use.
![](/html/39/390c/390ce8a700c9882f96debfe6c9a06f0c7d59c0dfcdf0c56149e84933502d1bf3/bg5.png)
Commands
Commands
ATTR
c1,c2,B,U
Sets
display
attributes
of
a
high-resolution
text
screen.
d Foreground
color
c2
Background
color
B
Character
blink
on
U
Underline
on
ATTR
3,2,
U
AUDIO
switch
Connects or
disconnects
cassette
output to
the
display
speaker
ON
Switches
ON sound
from
cassette
player
to display
speaker.
OFF Switches OFF
sound
from
cassette
player
to display speaker.
AUDIO
OFF
CIRCLE
(x,y),r,c,h,s,e
Draws
a circle
on
the
current low-resolution
graphics
screen.
x.y
Center point
r
Radius
c
Color
h
Height/width
ratio
s
Starting
point
e
Ending
point
CIRCLE
(65
,43)
,20,1
,
,
. 5
,
.8
CLEAR
n,h
Erases
variables,
reserves
string
workspace,
and
reserves high
memory for
machine
language
programs
n
String
workspace size
h
Highest BASIC
memory
address
CLEAR
200
,20000
CLOAD
"filename"
Loads program
filename
from
cassette.
If
filename
is
not
specified. BASIC
loads
the
first program
file
found.
filename
Name
of
desired
program
Name
can
have
as
many
as 8 characters.
CLOAD
"PUPPIES"
CLOADM
"filename
\o
Loads macnine-language program filename
from
cassette
!
f
filename
is
not
specified. BASIC
loads
tne
first
macmne-ianguage
program found.
filename
Name
o
f
desired macnine-language
program Name can
have as many
as
8
characters.
o
Memory
address
offset.
If
specified.
BASIC
loads
the
machine-language
program
o
bytes
higher in
memory
tnan normal.
CLOADM "GRAPHICS",
2730
CLOSE#
d
Closes
access
to specified device or
file If
d
is
not
specified.
BASIC closes all open devices
and
tiles.
d
Number
of
device
or
file
CLOSE
#-1
CLSc
Clears the text sc
r
een
to a
specified
color. When
in
nigh-resolution
text
mode.
BASIC
also
sets
the
background
color, if
c
is not
specified BASIC
uses
the current
background
color.
c Color
code
CLS
2
COLOR cf,
c2
Sets
foreground
and
background colors
of
the
current
low-resolution
grapnics screen.
d
Foreground
color
code (0-8)
c2 BacKground color
code
(0-8)
COLOR
2,3
CONT
Continues
program
execution
after
a
program halt
f
rom tne
'break;
key
or
a STOP
instruction
CONT
CSAVE
"filename'^
Saves
program filename
on
cassette.
filename
Name
of
program
to save.
Name
can nave
as
many as
8
characters.
A
Selects ASCII format
CSAVE "NEWFI
LE",
A
![](/html/39/390c/390ce8a700c9882f96debfe6c9a06f0c7d59c0dfcdf0c56149e84933502d1bf3/bg6.png)
Commands
Commands
CSAVEM "filename",l,h,e
Saves machine-language
program filename
on
cassette.
filename
Name of machine-language
program
being
saved. Name
can
have
as
many as
8
'Characters
/
Lowest address
of machine-
language
program.
h
Highest
address
of machine-
language
program.
e
Exec address
of machine-language
program.
CSAVEM "GRAPHICS
",28000,
29000,2803
2
DATA
constant,
constant,...
Stores numeric and
string constants for use with
READ
statement,
constant
String
or
numeric
constant(s).
such
as: 127.2985
or Beagle.
DATA
45,
CAT,
98,
DOG,
24.
3,
1000
DEF FN
name
(variables)
=
formula
Defines
a
numeric function.
name Name of
function. Must
be
a
valid
variable name.
variables List of
dummy
variables
used
in
formula,
formula
Defines the
operation.
DEF
FNA(B)=B*(B+(1
/B) )
DEFUSR
n
=
addr
Defines
the
starting
address
of
a
machine-
language subroutine
n
Number
of
machine-language
routine
(0-9)
addr Starting address
of machine-
language routine,
(0-65535)
DEFUSR0=28032
DEL
11-12
Deletes
program
lines.
//
Lowest
line
number
to
delete.
12
Highest line number to
delete
11
Deletes 1
line.
-12
Deletes
from
beginning
of
program up
to
and
including 12
11-
Deletes from and
including
11
to
the
end
of the program.
11-12
Deletes
from
and
including
11
to
and
including 12.
DEL
40-75
DIM
array{size),array(size),...
Dimensions
one
or
more arrays.
DIM
A$(3,10)
#
R4(22)
DRAW
string
Draws a
line
on
the
current
low-resolution
graphics screen
as
specified
by
string. The
string
commands are:
A
Angle
BM
Blank move
C
Color
D Down
E
45
degree
angle
F
135
degree
angle
G 225 degree
angle
H
315 degree angle
L
Left
M Move
draw position
N
No
update
R
Right
S
Scale
U
Up
X
Execute
substring
DRAW
"BM128,96;U2
5;R25;D2
5; L2
5"
EDIT
line number
Edits a program
line.
After
fetching specified
line
number.
EDIT recognizes several
commands:
C
Changes characters
D Deletes characters
H
Hacks
off
rest
of line and permits
insertion
I
Inserts characters
K Kills
rest of line
L Lists
line
being
edited
S
Searches
for
a
specified
character
X Extends line
shTfT
t
Returns
to
line
mode
EDIT 40
END
Marks
the
end
of a BASIC
program,
END