Z80 M _I ------------~~
Onl or == --=======~====:'==
~ = -=.:- =~S"-=- ==::-~~
....:;=-.;;...;;......:;;"";,,,;;~...;;;;;;.;;;;.;......;;;..~----------------
Bank
o
1
2
3
4
5
6
7
Output byte
01
02
04
08
10
20
40
80
Read binary or ASCII input from paper tape
reader or console and store in memory from destination-
address through destination-end. After destination-end
has been filled, the monitor prompts for the next
command.
SUBSTITUTE MEMORY
[13] SM address (CR)
For example, the first command selects bank 5 and the
second selects banks 4 and 5.
o
20 40
o 30 40
PROGRAM
[11] P source-addr source-end destination-addr (CR)
or
P source-addr S swath-widthdestination-addr (CR)
Program from source-address through source-end
into PROMS beginning at destination-address.
If the length of the source is not a multiple of
400H (1024 decimal) or if the destination does not
begin at 400H boundary, the monitor will reject the
command. (Multiples of 400H end in '000', '400',
'800', or
'COO'.)
Any number of 2708 or 2704 PROMS can be
programmed in the execution of one command as long
as there are enough BYTESAVERS to contain them.
Each PROM is verified with its source after all are pro-
grammed and any discrepancies are printed out. If
there are none, the prompt ' ; , is issued and the
monitor awaits the next command.
Software can be loaded into a PROM in as small
increments as you desire provided it is added to pre-
viously unused areas of the PROM.
This is done by first using the Move command,
M, to transfer the current contents of the PROM down
to RAM, adding the new software to an area of RAM
which corresponds to the unused portion of the PROM
and finally using the Program command, P, to re-
program the PROM with the result.
Although the entire PROM must always be pro-
grammed, it never hurts to re-write the same data
over again.
In general, a 1 may be written over a 1, a 0 over
either a 1 or a 0, but the only way to change O'sto l's
is to erase the PROM with appropriate UV light. (See
the BYTESAVER manual for details.)
READ
[12] R destination-addr destination-end (CR)
or
R destination-addr S swath-width (CR)
6
Substitute Memory desplays the contents of
address and outputs a dot,' . ',as a prompt for the
substituted value. If no change is desired, type a
space or another dot. Otherwise, enter the new value.
The monitor accepts hex digits until it gets a delimiter,
such as a space, dot, or carriage-return retaining the
last two digits entered as the value. Unless the delimiter
is a carriage-return, the monitor outputs the contents
of the next sequential memory location with a dot
prompt. A carriage-return terminates the command.
SUBSTITUTE REGISTER
[14] S register-name (CR)
Register-name may be A, B, C, D, E, F, H (HL), I,
N (state of the Z80 interrupt flip-flop), P (PC), S (SP),
A', B',
C', D', E', F', H' (HL'), X (IX), or Y (IY).
This command prints the name of the user-register
requested, displays its contents, outputs a dot,' . ',as
a prompt for the substituted value. If no change is
desired, type a space or another dot. Otherwise, enter
the new value. The monitor accepts hex digits until it
gets a delimiter such as space, dot, or carriage-return
retaining the last two digits (four digits for a 2-byte
register). Unless the delimiter is a carriage-return, the
monitor prints the name and contents of the next
register followed by the dot prompt. A carriage return
terminates the command.
UART SELECT
[15] U device-name (CR)
Device-name may be A or B. The Cromemco
TUART has two UARTs. When the monitor is entered
via reset, UART A is selected for its input/output
channel. This command allows the user to change the
UART selection. It is often used in the multiple com-
mand mode (see page 2).
VERIFY
[16] V source-addr source-end destination-addr (CR)
or
V source-addr S swath-width destination-addr (CR)