EasyManuals Logo

Sharp MZ-800 User Manual

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
Page #121 background imageLoading...
Page #121 background image
PATTERN
Format
Explanation
Example
PATTERN
[<colour
specification
>]<numeric
data>,
<text
data>
<colour
specification>
=
[<palette
code>][,<superimpose
mode>]
The
PATTERN
statement
defines
a
graphics
pattern
in
the
specified
colour.
The
meanings
of
the
<colour
specification
>
parameter
are
identical
to
those
of
the
SET
statement.
When
this
parameter
is
omitted,
the
parameters
in
the
COLOR
state-
ment
are
assumed,
The
pattern
to
be
drawn
can
be
specified
using
<numeric
data>
and
<text
data>.
<numeric
data>
(+1
to
+24)
represents
the
number
of
stacked
8-bit
dot
pattern
rows,
and
<text
data>
represents
the
individual
dot
pattern
rows.
Drawing
of
the
pattern
is
controlled
by
the
position
pointer.
The
number
of
dot
pattern
rows
specified
by
<numeric
data>
are
displayed
from
bottom
to
top
if
<numeric
data>
is
positive
and
from
top
to
bottom
if
it
is
negative.
After
the
speci-
fied
number
of
dot
pattern
rows
are
drawn,
dot
pattern
lines
8
bits
(1
character)
to
the
right
of
the
current
column
are
displayed.
<text
data>
must
be
specified
using
ASCII
codes
which
correspond
to
the
binary
representation
of
dot
pattern
rows.
(Binary
number)
On
BI
S-T
tT
5
7
~+
57
(hexadecimal)
~+*
CHR$($57)
or
“W""
10
POSITION
100,100..
Sets
up
the
position
pointer.
20
PATTERNI2,016,’’ABCDEF’’
30
END
The
above
program
draws
the
graphics
pattern
shown
below
in
a
colour
from
palette
2.
Binary
Hexadecimal
‘or
Character
representation
701000110
+46
+"F"
01000901
4s
rE?
701000100
+44
+
"Dp"
-01000011
+43
+"C"
701000010
~42
~"B"
-01000001
-41
—"A"
Position
pointer
before
execution
Line
20
above
can
be
replaced
by
the
following
line:
20
PATTERNI2,0]6,CHR$($41,$42,$43,$44,$45,$46)
POSITION

Other manuals for Sharp MZ-800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sharp MZ-800 and is the answer not in the manual?

Sharp MZ-800 Specifications

General IconGeneral
BrandSharp
ModelMZ-800
CategoryDesktop
LanguageEnglish

Related product manuals