EasyManua.ls Logo

Sharp MZ-800 - (5) Palette usage in mode 2

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...
(5)
Palette
usage
in
mode
2
In
mode
2,
the
initial
colour
code
assignments
to
the
palette
codes
are
as
follows.
Palette
code
|
Colour
code
(colour)
0
0
(black)
1
1 (blue)
2 2
(red)
3 3
(magenta)
4
4
(green)
5
5
(cyan)
6
6
(yellow)
7
7
(white)
8
8
(gray)
9 9
(light
blue)
10 10
(light
red)
11
11
(light
magenta)
12
12
(light
green)
13
13
(light
cyan)
14
14
(light
yellow)
15 15
(light
white)
Use
of
the
palette
in
mode
2
is
more
complicated.
In
mode
2,
palette
codes
0
to
15
are
used
and
they
are
divided
into
four
blocks
as
follows.
Palette
block
No.
|
0
1
2
3
Palette
code
[0t03
|
4to7
|8to
11
[12
to
15
The
initial
setting
of
the
palette
block
number
is
0
and
the
initial
settings
of
the
colour
code
assign-
ments
to
the
palette
codes
are
as
follows.
|
Palette
code
|
Colour
code
(colour)
|
0
(black)
1
(blue)
2
(red)
3
(magenta)
weno
The
palette
block
number
can
be
changed
by
the
INIT
command.
Ex)
INIT
‘‘CRT:B1''
Changes
the
palette
block
number
to
1.
The
numbers
belonging
to
the
current
palette
block
can
be
used
as
the
palette
codes
in
commands
and
statements.
Some
commands
and
statements
have
a
parameter
which
specifies
a
palette
code
or
colour
code.
The
numbers
belonging
to
the
current
palette
block
number
are
recognized
as
the
palette
codes,
while
the
other
numbers
are
recognized
as
the
colour
codes.
The
following
example
will
help
you
understand
the
above
explanation.
A-4
_——

Other manuals for Sharp MZ-800

Related product manuals