Sharp mz-3500 Manual For Use page 279

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

Advertisement

Section B:
Hardware interface
************************************************************************
*
*
*
*
5 -
Print Character
*
*
************************************************************************
On entry:
c =
Character
On exit :
The character passed in register C is sent to all devices mapped via the
LSTOUT:
bit vector to the printer.
The character is not masked or con-
verted anyway. The system waits until all devices affected have accepted
the character.
If a device is not ready to receive a character,
the system waits until
the
timeout interval (definable by EOS function 73) has elapsed.
Then,
an error message is displayed on the screen denoting the faulty
device.
If
at
this moment hardware function 2 returns a
non-zero
value,
the
character
pending
is read and output will be aborted,
i.e.
a
system
restart is performed. Otherwise, the wait cycle repeats.
Output device
~.
however,
is not subjected to timeouts,
defined as monitor screen under EOS.
Example: Send a form feed to the printer
LD
c,s~
EOS function code
LD
DE,PARAMS
Parameters
CALL
5
Call EOS
PARAMS:
DB
5
Hardware function
DB
0
because it is
No.
ow
0CH
character
in
register
c
ow
0
ow
0
EOS System manual
Daeumling & Zimmermann
Page 141

Advertisement

Chapters

Table of Contents
loading

Table of Contents