5.7.12 Subroutines for using the MICROCASSETTE DRIVE
MCMTX
is
the entry point for the subroutine which calls the MTOS functions.
Entry point: WBOOT
+ 78H
The use
of
this routine
is
similar
to
using a BDOS function call. Full details
are given in the OS reference manual.
5.7.13 Subroutines for the USER BIOS
The BIOS can be extended to include routines which are not supported by
CP
1M.
Entry Point: WBOOT + 7EH
USERBIOS
is
the routine which allows USER BIOS entry points to be changed.
The table
of
entry points
is
reinitialized
if
a reset
is
carried
out
or the system
is
initialized. Thus it
is
necessary to reload the USER BIOS entry points
if
any
type
of
reset
is
carried out.
The use
of
the USER BIOS
is
explained in the OS Reference Manual.
5-36
-:l
~
~"
~
11-"
~
.,./If
...
,11
,
'filII
,
....
,"
,
.,H
~
..
,p
~
'-"'"
,
pe,'>\'
~
~\o.\\
.~
~~
,
..,f
--
....
~
,.p
-
'~
~p
-
~~
',p
'1/11
~
,-
r~
.",'
-
.~
.",y
,-..,'
'~
","I'
-"
,
-.
~
..
"
,
--
,
~y
~
...
.,
.
.,
,..,..
~
'r..,.
'U
~
-
~
'V
I~
,,-"
L~
'"
L
Appendix A
PX-8
CONSOLE
ESCAPE
SEQUENCES
The PX-8 uses a separate
CPU
to handle the console. Rather
than
have many
calls to specific routines for particular console functions, the functions are ex-
ecuted by sending a sequence
of
characters to the console. This appendix deals
with the use
of
these command sequences.
It
is
also possible to use certain AS-
CII control codes. These are described in Appendix E.
The sequences involve the ESCAPE character ASCII code
27
decimal
(lB
in
hexadecimal), followed by one
or
more characters, the values
of
which deter-
mine the command
to
be carried out.
In
the remainder
of
this appendix the
ESCAPE character
is
denoted by the letters
"ESC".
The ESC code would nor-
mally be used as
part
of
a machine code routine, by using the CONOUT rou-
tine described in section 5.7.3, although they could also be input directly from
the keyboard
on
the
CP
1M
command line in many cases. Since it may be neces-
sary
to
enter them from the keyboard, the key sequence
is
given where this
is
possible. The character sequence can also be executed as part
of
a BASIC PRINT
statement. The BASIC MANUAL contains further information
on
using the
sequences in BASIC programs.
Not
all the commands are supported in BASIC
because they interact with the screen editor.
A-I