MZ-800
monitor
call
Functions of this monitor can
be
called using their function numbers
in
the same manner
as
function calls.
In
the following explanation, two-digit hexadecimal numbers printed
in
Gothic are the function numbers and the
characters at their right are the function names.
The
table below lists the main monitor variables related to the monitor calls .
...
Monitor
Address in
I
variable
hexadecimal
SYSSTA
0040
ERRORP
004F
ELMD
1000
ELMD1
1001
ELMD20
1014
ELMD22
1016
ELMD24
1018
ZLOG
1042
ZRWX
1043
TEXTST
1070
POOL
1072
VARST
1074
TMPEND
107A
TEMLMT
107E
FILOUT 1091
00
.MONOP
Function:
Input registers:
Output registers :
Registers saved:
01 .CRl
Function:
Input registers:
Output registers:
Registers saved:
Length
in
bytes
2
2
1
17
2
2
2
1
1
2
2
2
2
2
1
Function
Hot start address of the utilities using this monitor.
Address of the error
handling routine of the utilities using this
monitor
File mode 1 : Object file
2 : BASIC text file
3:
Source file
4:
Relocatable file
File
name (up to
16
characters) and
end
mark
ODH.
File size
in
bytes
Load address
Excrution address
Logical number
File
open type 1 :
Read
open
2:
Write open
Starting address of the text
area
of utilities using this
monitor.
Starting address of the work
area
of this monitor.
Starting address of the
variable
area
of utilities using this
monitor.
Ending address of the temporary
area
of utilities using this
monitor.
Ending address of the memory
area
used
by this monitor.
Data
is
output to the
CRT
if the value at this address
is
zero
and to the printer if it
is
1.
(The device specification
is
effective
for
monitor functions.&
CR,
.&IC, .&ICX and .&MSG)
Returns to the
RAM.
monitor.
None
None
None
Starts a
new
line independent of cursor position
on
a line
None
None
Primary registers only
55