ZDS-1/40
Debug
Command
Package
The ZDS-1/40 Debug Command Package provides powerful disc based software
to
support the Z80A-CPU
Emulator module. The command repertoire not only includes debug commands for monitoring and analyzing
execution of programs under test, but also includes initialization commands to describe the nature of the memory storage being utilized. Once the memory configuration has been established, it may be saved on disc and
reloaded as required, thereby eliminating the need
to
define the memory configuration prior to each emulation
session. The following list describes the available commands:
MAP Creates a map that describes the physical na-
NEXT
Provides a means to single step from
1
to n in-
ture of the user's memory address space. This
structions. All CPU registers are displayed af-
enables the user to define memory in blocks
ter the selected number of instructions has
of
1024
bytes to exist in either the user sys-
been executed.
tem or the Development System. In addition,
the properties of each block may be specified
Is used to exit the Debug environment and
as either non-existent or write protected.
cause the operating system to be loaded and
initialized.
DMAP
(Display Map) -Allows the user to display a
PORT
Enables a single character to be input from
single entry, range of entries or the entire map
any selected port and displayed. The user may
and allows the user to edit the map.
then enter a data byte to output to the specified port.
WRITE
Determines whether a break occurs when a
memory write is attempted to an address which
PROM
Transfers program control to the resident De-
has the property of being write protected.
bug software contained in the Development
System PROM's.
BREAK
Is used to specify when the Real-Time execution of a user's program
will
be terminated.
PULSE
Is similar to the BREAK command except
The option fields of the command may estab-
that program execution is not suspended. In-
3
lish a break to occur on any combination of
stead a Sync pulse is generated. This pulse is
the following events:
available as
a
sync for external test equipment.
-Address Compare
QUIT Is used to enable return from current pro-
-Data Compare or Compare with Mask
gram to the calling program.
-Memory Read or Write
REGISTER
Enables the examination and modification of
-Port Read or Write
any or all CPU registers.
DISPLAY
MEMORY
FILL
Is used to display the contents of a memory
location or group of locations. If single bytes
are displayed the user may change the contents of each byte.
Causes a given data string to be stored in all
SAVE
Enables the contents of memory to be copied
onto disc along with the entry address. These
files may then be retrieved using GET command. The contents are assigned a file name
to permit each of location on the disc.
locations specified by the command.
SET Enables the sequential storage of data bytes
GET
Loads a memory image file from disc and loads
into memory at the address specified by the
its entry address into the program counter.
user.
Begins execution of the user's program.
An
ad-
STATUS Displays the emulation status, e.g. interrupt
dress may be specified from which program
mode, clock source, break and trace arguexecution will begin. If the program had pre-
ments.
viously terminated execution due to a break,
then the GO command
will
restore EMULAT-
OR status and resume execution.
TRACE
Allows the user to specify which types of bus
transactions
will
be stored in the Real-Time
Storage Module. The user may specify any
HISTORY
Enables the display of the last n events stored
one or a combination of the following types
in the Real-Time Storage Module, where n
of operations:
equals from
1
through
256.
Data displayed
-Memory Reads
will
be:
-Memory Writes
-Address Bus
(16 bits)
-Port Reads
-Data Bus
(8
bits)
-Port Writes
-Control Bus
(7
bits)
INTERRUPT Provides for the display, setting and resetting
MODE of the interrupt mode of the emulator (mode
0,
1, 2 or disable).