Text preview for : 070-3964-01_8550_Z80_Specifics_Feb84.pdf part of Tektronix 070-3964-01 8550 Z80 Specifics Feb84 Tektronix 85xx 8550 070-3964-01_8550_Z80_Specifics_Feb84.pdf



Back to : 070-3964-01_8550_Z80_Spec | Home

COMMITTED TO EXCELLENCE




This manual supports the This manual supports a software/firmware
following TEKTRONIX products: module that is compatible with:

8300E04 Option 01 DOS/50 Version 2 (8550)
8300P04 OS/40 Version 1 (8540)
8002F18
8002F33
8001F03




PLEASE CHECK FOR CHANGE INFORMATION
AT THE REAR OF THIS MANUAL



8550
MODULAR MDL SERIES


zao
EMULATOR SPECIFICS
USERS MANUAL



INSTRUCTION MANUAL
Tektronix, Inc.
P.O. Box 500
Beaverton, Oregon 97077 Serial Number _ _ _ _ __

070-3964-01 First Printing SEP 1981
Product Group 61 Revised FEB 1984
LIMITED RIGHTS LEGEND


Soft\/\/are License l'Jo. _ _ _ _ _ _ _ _ _ _ _ _ _ __


Contractor: Tektronix, Inc.
Explanation of Limited Rights Data Identification Method
Used: Entire document subject to limited rights.

Those portions of this technical data indicated as limited rights data shall not,
without the written permission of the above Tektronix, be either (a) used,
released or disclosed in whole or in part outside the Customer, (b) used in whole
or in part by the Customer for manufacture or, in the case of computer software
documentation, for preparing the same or similar computer software, or (c) used
by a party other than the Customer, except for: (i) emergency repair or overhaul
work only, by or for the Customer, where the item or process concerned is not
otherwise reasonably available to enable timely performance of the work,
provided that the release or disclosure hereof outside the Customer shall be
made subject to a prohibition against further use, release or disclosure; or (ii)
release to a foreign government, as the interest of the United States may
require, only for information or evaluation within such government or for
emergency repair or overhaul work by or for such government under the
conditions of (i) above. This legend, together with the indications of the portions
of this data which are subject to such limitations shall be included on any
reproduction hereof which includes any part of the portions subject to such
limitations.




RESTRICTED RIGHTS IN SOFTWARE

The software described in this document is licensed software and subject to
restricted rights. The software may be used with the computer for which or with
which it was acquired. The software may be used with a backup computer if the
computer for which or with which it was acquired is inoperative. The software
may be copied for archive or backup purposes. The software may be modified or
combined with other software, subject to the provision that those portions of the
derivative software incorporating restricted rights software are subject to the
same restricted rights.



Copyrightc 1981, 1982 Tektronix, Inc. All rights reserved. Contents of this publication
may not be reproduced in any form without the written permission of Tektronix, Inc.

Products of Tektronix, Inc. and its subsidiaries are covered by U.S. and foreign patents
and/or pending patents.
~
TEKTRONIX, TEK, SCOPE-MOBILE, and ~ are registered trademarks of Tektronix,
Inc. TELEQUIPMENT is a registered trademark of Tektronix U.K. Limited.

Printed in U.S.A. Specification and price change privileges are reserved.


Printed in U.S.A. Specification and price change privileges are reserved.
lao Emulator Specifics Users




Section 7C
CONTENTS
zao EMULATOR SPECIFICS
Page
Introduction .................................................................. . 7C-1

General Information ............................................................ . 7C-1
Emulator Hardware Configuration .................................................. . 7C-1
Microprocessors Supported ...................................................... . 7C-1
Emulation Modes ............................................................... . 7C-1
Z80A Clock Rate ............................................................... . 7C-2
Z80B Clock Rate ............................................................... . 7C-2
Symbolic Debug ............................................................... . 7C-2

Emulator-Specific Commands, Parameters, and Displays ............................ . 7C-2
SEL-Selecting an Emulator ..................................................... . 7C-2
Byte/Word Parameter ........................................................... . 7C-2
MAP-Mapping Memory ........................................................ . 7C-2
Setting Breakpoints ............................................................. . 7C-3
Memory Allocation Commands .................................................... . 7C-3
Port Commands ............................................................... . 7C-3
CONS Command Modes ........................................................ . 7C-3
Register Designators ............................................................ . 7C-3
BUS and EVE-Bus Operation Designators ......................................... . 7C-5
OS-Sample Z80 Emulator Status Display .......................................... . 7C-6
RESET-Resetting Z80 Emulator Status ............................................ . 7C-6
DI-Sample Z80 Disassembled Code .............................................. . 7C-7
TRA-Sample Z80 TRAce Display ................................................. . 7C-7

