EasyManua.ls Logo

Commodore Plus 4 - Page 79

Commodore Plus 4
464 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC
Version
3.5
Commands,
Functions,
and
System
Variables
6?
2
multicolor
mode
extra
color
1
3
multicolor
mode
extra color
2
4
screen
border
color
The
color
source
number
you
include
in
the
PAINT
command
tells
the
computer
to
draw
in
the
current
color
for
that
source.
For
example,
if
you
select
1,
the
computer
paints
in
the
current
foreground
color.
If
you
want
to
use
a
color
other
than
one
of
the
current
source
values,
you
must
first
use
the
COLOR
command
to
change
one
of
the
source
values.
Only
sources
1
and
2
can
be
used
to
draw
with
more
than
one
color
on
the
same
screen.
Sources
0
and
3
are
global
(whole
screen)
colors.
If
you
want
to
use
the
default
value
(1,
the
current
foreground
color),
you
do
not
have
to
type
a
number,
but
you
must
type
a
comma
before
the
next
parameter.
2.
The
coordinates
tell
the
computer
wfyere
to
start
painting.
You
can
tell
the
computer
to
start
at
any
point
within
the
space
you
want
to
paint.
You
never
need
to
include
ending
coordinates.
The
computer
stops
painting
when
the
border
is
reached.
3.
Boundary
mode
lets
you
choose
whether
to
have
the
painting
stop
when
it
reaches
a
border
of
the
color
source
with
which
it
is
painting
(select
0),
or
when
it
reaches
any
nonbackground
color
(select
1).
The
default
is
0.
The
other
choice
is
meaningful
only
in
multicolor
mode.
Note:
If
the
specified
starting
point
was
previously
colored
with
a
boundary
color,
no
painting
will
be
done.
Example:
10
GRAPHIC
3,1
20
CIRCLE,
80,50,30,50,,,,90
30
COLOR
3,12,4
40
PAINT
3,
80,50,1
Draws
a
diamond
and
fills
it
in
with
the
color
in
color
source
3.
PEEK
PEEK
(memory
location)
Abbr.
pE
Finds
the
contents
of
any
RAM
location.
The
location
must
be
between
0
and
65535.
PEEK
and
POKE
are
complements
and
can
be
used
together
to
place
and
look
at
memory
contents.
Examining
ROM
using
PEEK
is
not
easy.
See
Chapter
4
(Copying
the
Standard
Character
Set)
for
one
method.
Example:
POKE
3090,1
PRINT
PEEK(3090)
1
Displays
an
A
at
screen
location
3090.
Prints
the
value
of
memory
location
3090.

Other manuals for Commodore Plus 4

Related product manuals