EasyManua.ls Logo

Sharp MZ-700 - Page 154

Sharp MZ-700
213 pages
Print Icon
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.)
CALLMSTP
(0047)
CALL TIMST
(0033)
CALLTIMRD
(003B)
CALLBRKEY
(OOlE)
CALLGETL
(0003)
CALLGETKY
(OOlB)
Special
key
read
withGETKY
Function
Stops
the
sound generated with the CALL MSTA subroutine.
Sets and starts
the
built-in clock. 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.
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.
Checks whether
the
I SHIFT I and I
BREAK
I keys are
both
being pressed. The Z flag is set when
they
are being pressed
simultaneoulsy; otherwise,
it
is
reset.
Reads one line
of
data from the keyboard
and
stores
it
in
the
memory area starting
at
the address indicated in
the
DE
register. This routine stops reading data when the RETURN
key is pressed, then appends a carriage return code
(OD)
to
the
end
of
the
data read.
A maximum
of
80
characters (including the carriage
return
code) can be entered in one line.
Characters keyed in are echoed back to
the
display, and cursor
control codes can be included in the line.
When
the
I SHIFT I and I
BREAK
I keys are pressed
simultaneously, BREAK code
is
stored in the address indicated
in
the
DE register and a carriage return code is stored in
the
subsequent address.
Reads a character code
(ASCII) from the keyboard.
If
no
key is pressed, control
is
returned
to
the calling program
with
00
set in
ACC.
No provision is made
to
avoid data read errors due
to
key
chatter, and characters entered are
not
echoed back
to
the display.
\
Register
saved
Other
than
AF
Other
than
AF
Other
than
AF
and DE
Other
than
AF
All
registers
Other
than
AF
When any
of
the special keys (such
as
I
DEL
I
or
I
CRI
) are pressed, this
subroutine returns a code to
ACC which is different from
the
correspond-
ing
ASCII code as shown below. Here, display codes are used to address
characters stored in
the
cahracter generator, and are different from
the
ASCII codes.
'•
Spe~~
~eY
....
.·~~
.~:-
kt··:~)
s~
,
~~
'
~t
.
~
~~c
·.·.···
;;;
~
'l~i)j.::·
DEL
.
·.
60 C7
INST
61
C8
ALPHA
.:·.
62 C9
,.
BREAK
,~·.;
64
CB
CR
66
CD
D
11
Cl
a
'
12
C2
a
13
C3
11
,;
14
C4
I
HOME!
15
CS
I€LRI
·:
16
C6
152
----------------------------------------------
----
----------------------

Other manuals for Sharp MZ-700

Related product manuals