Sharp MZ-80B User manual

Personal Computer
IIIZ·OOrnJU
OWNER'S MANUAL
SHARP

The MZ-808 Personal Computer supplied in the U.K.
and
Republic
of
Ireland
have
64k
of
RAM and optional graphic RAM-1 (MZ-80GM)
fitted
as
standard.
Page
7
of
the Owner's Manual shows various peripherals which
can
be
connected
to
the MZ-
808.
The Mark
Card
Reader, Hard Disk, Colour Intelligent Terminal
and
Colour Display
are
planned
for
future development.


SHARP
I
Personal
Computer
MZ-808
Owner's Manual
january
1981
080211-150281
Printed
in
Japan
©SHARP
CORPORATION

~---------------------IMPORTANT----------------------~
For users in the United Kingdom:
The wires in
the
power cable
of
this device are colored in accordance with
the
follow-
ing code:
BLUE Neutral
BROWN: Live
As the.colors
of
the
wires in
the
power cable
of
this device may
not
correspond with
the colored markings identifying
the
terminals in
your
plug, proceed as follows:
• The blue colored wire must be connected
to
the
terminal which
is
marked with
the
letter
N
or
colored black.
•
The
brown colored wire
must
be
connected
to
the
terminal which is marked with
the
letter
L
or
colored red.
ii

Preface
This manual describes
the
Sharp MZ-80B personal computer. Read this manual thoroughly
to
be-
come familiar with
the
operating procedures and precautions before operating
your
MZ-80B. This
manual is one
of
a series
of
publications describing
the
MZ-80B and associated software.
• Owner's Manual .
..
This publication
• BASIC Language Manual
• MONITOR SB-1510 Reference Manual
Chapters 1 and 2 describe
the
features
of
the
MZ-80B and general operating procedures; read these
chapters first. Chapter 3 and 4 describe
the
hardware. This information will be helpful
to
you
if
you
intend
to
expand system.
All software
is
supplied in
the
form
of
files. A cassette tape which contains
the
SB-5
510 BASIC
interpreter and MONITOR SB-1510 (which support
the
standard BASIC programming language)
is
included with
the
MZ-80B.
Refer
to
the
BASIC Language Manual for details
on
the
BASIC language.
For
details
on
MONITOR SB-151 0, refer
to
the
MONITOR SB-151 0 Reference Manual.
Keep
the
warranty card and list
of
service centers as well as this manual and
the
other
two man-
uals.
iii

Precautions
The MZ-80B
is
one
of
the
finest personal computers in
the
world; its design incorporates all
the
technical knowledge accumulated
by
Sharp in its many years
of
experience in
the
electronics field. All
units are thoroughly inspected prior to shipment so
that
each will operate normally when it is un-
packed. However, be sure to check visually
for
any damage caused during transportation.
If
any
damage
is
found
or
any parts are missing, contact
your
dealer immediately.
Observe
the
following guidelines
to
keep
your
set in
optimum
operating condition:
• Do
not
place
the
MZ-80B in locations where
the
temperature
is
extremely high
or
low
or
where it
varies
to
a great extent. Avoid exposing
the
unit
to
direct sunlight, vibration
or
dust.
• Handle
the
power cable carefully
to
prevent it from being damaged. When removing it from
the
AC
outlet,
tum
the
power
off
first,
then
pull
the
plug
(do
not
pull
on
the
cable).
•
If
the
power switch
is
turned
off
then
immediately turned
on
again, initialization may
not
be
per-
formed correctly. Allow a few moments
after
turning
the
power
off
before turning it on.
For
more detailed information, see Appendix 4.
iv

