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 mem-
ory storage being utilized. Once the memory configuration has been established, itmay be saved on disc and
reloaded asrequired, thereby eliminating the need
to
define the memory configuration prior to each emulation
session. The following list describes the available commands:
MAP Creates amap that describes the physical na- NEXT Providesameans 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 selectedport 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 Transfersprogram 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 similarto the BREAK command except
The option fieldsof the commandmay estab- that program execution is not suspended. In-
3
lish a break to occur on any combination of stead a Syncpulse 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 amemory
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 tobe stored in all
SAVE Enables the contents of memory to be copied
onto disc along with the entry address. These
filesmay then be retrievedusing GET com-
mand. The contents are assigned a file name
to permit each of location on the disc.
locationsspecified by the command. SET Enables the sequential storage of data bytes
GET Loads a memory image file from disc and loads intomemory at the address specified by the
its entry addressinto the program counter. user.
Begins execution of the user's program.
An
ad- STATUS Displaysthe emulation status, e.g. interrupt
dress may be specifiedfrom 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 specifyany
HISTORY Enables the display of the last n events stored one or a combination of the following types
in the Real-TimeStorage 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 Providesfor the display, setting and resetting
MODE of the interrupt mode of the emulator (mode
0,
1,
2
or disable).