EasyManua.ls Logo

Sharp MZ-800 - 6.4 Graphics Control Statements

Sharp MZ-800
221 pages
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...
6.4
Graphics
Control
Statements
COLOR
Format
Explanation
COLOR
[<palette
code>
[,<mode>]
Abbreviated
Format
COL.
The
COLOR
statement
specifies
the
<
palette
code>
and
optional
<mode>
that
are
used
by
the
PRINT,
PRINT
USING,
and
graphics
statements
SET,
RESET,
LINE,
BLINE,
BOX,
CIRCLE,
PAINT,
PATTERN,
and
SYMBOL.
<mode>
specifies
the
type
of
logical
operation
performed
on
the
colours.
When
<mode
>
is
specified
as
0,
the old
colours
in
superimposed
sections
are
over-painted
by
new
colours.
When
this
parameter
is
specified
as
1,
the
old
and
new
colours
are
logically
ORed.
The
mode
parameter
does
not
apply
however
to
the
RESET
and
BLINE
statements
(see
Appendix
A).
10
INIT
“CRT:M1”
20
COLOR
3,0
30
FOR
J=0
TO
10
STEP
2
40
SET
100,J
50
NEXT
J
60
END
This
program
plots
dots
at
points
(100,
0)
and
(100,2)
through
(100,10)
in
colours
associated
with
palette
code
3
and
in
superimpose
mode
0.
Appendix
A.
6-56

Other manuals for Sharp MZ-800

Related product manuals