Contents
Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Chapter 1
The
World
of
the
MZ-808 Personal
Computer
................
. 1
1.1
Features
.................................................
. 2
1.1.1 Memory configuration
...
.
............................
. 3
1.1.2 Superb operability
...................................
. 4
1.2 Expansion equipments
.........
.
......................
.
..
.
..
. 6
Chapter 2 Using
the
MZ-808
.......
'
.............................
. 9
2.1
Initial program loading
......................................
.
11
2.1.1 Activating system software contained in a cassette
tape
file
....
.
11
2.1.2 Activating system software stored in a diskette file
........
..
. 12
2.1.3 Flow chart
oflnitial
Program Loader
..........
.
..........
.
13
2.2 Keyboard
..................
.
....
..
.......................
.
15
2.2.1 Main keyboard
.............................
....
.....
. 16
2.2.2 Numeric pad
..............
.
.........................
.
21
2.2.3 Special function keys
...
. .
.......
.....................
. 22
2
..
2.4 Cursor control keys
.........
.
.................
.
......
. 24
2.2.5 Cassette tape deck control keys
.........................
. 25
2.3 Display
......
.....
...
............
.
...............
..
......
. 26
2.3.1 Character display control system
....
...................
. . 26
2.3.2 Graphic display control system .
.......
....
.............
. 29
Chapter 3
Option
Device Installation · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
31
3.1 Installation
of
optional devices in
the
main cabinet
of
MZ-80B
.......
. 32
3.1.1
Im
lling
the
Expansion RAM
.....
. .
............
...
....
.
34
3.1.2 Installing
the
Graphic Memory 1 Card
.................
..
.-. 35
3.1.3 Installing
the
Expansion
I/0
Port
.........
..
.........
.. ..
.
36
v
.!

3.2 Setting option device interface cards in
the
expansion
1/0
port . . . . . . . . 37
3.2.1 Setting
the
Graphic Memory 2 Card . . . . . . . . . . . . . . . . . . . . . . . 37
3.2.2 Other interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Chapter 4 Hardware Configuration
of
the
MZ-808
.....................
. 39
4.1 The MZ-80B system diagram . .
..
. .
...
.
.........
.
........
.
....
.
40
4.2 Memory configurations
..........
..
.....
.
..............
...
..
. 42
4.2.1 Memory map for initial program loading state
...
.
......
.
...
. 42
4.2.2 Memory map for normal state
...............
.
..........
. 43
4.2.3 Memory map for
V-RAM
accessing state
....
.
.....
..
. . . .
..
.
44
4.3 Signal system for the 8255 block, the 8253 block and the IPO block . . . 48
4.3.1 Signal system for
the
8255 block
..
. :
....................
. 49
4.3.2 Signal system for
the
8253 block
................
. .
..
....
.
51
4.3.3 Signal system for
the
Z80A-PIO block
.....
.
....
.
.........
. 52
4.4 The MZ-80B circuit diagrams .
.......
.
.....
.
..........
.
.......
. 56
APPENDIX
...................................................
. 69
A.l Z80A-CPU technical data
......
.
.................
.
..
.
...
.
....
. 70
A.2 Z80A-PIO technical data
........................
.
.......
. . . . . 108
A.3 Specifications
.................
. . .
..................
.
......
. 127
A.4 Caring for the system
.............
. .
..
. .
...
.
...
......
.......
. 129
SUPPLEMENT Complete MZ-808
IPL
Assembly Listing
vi
I '

Chapter 1·
The
World
of the
MZ-808
Personal Computer
What
can computers do? You will see that computers
are
used for
many
different purposes in
many places. Computers carry
out
complicated scientific calculations, various business procedures,
simulations and statistical processing with the aid
of
high /eve/languages such
as
BASIC, PASCAL,
FORTRAN
and COBOL. Computers operate measuring systems and automatic control systems in a
variety
of
plants andnetworks.
In
laboratories engaged in software development, the computer
is
even
used to
study
itself.
What
can
your
MZ
-80B do? There
is
no
definite answer to this question, since the MZ-80B
can
be
usedin such a wide
range
of
applications. You
may
apply
it
to
any
purpose
you
wish.
Chapter 7
of
this manual describes the features
of
the MZ-80B, hardware expansion and the scope
of
the software.
1

