
03-3199-01
March 1982
Copyright
of
this
system,
mechanical,
prior
The
written
information
without
Zilog
assumes
other
circuit
1981
publication
or
transmitted,
photocopying,
notice.
than
circuitry
patent
by
Zilog,
may
permission
in
this
no
responsibility
licenses
Inc.
be
reproduced,
in
any
recording,
of
Zilog.
publication
embodied
are
implied.
All
form
for
in
rights
or
is
the
a
Zilog
reserved.
stored
by
or
otherwise,
subject
use
product.
any
of
No
in
a
retrieval
means,
without
to
change
any
circuitry
No
part
electronic,
the
other

NOTICE
TO
OWNER
,~
FEDERAL
COMMUNICATIONS
COMMISSION
RADIO
FREQUENCY
INTERFERENCE
STATEMENT
Warning:
This equipment generates, uses, and can radiate radio frequency energy and if not
installed and used
in
accordance with the instructions manual. may cause interference to
radio communications. As temporarily permitted by regulation it has not been tested for
co.,,-
pliance
with the limits for Class A computing devices pursuant to Subpart J of Part
15
of
FCC
Rules. which are designed to provide reasonable protection against such interference. Operation of this equipment
in
a residential area
is
likely to cause interference in which case the
user at his own expense will be required to take whatever measures may be required to
cor-
rect the interference.