Service Calls ................................................................. . 7C-9
SVCs in Modes 1 and 2 ......................................................... . 7C-9
SRB Format .................................................................. . 7C-9
SVC Demonstration ............................................................ . 7C-9

laO Special Considerations ..................................................... . 7C-13

laOA Jumpers ................................................................ . 7C-13
Z80A Emulator Board ........................................................... . 7C-13
Z80A Driver/Receiver Board ...................................................... . 7C-13
laOe Jumpers ................................................................ . 7C-14
Z80B Emulator Board ........................................................... . 7C-14
Z80B Driver/Receiver Board ...................................................... . 7e-15
laOA Emulator Timing .......................................................... . 7C-16

Reducing Delay Through The Prototype Control Probe (laOe Only) .................... . 7C-16

laOe Emulator Timing .......................................................... . 7C-19

laOA Probe/Prototype Interface Diagram . ......................................... . 7C-22

laOe Probe/Prototype Interface Diagram .......................................... . 7C-22




REV AUG 1982 7C-i
zao Emulator Specifics Users



CONTENTS (cont)

Installing Your zao Emulator Software ............................................ . 7C-25
8540 Firmware Installation Procedure .............................................. . 7C-25
8550 Software Installation Procedure ............................................... . 7C-25

zao Demonstation Run ......................................................... . 7C-29
Introduction ................................................................... . 7C-29
Examine the Demonstration Program ............................................... . 7C-32
Assemble and Load the Demonstration Program ...................................... . 7C-33
Case 1: Assemble and Load on the 8550 ........................................... . 7C-33
Case 2: Assemble on the 8560; Download to the 8540 ................................ . 7C-37
Case 3: Download from Your Host to the 8540 ...................................... . 7C-42
Case 4: Patch the Program into Memory ........................................... . 7C-44
Run the Demonstration Program .................................................. . 7C-46
Monitor Program Execution ...................................................... . 7C-49
Summary of Z80 Emulator Demonstration Run ....................................... . 7C-54


ILLUSTRATIONS

Fig. Page
No.
7C-1. Flag register bit configuration in the Z80 emulator .............................. . 7C-5
7C-2. Z80 SVC demonstration program listing .... , .. , ... "',. . .. ,' .. ' .... ,.", ... . 7C-11
7C-3. Connecting the prototype clock input directly to the Prototype Control Probe ........ . 7C-16
7C-4. Z80 microprocessor bus timing ............................................. . 7C-21
7C-5. Siock diagram of Z80A emulator/prototype interface ............................ . 7C-23
7C-6. Siock diagram of Z80S emulator/prototype interface ........................... . 7C-24
7C-7. System configurations .................................................... . 7C-29
7C-8. Demonstration program .................................................. . 7C-30
7C-9. Demonstration program: Extended Tekhex format ............................. . 7C-31
7C-10. Host computer commands for preparing demonstration program .................. . 7C-43




TABLES

Table Page
No.
7C-1. Z80 Registers and Flags .................................................. . 7C-4
7C-2. Z80 Sus Operation Designators ............................................ . 7C-5
7C-3. Z80 Service Calls ....................................................... . 7C-10
7C-4. Z80A Emulator/Z80A Microprocessor Timing Differences ........................ . 7C-17
7C-5. Z80S Emulator/Z80S Microprocessor Timing Differences ........................ . 7C-19
7C-6. Sasic 8560 Editing Commands ............................................. . 7C-39




7C-ii REV AUG 1982
Section 7C
zao EMULATOR SPECIFICS

INTRODUCTION
This section supports the Z80A Emulator Processor and Prototype Control Probe as well as the newer Z808
Emuiator Processor and Probe. While the Z80A Emulator Processor can emulate only Z80 and Z80A
microprocessors, the Z808 Emulator Processor can emulate the Z80, Z80A, and Z808 microprocessors.


In this section, the term "Z80 emulator" is used in presenting information that applies to both the older Z80A
emulator and the newer Z808 emulator. The term "Z80A emulator" is used for information that applies only
to the Z80A Emulator Processor. The term "Z808 emulator" is used for information that applies only to the
newer Z808 Emulator Processor.