2
1.1 Features
The
MZ-80B
is
a compact personal computer with superb operability which features a variety
of
software and freely expandable hardware.
The
CPU (Central Processing Unit) and
the
main memory form
the
nucleus
of
the
computer.
The
MZ-80B uses
the
Z80A microprocessor (equivalent
to
the
LH0080A produced
by
Sharp),
one
of
the
best microprocessors currently available
for
central processing units. The main memory which can be
directly accessed
by
the
CPU
is
constituted entirely
of
random access memory.
It
is
expandable
to
64K bytes. Consequently, no fixed programs
or
data reside in
the
main memory and any
type
of
system software can be loaded
into
it from an external file. This makes it possible
to
make
the
best
possible use
of
the
main memory area.
The
1/0
devices, timer, initial program loader, etc., support
the
CPU and main memory.
The
initial
program loader
is
automatically started when
the
power switch
of
the
MZ-80B is turned on.
It
loads
programs from a cassette tape
or
diskette file,
then
transfers control
to
the
program loaded.
A typewriter keyboard, numeric pad, special function keys, cursor control keys and cassette
tape
deck control keys are included
on
the
control panel. A variety
of
control commands
and
data
can be
entered with these keys.
Both character display and graphic display are possible, allowing various forms
of
data representa-
tion.
FIGURE 1.1 Personal Computer MZ-80B

3
1.1.1 Memory configuration
Random
access
memory
(RAM) is
the
type
of
memory which
is
most naturally suited
to
comput-
ers. When this
type
of
memory is employed,
the
user can select
the
programming language and
the
pro-
gram
to
be
executed
at
will.
The
MZ-80B employs this
method
to
allow
you
to
select
the
programming
language which best suits
your
purpose.
Further,
if
you
want
the
computer
to
execute a machine
language program,
you
can code and execute it.
In
the
MZ-80B,
the
IPL (Initial Program Loader) automatically loads programs which are stored
on
cassette
tape
or
(if
a disk drive
is
connected) diskette
into
the
main memory when
the
power is
turned
on,
then
transfers
control
to
the
program loaded. Initial program loading from cassette
tape
is
com-
pleted in a few minutes; loading from a diskette
is
accomplished in seconds.
The
IPL
is
stored in ROM (Read Only Memory). This ROM address space
is
different from
that
of
the
main
memory,
and it
is
automatically activated when
the
power
is
turned
on. See FIGURE 1.2.
Main Memory
64k bytes
(32k bytes
:Optional)
RAM
Normal state
c
p
u
Boot state
FIGURE 1.2
IPL
ROM

4
1.1.2 Superb operability
The
MZ-80B becomes a BASIC language
computer
after
the
SB-5
510 BASIC interpreter has been
loaded and activated
by
the
IPL.
You
can now perform a wide variety
of
operations with
the
MZ-80B,
such
as
data
input
and
output
,
text
file generation, debugging and file access.
The MZ-80B's superb operability and expandability will help
you
to
perform such operations with
ease.
• Keys on
the
console are divided
into
groups according
to
their functions.
The
main typewriter
keyboard and
the
numeric pad are located at
the
front
of
the
console.
The
special function keys,
cursor control keys and cassette tape deck control keys are located under the CRT display screen
and cassette
tape
deck.
All ordinary operations
other
than
power
on/off
can be performed with these keys.
• Alphabetic characters, numerics and symbols are all
input
from
the
typewriter keyboard. The
[Fivs]
key allows
input
of
reverse characters and
the
r-GRPH Ikey enables
input
of
graphic patterns from
the keyboard.
Small letters are normally
input
from the console
of
the
MZ-80B
by
pressing the[ SHIFT ] key.
A command
is
provided, however, which makes
it
possible
to
reverse
the
shift function so
that
capital letters are
input
when the[ SHIFT )key is pressed. Tabulation settings can also be made
by
the
program.
These functions improve
the
efficiency
of
message coding and table and graph editing.
The
cursor
control keys allow these tasks
to
be
performed even more efficiently.
• A separate numeric pad including 0
"'
0,
(oo] , G ,
EJ
and 8 keys is also provided. This
is convenient when
input
of
large amounts
of
numeric data is required. The numeric keys are
scanned
by
a different scan signal
than
that
which scans
the
numeric keys
on
the typewriter key-
board. This makes various applications possible.
For
example, keys
on
the numeric pad can be
easily operated with
the
right hand
as
real time operation interruption keys.
• Functions
of
the
10 special function keys are all user definable. Therefore,
by
defining a special
function key as a frequently used command,
the
command can be executed
just
by
pressing
the
key once.
The MZ-80B uses the high speed Z80A-CPU which allows instructions to be executed in halfthe time required by
the Z80-CPU.