USER
(
v
Zilog
USER
TABLE
OF
CONTENTS
SECTION 1
GENERAL
DESCRIPTION
•••••••.•••••••••••••••
1
1.1
Introduction.
• • • • • • • • • • • • • • • • • • • • • •
••
1
1.2
System
Environment
•••••••••••••••••••
1
1.3
System
Characteristics
•••••••••••••••
3
1.4
Winchester
Disk
Performance
•••••••••
5
1.5
Cartridge
Tape
Drive
Performance
•••••
6
1.6
ADM-31
Data
Display
Terminal
Performance
..........................
6
SECTION 2
PROGRAMMING
ENVIRONMENT
•••••••••••••••••••
9
2.1
Introduction
•••••••••••••••••••••••••
9
2.2
Hardware
Configuration
•••••••••••••••
9
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
Microprocessor
••••••••••••••••
9
Winchester
Disk
Drive
•••••••••
12
Cartridge
Tape
Drive
••••••••••
12
ADM-31
Data
Display
Terminal
••
12
Communication
Ports
•••••••••••
16
SECTION 3
S8000
~~ONI'l'0R
PROGRAf.l
•••••••••••••••••••••
19
3.1
Introduction
•••••••••••••••••••••••••
19
3.2
Monitor
Program
Debug
Environment
••••
19
3.3
Monitor
Program
•••••••••••••••.••••••
20
3.3.1
Monitor
Mode Commands
••.••••••
21
3.3.2
Upload/Download
Mode
Commands
••••••••••••••••••••••
28
3.4
System
Parameters
••••••••••••••••••••
31
SECTION 4
MONITOR
I/O
PROCEDURES
•••••••••••••••••••
35
4.1
4.2
Introduction
.........................
35
I/O
Procedures
. . . . . . . . . . . . . . . . . . . . . . .
35
APPENDIX A GLOSSARY. • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
••
39
Zi10g
v

USER
vi
Zilog
USER
LIST
OF
ILLUSTRATIONS
Figure
1-1
S8000
Basic
System
Configuration
•••••••••••••••
2
1-2
Processor
~lodule
Controls
and
Indicators
••.••••
4
2-1
S8000
Functional
Block
Diagram
•••••••••••.•••.•
10
2-2
Peripheral
Module
Hardware
Components
••••.•••••
11
2-3
ADM-31
Data
Display
Terminal
Keyboard
••.•••••••
14
2-4
ADM-31
Keyboard
Special-Purpose
Keys
•••••••••••
15
2-5
Communication
Ports
•••••.••.••.••••••••••.•••••
17
LIST
OF
TABLES
Table
3-1
Program
Status
Area
•••.•••••••••••••••••••..•••
33
3-2
System
Hardware
I/O
Port
Addresses
•••••••••.•.•
34
Zilog
vi

USE~
3
Zilog
USER
$
Up
to
four
l7-megabyte
cartridge
tape
drives
$
Character
and
line
printers
The number
of
controls
and
indicators
have
been
minimized
to
facilitate
system
use.
Only
the
keylock
ON/OFF
switch,
the
RESET
and
START
switches,
and
the
AC
power
switch
are
neces-
sary
to
power up
and
maintain
the
S8000.
Refer
to
Figure
1-2
for
control
and
indicator
locations.
Controls
for
the
optional
Lear
Siegler
ADM-3l
Data
Display
Terminal
include
a
brightness/contrast
control
knob
and
an
AC
power
ON/OFF
switch.
The
resources
of
the
S8000
are
controlled
by
the
ZEUS
Ker-
nel.
The
Kernel
or
the
operating
system
provide
process
management,
file
management,
input/output
(I/O)
processing,
and
increased
program
functionality
with
compatible
file,
device,
and
interprocess
I/O.
ZEUS
is
a
multi-user,
multitasking
operating
system
consist-
ing
of
a
hierarchical
file
system
for
efficient
file
organi-
zation
and a comprehensive
command
language.
A
communica-
tion
program
allows
the
S8000
to
interface
with
other
ZEUS
or
UNIX-based
systems.
Also,
with
ZEUS,
it
is
possible
to
communicate
with
emulation
devices
and
development
modules.
ZEUS
development
tools
include
extensive
language
capabili-
ties
such
as
C,
Pascal,
PLZ/SYS, PLZ/ASM, a
compiler-writing
system,
and a general
purpose
macroproCessor.
Additional
enhancements
to
the
development
system
include
a
full
CRT-
oriented
text
editor,
text
processing,
spelling
error
detec-
tion,
and
document
formatters
for
the
optional
printers.
1.3
System
Characteristics
Processor:
CPU
Clock
Frequency:
I/O:
Baud
Rate:
Segmented
48-pin
Z8001A
CPU
5.5
MHz
Eight
RS-232C
serial
I/O
ports
and
one
parallel
printer
port
From 110
to
19,200
baud
(set
by
software)
Zilog
3

USER
6
Zilog
USER
Bytes
per
sector:
512
Data
transfer
rate:
SOIK
bytes/second
1.5
Cartridge
Tape
Drive
Performance
Cartridge:
ANSI
X3.55 -1977
300
ft.
or
450
ft.
Tape
length
Speed
Read/Write
(rewind):
30
ips
(90
ips)
Tracks:
4
Recording
density:
6400 BPI
1.6
ADM-3l
Data
Display
Terminal
Performance
DISPLAY
Refresh
Rate:
Character
Set:
KEYBOARD
FUNCTIONS
Keyboard:
Cursor
Control:
Edit
Keys:
Function
Command
Keys:
Special
Purpose
Keys:
TRANSlo1ISS
ION
MODES
Interface:
Data
Rate:
60
Hz
or
50 Hz,
depending
on
line
frequency
128
ASCII
characters
(uppercase,
lowercase,
and
control
characters)
26-letter
alphabet
with
uppercase
and
lowercase,
numeric
0
through
9
Individual
cursor
control
keys
Character
insert,
character
delete,
line
insert,
line
delete,
line
erase,
page
erase,
and
clear
ESCape,
BREAK,
PRINT,
SEND
LINE,
SEND
PAGE,
TAB/BACK
TA.B,
NEvI
LINE
I
and
FUNCTION
RETURN,
CTRL
(control),
and
RUB
RS-232C
current
port
Variable
Zilog
point-to-point
loop;
RS-232C
"-~--
or
20mA
EXTENSION
6

USER
22
Zilog
USER
SIOPORT
TEST
ZBOOT
<port
address>
[WIB]
SIO
port
read/write
Enter
Test
Mode
[DIT]
Read a
5l2-byte
program
from
disk
or
tape
and
execute
NOTE
All
outputs
in
Monitor
Mode
can
be
suspended
with
XOFF
(%13)
control-s
and
resumed
with
XON
"(%11)
control-q.
COklMAND
DESCRIPTIONS
DISPLAY
Syntax
DISPLAY
<address>
<#
of
long
words/words/bytes>
[LIWIB]
Description
This
command
displays
at
the
terminal
the
contents
of
speci-
fied
memory
locations
starting
at
the
given
address,
for
the
given
number
of
bytes.
If
the
LlwlB
parameter
is
specified,
the
contents
of
the
memory
locations
are
displayed
in
hex
notation
and
as
ASCII
characters.
If
the
LlwlB
parameter
is
not
specified,
the
memory
loca-
tions
are
displayed
one
at
a
time,
with
an
opportunity
to
change
the
contents
of
each
location.
For
each
location,
the
address
is
displayed,
followed
by
the
contents
of
LlwlB
and a space.
To
change
the
co~tents
at
a
given
location,
enter
the
new
contents
in
the
form
long
wordlwordlbyte.
If
RETURN
is
pressed,
either
alone
or
after
the
new
contents,
the
next
sequential
location
is
displayed.
Entering
a
"Q"
(for
QUIT),
followed
by a
RETURN
terminates
the
command.
Example
Display
memory
starting
at
%5200
for
ten
words.
<
D.
.5..2.rul
lJ!
(
CR)
> .
<00> 5200
1808
FE2B
2004
D923
7ED9
CD35
2238
OAED
*
...
+
••
#
•••
5"8
••
*
<00> 5208 6F23
ED6F
2BIE 0118
EDD9
2218 14D9 5778
*0#
.0+
•••
H
•••
Wx*
Zilog
22

USER
25
NEXT
Syntax
NEXT
[<n>]
Description
Zilog
USER
The
NEXT
command
causes
the
execution
of
the
next
n
machine
instructions,
starting
at
the
current
PC,
and
displays
all
registers
after
executing
each
instruction.
«n>
is
in
the
range
%l-%FFFF.)
If
<n>
is
not
given,
1
is
assumed.
GO
Syntax
GO
Description
This
command
causes
a
branch
to
the
current
PC,
continuing
program
execution
from
the
location
where
it
was
last
inter-
rupted.
All
registers
and
the
FCW
are
restored
before
branching.
Syntax
JUl1P
<address>
Description
The JUMP command
branches
unconditionally
to
the
given
even
address.
All
registers
and
the
FCW
are
restored
before
branching.
Example
Execute
user
program
starting
at
%5000.
<J:l!l1£.5..Q..Q.Q.
(CR)
FILL
Syntax
FILL
<addressl>
<address2>
<word
data>
Description
The FILL command
stores
the
given
data
word
in
a memory
location,
from
addressl
to
address2.
The command
address
must
be
an
even
hex
number.
Example
Store
data
FFFF
in
memory
from
%5400
to
%5410.
<~
~
~
££ff
(CR)
Zilog
25

