2
1.1
Function
of
the monitor program
A Monitor program generally monitors system programs such as
the
BASIC interpreter.
The
MZ-
80B
uses a Monitor program called MONITOR SB-1510.
It
includes various functional subroutines
which control
the
keyboard, display, sound circuit, cassette tape deck, etc. These subroutines are
called
by
the
BASIC interpreter when
it
executes INPUT statement, SAVE command, MUSIC state-
ment
or
other
commands
or
statements. Monitor subroutines may also be called
by
the
user
at
will.
$0000
$1220
MONITOR
BASIC
interpreter, etc.
User's program
$FFFF
...._
_______
__,
FIGURE 1.1 Monitor subroutine call
1/0
control: keyboard, CMT, TV, etc.
Return
MONITOR SB-1510 occupies 4.5K bytes
of
memory
and
is stored in memory addresses
$0000
through $121 F. Its required work area is included within this area. Therefore, MONITOR SB-151 0
can be used as an individual system program.
That
is, it can perform the following functions in addi-
tion
to
system monitoring.
•
It
generates, executes and files machine language programs using 6
monitor
commands:
M:
Memory correction
D:
Memory
dump
J
Jump
s
-save
V:
Verify
L:
Load