5
•
The
cassette tape deck
is
controlled
by
software. All cassette tape operations, i.e., storing, loading
and verifying data
and
rewinding, fast-forwarding and stopping
the
tape, are performed
by
the
pro-
gram.
The
APSS (Automatic Program Search System) fast-forwards
the
tape
until
the
specified file
is
found.
Automatic functions allow
the
cassette
tape
deck
to
be
operated much more efficiently than has
been possible in
the
past.
Manual operation keys,[
REW),
~,(sToP)
and
[EJEcT],
are provided
on
the
console.
•
The
MZ-80B has a superior display system with
the
following features; it displays all characters
and
patterns
input
from
the
keyboard in
any
mode; it operates in either
the
40
or
80
characters/
line mode;
the
scrolling area can be restricted
to
a
part
of
the
screen; and black and white can be
reversed.
Further,
2 optional graphic memories which enable graphic display
of
320
x 200 dots
per
frame
can be added to
the
MZ-80B. With this high resolution,
the
range
of
possible applications for the
MZ-80B becomes very wide indeed.

6
1.2 Expansion equipments
A variety
of
peripheral devices
is
available for expanding
the
MZ-80B personal
computer
system.
FIGURE 1.3 shows a typical expanded system configuration. With
the
floppy disk drive, numerous
data and program files can
be
stored and accessed
at
high speed. With
the
printer, hard copies
of
list-
ings and printed graphic patterns can
be
obtained. This improved processing efficiency, resulting in
a wider range
of
applications.
The
MZ-80B dual floppy disk drive uses a double density mini-floppy diskette
(286K
bytes/disket-
te) with a diameter
of
5.25 inches,
both
sides
of
which are used
for
recording.
It
enables use
of
the
DISK BASIC interpreter, which
is
suitable for practical business applications
of
the
double precision
DISK BASIC interpreter, which performs 16 digit BCD operations. Thus,
the
expanded system ex-
hibits an ability which
is
comparable
with
that
of
larger computers
with
the
aid
of
a variety
of
the
floppy disk operating system software.
The
compact MZ-80P5 line
printer
enables
not
only program listing,
but
also graphic
pattern
print
-
ing in
the
image mode.
FIGURE
1.3 Typical expansion system