USER
33
WORD
0-1
2-3
4-5
6-7
8-9
A-B
C-D
E-F
10-11
12-13
14-15
16-17
18-19
lA-lB
lC-lD
IE-IF
20-21
22-23
24-25
26-27
28-29
2A-2B
2C-2D
2E-2F
30-31
32-33
34-35
36-37
38-39
3A-3B
3C-3D
3E-3F
40-41
42-43
44-45
46-47
48-49
4A-4B
4C-4D
4E-4F
VALUE
unused
unused
unused
unused
unused
unused
%4000
#BREAK
unused
unused
%4000
#NMINT
unused
unused
%4000
unused
unused
unused
unused
unused
unused
unuseo
unused
unused
unused
#PTYINT
#CHASRC
unused
unused
#MCZINT
#CHASRC
unused
unused
unused
unused
unused
unused
unused
unused
unused
Zilog
USER
Table
3-1.
Program
Status
Area
COMl4ENT
RESERVED
Unimplemented
instruction
PRIVILEGED
INSTRUCTION
SYSTEM
CALL
entered
in
Segmented
Mode
Address
of
BREAK
interrupt
procedure
SEGMENT
TRAP
FC~q
for
NONf.lASKABLE
interrupt
procedure
Address
of
NONMASKABLE
interrupt
procedure
NONVECTORED
INTERRUPT
FCW
for
all
VECTORED
INTERRUPTS
VECTOR
0
VECTOR
2
VECTOR
4
VECTOR
6
VECTOR
8
VECTOR
A
VECTOR
C
VECTOR
E
VECTOR
10
VEC'I'OR
12
VECTOR
14
(SIO
Channel
B
input
interrupt
procedure
address)
VECTOR
16
(SIO
Channel
B
special
receive
condition
procedure
address)
VECTOR
18
VECTOR
lA
VECTOR
lC
(SIO
Channel
A
input
interrupt
procedure
address)
VECTOR
IE
(SIO
Channel
A
special
receive
condition
procedure
address)
VECTOR
20
VECTOR
22
VECTOR
24
VECTOR
26
VECTOR
28
VECTOR
2A
VECTOR
2C
VECTOR
2E
VEC'I'OR
30
Zi10g
33

(
Syltems Publications
".der's
Co_e.1I
Your
feedback
about
this documeDt
helps
WI
uc:ertaiD your Deeds
and
ful1il1
them
ill
the
future. PI
....
take
the
time
to
fill
out
this queatioDaire and
retum
it to
WI.
this information will
be
helpful to
WI
and,
in
time,
to future users of
ZUoq
product..
Y~Nmne:
____________________________________________________________
_
CompmyN~:
________________________________________________________
__
A~:
__________________________________________________________
___
Title
of
this document:
Briefly deecribe application:
Doe. this public:ation
JDMt
your
ueda?
0 Yes 0 No U not, why not?
How
are
you
usiDq this public:ation?
o
AJJ
an
introduction
to
the
subject?
o
AJJ
a
reference
manual?
o
AJJ
an
instructor
or
student?
How
do
you
fiDei
the material?
Technicality
Organization
Completeness
Ezcellent
o
o
o
Good
o
o
o
Poor
o
o
o
What
would
have
improved
the
material?
____________________________________
_
Other
comm8Dis
and
suqqeatiou:
U you found
auy
JDi8takes
in
this document,
please
let
uS
know what
and
where
they
are:
______
_

~GGO~
•• O ••••••••••••••••••••••••••••••••••••••••••••••
••••••••••••••••••••••••••••••••••••••••••••••••••••••••
111111
BUSINESS
REPLY
MAIL
FIRST
CLASS
PERMIT
NO.
35
CAMPBELL,
CA.
POSTAGE
WILL
BE
PAID
BY
ADDRESSEE
Zilog
Systems Publications
1315
Dell Avenue
Campbell. Califorma
95008
Attn: Publications Manager
NO
POSTAGE
NECESSARY
IF
MAILED
IN
THE
UNITED
STATES
,o.~noooo
•••••••••••••••••••••••••••••••••••••••••••••
•••••••••••••••••••••••••••••••••••••••••••••••••••••••
o
·
·
·

Zilog, Inc. 10460
Bubb Road,
Cupertino
, California 95014 Tele
phone
(408)446-4666 TWX 910 -338-762 1
P
rinted
in USA