This Emulator Specifics section is to be inserted into Section 7 of the 8550 System Users Manual (DOS/50
Version 2) or the 8540 System Users Manual. It explains the features of the 8550 and 8540 systems that are
unique to the Z80A and Z808 Emulators. Throughout the section, "your System Users Manual" refers to the
8550 System Users Manual or 8540 System Users Manual. The Z80 Demonstration Run is designed to be
used with Section 1 (the Learning Guide) of your System Users Manual; the rest of this section contains
reference material.



GENERAL INFORMATION


Emulator Hardware Configuration
Throughout this Emulator Specifics section, the term "Z80 emulator" refers to a Z80 Emulator Processor
boad configured with a Z80 Prototype Control Probe or mobile microprocessor. In emulation Mode 0, the
mobile microprocessor may be inserted directly into the emulator board. In Modes 1 and 2, the mobile
microprocessor must be installed in the prototype control probe and the prototype control probe must be
connected to both the emulator and your prototype. For instruction on installing the emulator board, mobile
microprocessor, and probe, refer to the Z80 Emulator Processor and Prototype Control Probe Installation
Service Manual.



Microprocessors Supported
The Z80A emulator emUlates the Zilog, Z80 and Z80A microprocessors. The Z808 emulator emulates the
Zilog Z80, Z80A, and Z808 microprocessors.



Emulation Modes
The Z80 emulator supports Emulation Modes 0, 1, and 2, as described in the Emulation section of your
System Users Manual. The Z80 emulator supports service calls (SVCs) in all three modes.


REV AUG 1982 7C-1
General Information zao Emulator Specifics Users



zaOA Clock Rate
In Mode 0 emulation, the emulator clock rate is 2 or 4 MHz, depending on the setting of jumper J1. In Mode
1 emulation, the maximum recommended rate for the prototype clock is 4 MHz.



zaOB Clock Rate
In Mode 0 emulation, the emulator clock rate is 4 or 6 MHz, depending on the setting of jumper J3002. In
Mode 1 emulation, the clock rate of 6 MHz may be used only with 8500-series systems. At this 6 MHz rate,
one wait state will be inserted.


NOTE

When used with the Trigger- Trace Analyzer (TTA) or the Real- Time Prototype Analyzer (RTPA), the
ZaOB Emulator Processor provides an output that is one-half of the emulator operating clock rate.
Therefore, the clock count stored in the TTA or RTPA buffers will be one-half of the actual emulator
clock count.



Symbolic Debug
The l80 emulator supports the use of symbolic debug.



EMULATOR-SPECIFIC COMMANDS, PARAMETERS, AND
DISPLAYS


SEL-Selecting an Emulator

The SEL (SELect) command allows you to select the emulator you want to use with your system. The
following command line selects the l80 emulator and assembler:
> SEL zao


Byte/Word Parameter

Several commands offer you the choice of operating on memory on a byte-oriented or word-oriented basis.
In affected commands, this choice is represented by the -B or -W parameter. For the l80 emulator, the
default value is -B (Byte).



MAP-Mapping Memory

The l80 addresses a 64 K memory space, arranged in 512 blocks of 128 bytes each. The MAP command
enables you to assign blocks of memory to either program memory or prototype memory, and to designate
blocks of program memory as read-only. Refer to the Command Dictionary for details on the syntax. param-
eters. and use of the MAP command.



7C-2 REV AUG 1982
zao Emulator Specifics Users Commands and Displays




Setting Breakpoints

The zao emulator allows you to specify up to two breakpoints with the BK command.

Memory Allocation Commands

The Memory Allocation Controller (MAC) option cannot be used with the zao
emulator. The zao
does not
use the MEMSP command, and does not support memory space qualifiers or expressions. The zao
emula-
tor supports the AL (Allocate) command, as described in the Command Dictionary of your System Users
Manual. The DEAL, MEM, and NOMEM commands are not supported.



Port Commands

The zao emulator does not support the RD or WRT commands.

CONS Command Modes

The zao
emulator supports the FET mode of the CONS command of the Trigger Trace Analyzer. The zao
does not support the EMU mode of the CONS command.



Register Designators

Table 7C-1 alphabetically lists the symbols used by DOS/50 and OS/40 to designate the registers and flags
used by the zao.
The table provides the following information for each symbol: