EasyManua.ls Logo

Sharp MZ-700 - Color Display Statement

Sharp MZ-700
213 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...
2.6
Color display statement
One
of
the
greatest features
of
the
MZ
-
700
is
that
it
allows characters and graphics
to
be displayed using
any
of
up
to
8 colors.
2.6.1
I
COLOR
........................................................
.
......
(Abbreviated format: COL.)
Format I
COLOR
x,
Y,
c
<,
b >
Function
Example
x
...
. X coordinate (0
to
39)
y .
..
. Y coordinate
(0
to
24)
c . .
..
Character color specification (0
to
7
).
b .
...
Background color specification (0
to
7).
This
statement
is used
to
set
the
foreground and background colors for
the
character
at
a specific position on
the
screen.
Any
of
up
to
8 different colors can be specified
for
the
character foreground (c)
or
background (b)
as
shown in
the
table below.
ColorNo
. Col
or
0 Black
1
Bl
ue
2
Red
3
Purple
4
Green
5
Light blue
6
Yellow
7
White
(1)
Changing
the
background color
of
the entire screen
CO
L
OR
, , , 2 .
..
..
(Changes
the
background color used
for display
of
characters
to
red.)
(2)
Changing
the
foreground color
of
the
entire screen (the color used for display
of
all characters)
CO
L
OR
..
3
.....
(Changes
the
color used for display
of
all characters
to
purple.)
(3)
Changing
both
the
background and foreground colors for
the
entire screen
COLOR
, . 1 . 0
.....
(Changes
the
color used for display
of
all characters
to
blue and changes
the
background used for display
of
chara-
cters
to
black.)
( 4) Changing
the
background color
at
a specific screen location
C 0 L 0 R 2 . 2 . . 4
....
. (Changes
the
background col
or
at
coordinates 2, 2
to
green.)
(5) Changing
the
foreground color
at
a specific screen location
COLOR
3.
2.
7
..
. . . (Changes
the
foreground color
at
coordinates 3, 2
to
white.)
(6) Changing
both
the
foreground and background color
at
a specific screen location
COLOR
4,
2.
4,
2
.....
(Changes
the
foreground color
at
coordinates 4, 2
to
green and changes
the
background color
at
that
location
to
red.)
80
--------------
-------------------------------------------------------

Other manuals for Sharp MZ-700

Related product manuals