7
FIGURE 1.4 shows peripheral devices which can be connected to the MZ-80B. Devices which are
enclosed in a thick solid line are connected
to
the expansion
1/0
port via interface cards
or
connected
to the specified connectors in the main cabinet.
,----------------------------------,
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
L
MZ-80B CRT I
I
DISPLAY I
t I
V-RAM I
RAM
Vt--
r-
Graph 8KB I
32KB
~
I I
V-RAM V-RAM UNIVERSAL
+-PTR.PTP
RAM
~
Charact. 2KB Graph 8KB
'-
1/0
etc.
32KB I
;.
I MODEM
-RS-232C I TELETYPEWRIT
BOOT ROM
~
1 etc.
2KB I
ER
IEEE-488 I IEEE-488 standar
-INTERFACE T devices
CPU A "
"'
EXT. I
Z80A
"""
SYSTEM
BUS
PORT -I
;.
:.
0- v
PRINTER
+I
I
-INTERFACE
PRINTER
I
d
FD
+I
FLOPPY I
-INTERFACE DISK
KEY BOARD I
I
" I
MCR
W-11
MARK CARD I
~
r-- INTERFACE
SOUND 1 READER
CASSETTE I
HD I IHARD DISK I
t--
INTERFACE
~
I
TIMER A I
...
COLOR DSPL.
~II
f~.fEOLifiGENTI
L--
INTERFACE TERMINAL
I I
i
II
COLOR I
DIS:?LAY
---------------------------------~
FIGURE 1.4 MZ-80B system extension


Chapter 2
Using the
MZ-808
This chapter describes the constituent units
of
the MZ-808 and their functions.
• Locations
of
constituent units
•
Use
and function
of
the Initial Program Loader
• Functions
of
keys
on the keyboard
• Outline
of
display controlsystems
9

10
• Top
VIew
of
the
MZ-80B
CRT display
Cassette tape
compartment
Name plate
Special function
keys-
-1~~
~~---·
.-
------
~~~~
~~~
!\-
-
Cursor control keys
(L
~~~~~~~~~
~=~~
,;
_;
~::: ~
~
c;=!.§:
~
d-
tt-
Cassette deck
• Rear view
of
the
MZ-80B
Brightness control
Volume control
Power switch
---+--
-1111
Frame ground
Power
receptacle---
FIGURE
2.1
FIGURE
2.2
control keys
~
~"'=+
-+-+--Numeric
pad
IPL reset switch
Reset switch
Frame ground
1/0
module access
window No.
1-6

11
2.1
Initial program loading
All MZ-80B system software is supported
by
cassette tape
or
diskette files.
When
the
power switch
of
the
MZ-80B
is
turned
on,
the
Initial Program Loader (a file reading pro-
gram mandatory for activation
of
system software) starts. The loader reads
the
system software from
cassette tape
or
diskette files and,
upon
completion
of
loading, transfers system control
to
the
loaded
program.
This action takes place automatically
the
instant
the
power switch
of
the
MZ-80B
is
turned
on
.
Accordingly, in order
to
activate system software stored in a cassette tape file,
you
must load the
cassette
tape
recorder with the corresponding cassette before turning
on
the MZ-80B;
to
activate sys-
tem software stored in a diskette file,
the
corresponding diskette must be placed in drive No. I
of
the
floppy disk
unit
connected
to
the
MZ-80B before
the
power
is
turned on.
2.1.1 Activating system software contained in a cassette tape file
Load the cassette
tape
into
the
cassette
tape
recorder and energize
the
MZ-80B. See FIGURE 2.3.
Load the cassette tape into the
MZ
-80B
FIGURE 2.3
The MZ-80B searches and loads the system software automatically.
In
this state the following
messages are shown. See
FIGURE
2.4.
This messa
ge
indicates that the MZ-80B
is
searching for
the system software on the tape.
This message indicates that loading
of
the
BASIC
inter-
preter
is
in progress.
FIGURE 2.4
Other manuals for MZ-80B
4
Table of contents
Other Sharp Desktop manuals

Sharp
Sharp PN-TPC1W User manual

Sharp
Sharp MZ-80B Installation guide

Sharp
Sharp MZ-700 Series User manual

Sharp
Sharp PC-1500A User manual

Sharp
Sharp ZQ-4450M User manual

Sharp
Sharp PC-4741 User manual

Sharp
Sharp PC-7200 User manual

Sharp
Sharp MZ-800 User manual

Sharp
Sharp MZ-800 Use and care manual

Sharp
Sharp PC-6220 User manual

Sharp
Sharp MZ-5600 User manual

Sharp
Sharp MZ-80A User manual

Sharp
Sharp ZQ-3000 User manual

Sharp
Sharp MZ-5500 User manual

Sharp
Sharp MZ-350C User manual

Sharp
Sharp ZQ-4400 User manual

Sharp
Sharp PC-4741 User manual

Sharp
Sharp Mobilon HC-4000 User manual

Sharp
Sharp PN-L602B User manual

Sharp
Sharp MZ-808 User manual