EasyManua.ls Logo

Sharp MZ-800 - Page 203

Sharp MZ-800
221 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.)
Function
Registers
saved
CALL
ASC
(03DA)
Loads
the
ASCII
character
corresponding
to
the
hex-
adecimal
number
represented
by
the
lower
4
bits
of
data
in
ACC,
All
except
AF
CALL
HEX
(03F9)
Converts
the
8
data
bits
stored
in
the
ACC
into
a
hex-
adecimla
number
(assuming
that
the
data
is
an
ASCII
character),
then
loads
the
hexadecimal
number
in
the
lower
4
bits
of
ACC.
The
C
flag
is
set
to
0
when
a
hexadecimal
number
is
loaded
in
ACC;
otherwise,
it
is
set
to
1.
CALL
HLHEX
(0410)
CALL
2HEX
(041F)
CALL
??KEY
(09B3)
CALL
?ADCN
(OBB9)
All
except
AF
Converts
a
string
of
4
ASCII
characters
into
a
hexadecimal
number
and
loads
it
in
the
HL
register.
The
call
and
return
conditions
are
as
follows.
DE
+
Starting
address
of
the
memory
area
which
con-
tains
the
ASCII
character
string.
(eg.
mg
apr
way
CALL
HLHEX
‘_DE
CF=0
HL+hexadecimal
number
(e.g.,
HL
=31ASn)
CF=1
The
contents
of
HL
are
not
guarenteed.
5
All
except
AF
and
HL
Converts
a
string
of
2
ASCII
characters
into
a
hexadecimal
number
and
loads
it
into
the
ACC.
The
call
and
return
con-
ditions
are
as
follows.
DE
+
Starting
address
of
the
memory
area
which
con-
tains
the
ASCII
character
string.
(eg.
a
“A”
+)
CALL 2HEX
DE
CF=0
ACC+hexadecimal
number
(e.g.,
ACC
=3An)
CF=1
The
contents
of
the
ACC
are
not
guaranteed.
All
except
AF
and
DE
Blinks
the
cursor
to
prompt
for
key
input.
When
a
key
is
pressed,
the
corresponding
display
code
is
loaded
into
the
ACC
and
control
is
returned
to
the
calling
program.
Ee
All
except
AF
Converts
ASCII
codes
into
display
codes.
The
calli
and
return
conditions
are
as
follows.
©
«
ACC
+
ASCII
code
ome
nla
CALL
?ADCN
sem
erat
ACC
+
Display
code
All
except
AF
CALL
?7DACN
(OBCE)
CALL
?BLNK
(ODA6)
CALL
?DPCT
(ODDC)
Converts
display
codes
into
ASCII
codes.
The
call
and
return
conditions
are
as
follows.
ACC
+
Display
codes
CALL
?DACN
ACC
+
ASCII
code
All
except
AF
Detects
the
vertical
blanking
period.
Control
is
returned
to
the
calling
program
when
the
vertical
blanking
period
is
entered.
All
registers
Controls
display
as
follows.
ACC
Control
ACC}
Control
Scrolling
C6n
|
Same
as
the
Same
as
the
key.
|
C7#|
Same
as
the
Same
as
the
C8u
|
Same
as
the
[1
Same
as
the
key.
|
C9n|
Same
as
the
Same
as
the
[=]
key,
[ALPHA]
key.
Same
as
the
CDu|
Same
as
the
[CR]
key.
HOME
|
key.
Clu
C2
C3n
C4u
CSu
ther
ma
a
<
CALL
?POINT
(OFB1)
Loads
the
current
cursor
location
into
the
HL
register.
The
return
conditions
are
as
follows.
CALL
?POINT
HL
+
Cursor
location
(binary)
All
registers
All
except
AF
and
HL
A-16
weed
:

Other manuals for Sharp MZ-800

Related product manuals