TRS-80 MODEL III
ROM
Subroutines
The Model III BASIC ROM contains many subroutines that can be called by a
z-xo
program; many
of
these can be called by a BASIC program via the USR function.
Each subroutine will be described
in
the format given below.
1.
$NAME-Entry
address
2. }'unctionSummary
3. Description
of
function
4.
Entry
Conditions
5. Exit Conditions
6. Sample
Program
Notes:
1. The subroutine nameis only for convenient reference.
It
is not recognized by the
Computer. The
$- prefix reminds you that it is a convenience name only.
Theentry address is given in decimal/hexadecimal form. (The hexadecimal address
will be given in this form:
X'
0000'
.)
This
is
the address you use in aZ-80 CALL. BASIC
programmers store this address in the USR definition address (16526-16527).
4,5.
Entry and exitconditions are given for Z-80 programs.
If
a Z-80 register is not
mentioned here, then you can assume it is unchanged by the subroutine.
6. Sample Programfragments are given in
Z-80 Assembly Language and, where
appropriate, in
BASIC.
Here are the subroutines, arranged according to function. In the following pages,
they are arranged alphabetically.
12/2