EasyManua.ls Logo

Sharp MZ-800 - Page 98

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...
The
following
programs
transfer
the
contents
of
A$
between
the
two
MZ-800s:
[Program
for
sender]
10
INIT’*RS1:$00,$8C”’
20
A$
=''0123456789"'
30
WOPEN
#1,"’RS1:""
40
PRINT
#1,A$
50
CLOSE#1
60
END
[Program
for
receiver]
10
INIT‘‘RS1:$00,$8C"'
20
ROPEN
#2,'‘RS1:""
30
INPUT
#2,A$
40
PRINT
AS
50
CLOSE#2
60
END
(Format
4)
In
this
format
the
INIT
command
sets
up
the
display
settings.
<mode>
specifies
the
resolution
of
the
screen
and
the
number
of
colours
as
follows.
Resolution
[Characters
per
line|
Colours
320
x
200
dots
40
4
colours
16
colours
320
x
200
dots
Foreground
and
back-
ground
colours
640
x
200
dots
|
4
colours
Mode
640
x
200
dots
Note:
Optional
graphic
memory
(MZ-1R25)
is
required
to
set
mode
2
or
4.
When
a
TV
set
is
used
as
the
display
unit,
sufficient
resolution
will
not
be
obtained
in
mode
3
or
4.
<block
code>
specifies
the
colour
pallete
block
number.
See
Appendix
A
for
more
information
on
display
control.

Other manuals for Sharp MZ-800

Related product manuals