Preview - Sharp mz-3500 Manual For Use

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section C:
Graphics Interface
C.l.
Preview
The
SHARP MZ-3500 has a built-in state-of-the-art screen graphics faci-
lity.
EOS
offers two ways of using it:
either by the Graphics
Inter-
preter,
or
by
EOS
function 115.
The latter is the subject
of
this
section.
EOS
function 115 expects a pointer to a graphic parameters block passed
in DE. The first byte of the parameter block always defines the graphics
instruction code,
which is a number in the 0 to 24 range.
Usually, the
instruction
code
is followed by a number of further
parameters
which
must be defined as words except for the Define Bit Image function, which
requires byte parameters.
Let's have a look at an example: To set the pixel (image dot) at coordi-
nates X
=
100 and Y
=
200, You would have to write:
GRPARM:
LD
LD
CALL
DB
ow
DW
EOS System manual
C,ll5
DE,GRPARM
5
9
100
200
EOS function 115
Parameter area
Call EOS for execution
Grahics instruction code
X coordinate
Y coordinate
Oaeumling
& Zimmermann
Page 166

Advertisement

Chapters

Table of Contents
loading

Table of Contents