Hapter – Zilog Z80195 User Manual

Page 21

Advertising
background image

Z80185/195 D

EVELOPMENT

K

IT

U

SER

'

S

M

ANUAL

3-1

UM951800100

Z

ILOG

INTRODUCTION

U

SER

'

S

M

ANUAL

This chapter begins by describing the Debug Monitor program, followed by the simple procedures
necessary to start and stop the program. This chapter concludes with the full descriptions of each
of the available Program Commands and RST 20H Services. This chapter is sectionalized as follows:

■ About the Monitor Program
■ Getting Started
■ Program Commands
■ RST 20H Services

About the Monitor Program

The Z80185/195 Board includes a Debug Monitor program in its EPROM chip (U2). The Z80185
monitor program can be used with a character-oriented dumb terminal; however, terminal emulation
facilities are available on a PC when the TZ.EXE program is used. The TZ program on the PC allows
you to do the following: download a PC program, run a PC program (with or without breakpoints),
display/fill memory locations, compare memory contents, display/modify registers, and read/write
from/to I/O ports, including Z80185/195 SPC Registers.

Two hex files, DISTEST.HEX and TSTRST20.HEX, containing binary/absolute programs for the
Z80195 processor are provided with this development kit. You can use the Zilog Z800 assembler and
object utilities provided with this kit, or third-party Z80 or Z180 software development tools to generate
your own 185/195 programs and hex files.

Monitor Code

The Debug Monitor, which resides in the EPROM shipped on the board, occupies about 6K bytes of
code starting at address 00000. Whenever you power-up the board or press the RESET button, the
Debug Monitor takes control and sets the ROM/RAM boundary to hex 02000, so in effect it takes up
the first 8K bytes of the Z80185 address space. (For more information, refer to Chapter 4: Reference,
"Debug Monitor Memory Map" section.)

C

HAPTER

3

U

SING

THE

M

ONITOR

P

ROGRAM

Advertising