Commodore 16 User Manual

Download Operation & user’s manual of Commodore 16 Desktop for Free or View it Online on All-Guides.com.

Brand: Commodore

Category: Desktop

Type: Operation & user’s manual for Commodore 16

Pages: 94

Download Commodore 16 Operation & user’s manual

Commodore 16 Operation & user’s manual - Page 1
1
Commodore 16 Operation & user’s manual - Page 2
2
Commodore 16 Operation & user’s manual - Page 3
3
Commodore 16 Operation & user’s manual - Page 4
4
Commodore 16 Operation & user’s manual - Page 5
5
Commodore 16 Operation & user’s manual - Page 6
6
Commodore 16 Operation & user’s manual - Page 7
7
Commodore 16 Operation & user’s manual - Page 8
8
Commodore 16 Operation & user’s manual - Page 9
9
Commodore 16 Operation & user’s manual - Page 10
10
Commodore 16 Operation & user’s manual - Page 11
11
Commodore 16 Operation & user’s manual - Page 12
12
Commodore 16 Operation & user’s manual - Page 13
13
Commodore 16 Operation & user’s manual - Page 14
14
Commodore 16 Operation & user’s manual - Page 15
15
Commodore 16 Operation & user’s manual - Page 16
16
Commodore 16 Operation & user’s manual - Page 17
17
Commodore 16 Operation & user’s manual - Page 18
18
Commodore 16 Operation & user’s manual - Page 19
19
Commodore 16 Operation & user’s manual - Page 20
20
Commodore 16 Operation & user’s manual - Page 21
21
Commodore 16 Operation & user’s manual - Page 22
22
Commodore 16 Operation & user’s manual - Page 23
23
Commodore 16 Operation & user’s manual - Page 24
24
Commodore 16 Operation & user’s manual - Page 25
25
Commodore 16 Operation & user’s manual - Page 26
26
Commodore 16 Operation & user’s manual - Page 27
27
Commodore 16 Operation & user’s manual - Page 28
28
Commodore 16 Operation & user’s manual - Page 29
29
Commodore 16 Operation & user’s manual - Page 30
30
Commodore 16 Operation & user’s manual - Page 31
31
Commodore 16 Operation & user’s manual - Page 32
32
Commodore 16 Operation & user’s manual - Page 33
33
Commodore 16 Operation & user’s manual - Page 34
34
Commodore 16 Operation & user’s manual - Page 35
35
Commodore 16 Operation & user’s manual - Page 36
36
Commodore 16 Operation & user’s manual - Page 37
37
Commodore 16 Operation & user’s manual - Page 38
38
Commodore 16 Operation & user’s manual - Page 39
39
Commodore 16 Operation & user’s manual - Page 40
40
Commodore 16 Operation & user’s manual - Page 41
41
Commodore 16 Operation & user’s manual - Page 42
42
Commodore 16 Operation & user’s manual - Page 43
43
Commodore 16 Operation & user’s manual - Page 44
44
Commodore 16 Operation & user’s manual - Page 45
45
Commodore 16 Operation & user’s manual - Page 46
46
Commodore 16 Operation & user’s manual - Page 47
47
Commodore 16 Operation & user’s manual - Page 48
48
Commodore 16 Operation & user’s manual - Page 49
49
Commodore 16 Operation & user’s manual - Page 50
50
Commodore 16 Operation & user’s manual - Page 51
51
Commodore 16 Operation & user’s manual - Page 52
52
Commodore 16 Operation & user’s manual - Page 53
53
Commodore 16 Operation & user’s manual - Page 54
54
Commodore 16 Operation & user’s manual - Page 55
55
Commodore 16 Operation & user’s manual - Page 56
56
Commodore 16 Operation & user’s manual - Page 57
57
Commodore 16 Operation & user’s manual - Page 58
58
Commodore 16 Operation & user’s manual - Page 59
59
Commodore 16 Operation & user’s manual - Page 60
60
Commodore 16 Operation & user’s manual - Page 61
61
Commodore 16 Operation & user’s manual - Page 62
62
Commodore 16 Operation & user’s manual - Page 63
63
Commodore 16 Operation & user’s manual - Page 64
64
Commodore 16 Operation & user’s manual - Page 65
65
Commodore 16 Operation & user’s manual - Page 66
66
Commodore 16 Operation & user’s manual - Page 67
67
Commodore 16 Operation & user’s manual - Page 68
68
Commodore 16 Operation & user’s manual - Page 69
69
Commodore 16 Operation & user’s manual - Page 70
70
Commodore 16 Operation & user’s manual - Page 71
71
Commodore 16 Operation & user’s manual - Page 72
72
Commodore 16 Operation & user’s manual - Page 73
73
Commodore 16 Operation & user’s manual - Page 74
74
Commodore 16 Operation & user’s manual - Page 75
75
Commodore 16 Operation & user’s manual - Page 76
76
Commodore 16 Operation & user’s manual - Page 77
77
Commodore 16 Operation & user’s manual - Page 78
78
Commodore 16 Operation & user’s manual - Page 79
79
Commodore 16 Operation & user’s manual - Page 80
80
Commodore 16 Operation & user’s manual - Page 81
81
Commodore 16 Operation & user’s manual - Page 82
82
Commodore 16 Operation & user’s manual - Page 83
83
Commodore 16 Operation & user’s manual - Page 84
84
Commodore 16 Operation & user’s manual - Page 85
85
Commodore 16 Operation & user’s manual - Page 86
86
Commodore 16 Operation & user’s manual - Page 87
87
Commodore 16 Operation & user’s manual - Page 88
88
Commodore 16 Operation & user’s manual - Page 89
89
Commodore 16 Operation & user’s manual - Page 90
90
Commodore 16 Operation & user’s manual - Page 91
91
Commodore 16 Operation & user’s manual - Page 92
92
Commodore 16 Operation & user’s manual - Page 93
93
Commodore 16 Operation & user’s manual - Page 94
94
The NEXT slalemeni
Is
used
with ihe FOR statement. When
the
computer encouniers
a
NEXT statement,
it
goes back to the
corresponding FOR statement
and checks
the
loop variable
(See
FOR
statement tor
more detail.) It the loop is finished, execution proceeds
with the statement
after the NEXT statement. The word NEXT may be
followed
by a
variable name,
a
list ot
variable
names separated by
commas, or no
variable
names. It there are no names
listed, the last
loop started is me
one being
completed
H the variables are given, they
are
completed
In
order trom left
to
right
EXAMPLE:
10 FOR L
«
20 FOH L
<
30
FOR L
1 TO 10:NEXT
1 TO 10:NEXT L
1 TO 10:FOR M
=
1 TO 10:
NEXT
M, L
ON
ON
expression
<GOTO/GOSUB>
line #1
[.
line
#2,
This command can make the
GOTO
and
GOSUB
statements mlo
special versions ol
the IF
statement The word ON is followed
by a
formula, then either GOTO or
GOSUB.
and a list ol
line
numbers
separatee by commas. If the
result
ol the
calculation
of the
formula
(expression)
ts
1
. the
first line
in the
list
is executed.
II
Ihe
result is
2.
the second
line number is
executed, and so
on.
If the
result
is 0.
or
larger than
the
number of line numbers in the list, the next
line
executed
is tne statement following
the ON statements
II
Ihe
number is negative,
an ILLEGAL
QUANTITY
ERROR results
l
;
f
.
I
f
f
!
I
I
I
I
I
I
I
I
(
I
r
f
^26
i
r
EXAMPLE:
10 INPUT
X:IF X<0 THEN 10
20 ON X
GOTO 50, 30, 30, 70
25 PRINT "FELL THROUGH":GOTO
10
30 PRINT "TOO HIGH":GOTO
10
50 PRINT'TOO
LOW'rGOTO
10
70
END
When
X
=
1
. ON
sends control
to the
lirsl line
number in
the
lisl
(50) When X
-
2.
ON sends control
to
the second line
(30),
etc.
OPEN
OPEN
Me
[.device
# (.secondary address
f.
"filename, type,
mode"]|l
The OPEN statement allows your Commodore 16
lo access
devices
such as the
Datassette
recorder
and disk for data, a primer or even the
monitor screen
The
word
OPEN is followed
by a
logical file
number,
which is the
number to which all other BASIC
statements
will
refer This
number is from 1
to
255. There is normally
a second number after
the
first called
Ihe device number Device number is
the Commodore 16
keyboard.
3 is Ihe
screen,
1 is the Datassette recorder
(default), 4 is the
printer.
8
is usually the
disk. A
*ero
(0) may be included in tront of
the
device number
digit
(e
g
,
08 to*
8. which are
interchangeable
as far as
your Commodore 1
6
is
concerned). It
Is
often
a good Idea lo use the
same file number
as the
device
number because it makes it
easy to
remember
which Is which. Following the
second number may
be a
third
number called the
secondary address. In the
case ol
tne
cassette,
this
can be fo' read. 1 lor write,
ana 2 lor write with end-of-lape
marker
at Ihe end.
In
the
case of the disk, Ihe number refers to the
channel number. In
the printer, the
secondary addresses are used to
set Ihe mode of the printer
See the
Commodore
1 6 Programmer's
Reference Manual
or the manual lor each
specific
device
for more
information
on secondary addresses There
may
also
be a
string
following
the third number,
which
could
be
a
command
to
the disk
drive or the name
ol the file
on tape or disk. The type and mode refer
127