ZiLOG ZDS-1 Series User Manual page 6

Table of Contents

Advertisement

ZDS-1/40 Debug Command Package
The ZDS-1/40 Debug Command Package provides powerful disc based software
to
support t h e Z80A-CPU
Emulator module. The command repertoire n o t only includes debug commands for monitoring and analyzing
execution of programs under test, b u t also includes initialization commands t o describe t h e nature of t h e mem-
ory storage being utilized. Once t h e memory configuration has been established, i t may be saved o n disc and
reloaded as required, thereby eliminating t h e need
to
define t h e memory configuration prior t o each emulation
session. The following list describes t h e 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 1024bytes 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 spec-
ified 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 execu-
tion 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 con-
tents 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 com-
mand. 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 argu-
execution 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 (1 6 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).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents