EasyManua.ls Logo

Sharp MZ-800 - Page 202

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...
Name
and
entry
point
(hex.)
Function
Registers
saved]
CALL
MSTP
(0047)
Stops
the
sound
generated
with
the
CALL
MSTA
subroutine.
All
except
AF
CALL
TIMST
(0033)
Sets
and
starts
the
built-in
clock.
The
registers
must
be
set
as
follows
before
this
routine
is
called.
ACC
+
0
(AM),
ACC
+
1
(PM)
DE
+
4-digit
hexadecimal
number
representing
the
time
in
seconds,
CALL
TIMRD
(003B)
Reads
the
built-in
clock
and
returns
the
time
as
follows.
ACC
+
0
(AM),
ACC
=
1
(PM)
DE
+
4-digit
hexadecimal
number
representing
the
time
in
seconds.
CALL
BRKEY
(001)
Checks
whether
the
[S
and
[BREAK]
keys
are
both
being
pressed.
The
Z
flag
is
set
when
they
are
being
pressed
simultaneously;
otherwise,
it
is
reset.
CALL
GETL
(0003)
Reads
one
line
of
data
from
the
keyboard
and
stores
it
in
the
memory
area
starting
at
the
address
in
the
DE
register.
This
routine
stops
reading
data
when
the
key
is
pressed,
then
adds
a
carraige
return
code
(OD)
to
the
end
of
the
data
read.
A
maximum
of
80
characters
(including
the
carriage
return
code)
can
be
enered
in
one
line.
Characters
keyed
in
are
echoed
back
to
the
display.
Cursor
control
codes
can
be
included
in
the
line.
When
the
and
keys
are
pressed
simultane-
ously,
the
BREAK
code
is
stored
at
the
address
indicated
by
the
DE
register
and
a
carriage
return
code
is
sotored
in
the
following
address.
CALL
GETKY
(001B)
Special
key
read
with
GETKY
T
Reads
a
character
code
(ASCII)
from
the
keyboard.
If
no
key
is
pressed,
control
is
returned
to
the
calling
pro-
gram
with
00
set
in
ACC.
No
provision
is
made
to
avoid
data read
errors
due
to
key
bounce,
and
characters
entered
are
not
echoed
back
to
the
display.
When
any
of
the
special
keys
(such
as
or
[CR])
are
pressed,
this
subroutine
returns
a
code
to
the
ACC
which
is
different
to
the
corresponding
ASCII
code
as
shown
below.
Here,
display
codes
are
used
to
address
characters
stored
in
the
character
generator,
and
are
different
from
the
ASCII
codes.
Special
key
Code
loaded
in
ACC}
_
Display
code
60
c7
61
c8
62
co
64
CB
66
cD
il
cl
12
c2
13
C3
14
C4
15
cs
16
C6
All
except
AF
All
except
AF
and
DE
All
except
AF
All
registers
All
except
AF

Other manuals for Sharp MZ-800

Related product manuals