Wave Mate Z80 Super Bullet Manual Feb84
Wave Mate Z80 Super Bullet Manual Feb84
This manual contains user information on the WAVE r~TE Z8D SUPER
BULLET Microcomputer. Its contents are proprietary and may not
be reproduced, in whole or in part, without written authorization
of WAVE MATE, Inc.
2-16-84
I INTRODUCTION
II DESIGN PHILOSOPHY
III HARDWARE DESCRIPTION
A. Physical Considerations
B. Electrical Requirements
C. CPU, DMA, and Interrupt System
1. Central Processing Unit (CPU)
2. Direct Memory Access (DMA) Facility
3. Priority Interrupt Structure
4. I/O Port Assignments
D. Memory System
1. Random Access Memory (RAM)
2. Read Only Memory (ROM)
3. Erasable Programmable Read Only Memory (EPROM)
E. I/O System
1. Hardware Status Register
2. Floppy Disk Controller/Formatter (FDC)
3. Dual Asynchronous Receiver/Transmitter (DART)
4. Serial Input Output (SIO)
5. Counter Timer Circuits (CTC)
6. Parallel Input/Output Controller (PIO)
7. Centronics Printer Port
8. SCSI Bus Interface
IV I/O CONNECTORS
V SYSTEM SET UP
A. Switches and Jumpers
B. Serial Cable Information
C. Connecting Floppy Disk Drives
2-16-84 1
I INTRODUCTION
The Wave Mate SUPER BULLET is a fast, compact and very powerful
single board computer (SBC). The SUPER BULLET provides an 8
megahertz Z80H CPU, 256K bytes ,of random access memory (RAM), up
to 16K bytes of erasable programmable memory (EPROM), 4 RS-232-C
serial ports, a Centronics printer interface, a diskette
interface (supporting four 8", four 5", and two 3" drives) and
SCSI bus interface for Winchester disk controllers. This 8
megahertz Z80H, along with powerful direct memory access
controllers (DMA) for data transfer and a greatly enhanced
C-BIOS, executes CP/M PLUS at a previously unheard of speed.
Video display communication is provided through one of the
RS-232-C ports, to which many different serial terminals may be
attached. Future I/O expansion is provided through a special bus
link. Because the BULLET contains four serial ports and 256K
bytes of memory, an efficient and economical multi-user system
may be realized.
II DESIGN PHILOSOPHY
The Wave Mate SUPER BULLET has been designed to be the heart of
an extremely low cost, high performance microcomputer system. It
is ideally suited for high performance single user CP/M and
multi-user MP/M small business applications. It is also capable
of providing intelligent terminal, distributed processing, and
high speed local networking capabilities. Special BULLET
hardware features and a greatly enhanced C-BIOS have been
implemented in order to overcome limitations of the CP/M
operating system encountered in most existing hardware
configurations.
Since most small microcomputer systems are I/O bound (rather than
compute bound), the BULLET design has addressed this fact by
incorporating into its architecture a flexible DMA facility,
fully interrupt driven I/O, and a high speed floppy disk
controller. The 8MHZ Z-80H CPU was chosen with a full complement
of Zilog compatible peripheral chips. This insures a cost
effective, simple design; yet unlike most other implementations,
the design results in full use of the microprocessor's
capabilities.
The SUPER BULLET has been designed with the OEM/systems
integrator in mind. Its compact size, low power requirement, and
single supply voltage make it easy to incorporate into both
existing and new equipment.
2-16-84 2
III HARDWARE DESCRIPTION
A. Physical Considerations
The SUPER BULLET is packaged on a single printed circuit board
measuring 7.875 inches (20 cm) by 10.7 inches (27.2 cm).
Mounting holes .156 inches (4 rom) in diameter are provided .250
inches (6.4 rom) from the corners. The maximum height of the
board, considering pin lead protrusion through the board on the
underside as well as component height, is .625 inches (15.8 rom).
Additional height must be provided for the header connectors for
the I/O and power. However, all connectors have been placed on
the component side of the board. Component and connector
identifiers have been silk screened on the board.
B. Electrical Requirements
The SUPER BULLET requires only one regulated 5 volt power supply,
which under normal room temperatures need supply only 2 amps.
Actual current consumption depends upon use of the optional EPROM
and whether the SCSI bus is being used. The plus and minus
voltages, required for the RS-232 operation, are generated on the
board itself.
For power an AMP connector, part # 350211-1, has been mounted on
the board. The mating connector, supplied by the user, must be
an AMP part # 1-480424-0 with AMP contacts #60617-4 or
equivalent. OEMs that require a low profile power connector
should contact Wave Mate regarding an optional connector. If a
switching power supply is used, the board and ALL disk drives
MUST be shielded from noise.
C. CPU, DMA, and Interrupt System
1. Central Processing Unit (CPU):
The Zilog Z80H CPU device is clocked up to the maximum eight
megahertz rate with no memory wait states. Peripheral I/O
devices are clocked at a four megahertz rate. Timing differences
between slow peripherals and EPROM are resolved by a proprietary
circuit •
. 2. Direct Memory Access (DMA) Facility:
There are two Zilog DMA controllers on the SUPER BULLET, DMAO and
DMAI. These devices provide for data transfer from/to any memory
location or I/O device at rates of up to one megabyte per second.
External logic is provided which allows transfers from/to any RAM
memory bank at the same data rate. It should be noted that only
the RAM memory is accessible to the DMA devices, EPROM and ROM
memory are not in the DMA map.
External device multiplexing allows several I/O devices to use a
2-16-84 3
DMA channel and controls transfers between the memory banks.
Device selection and memory control is selected through an
external write only register. I/O port addresses for the DMA
controllers and the external control registers are as follows:
DMA I/O device selection and memory control are programmed into
the external control register and are defined in the following
table:
00 BANK 0
01 BANK 1
10 BANK 2
11 BANK 3
When both DMA devices request the bus at the same time, . the bus
request priority is hardwired to give DMAO the highest priority.
2-16-84 4
The bus request priority out line of DMAI is present on the
external bus connector as *BAO and additional DMA devices may be
added. If additional DMA devices are added, they will be of
lower priority and will not have access to the special hardware
on the board which allows efficient memory to memory data moves
and I/O.
3. Priority Interrupt Structure:
All peripheral devices are connected to the standard Zilog
interrupt priority daisy chain. The priority interrupt daisy
chain is provided with look ahead logic which terminates on the
external bus connector. Thus any devices added to the external
bus may use the priority interrupt daisy chain. The priorities
are shown in the table below from the highest priority to the
lowest:
1. DMAO
2. DMAI
3. SIO
4. DART with FDC on the A level.
5. PIO with Centronics and SCSI.
6. Clock Timer Circuit 0
7. External Devices
When using the interrupt daisy chain the ZSO must be programmed
in interrupt mode 2 (1M2). In order to accomodate the slower
peripherals, the external timing logic must synchronize to the
peripheral clock during the execution of the ZSO RETI
instruction. This is required to allow the interrupt daisy chain
to stabilize so that the RETI instruction is decoded by the
peripheral under service. This synchronization MUST be
accomplished by the following three ZSO instructions:
OUT (lFH) ,A ; Enable synchronization.
EI ; Reenable interrupts.
RETI ; Execute return from interrupt.
Failure to execute this code sequence for peripherals which
require the RET! instruction will result in a system failure.
Once synchronization is started, it is only active for the
following two instructions. Interrupts MUST be disabled at the
start of this sequence to ensure that it executes uninterrupted.
2-16-S4 5
4. I/O Port Assignments:
The following chart summarizes the I/O port assignments.
PORT DEVICE
o DART Channel A Data
1 DART Channel A Status/Control
2 DART Channel B Data
3 DART Channel B Status/Control
4 PIO Port A Data
5 PIO Port B Data
6 PIO Port A Control
7 PIO Port B Control
8 CTCO Channel 0
9 CTCO Channel 1
A CTCO Channel 2
B CTCO Channel 3
2-16-84 6
D. Memory System
1. Random Access Memory (RAM):
There is 256K bytes of random access memory on the SUPER BULLET.
The memory is physically organized as four 64K banks. External
support logic allows the DMA devices to directly access any
location within this 256K memory system. Although the DMA device
can move data from/to any address within the 256K bytes of RAM on
the SUPER BULLET, the Z80 can only address 64K bytes at anyone
time. To provide greater versatility, memory mapping of the CPU
address space is provided through an I/O port. There is a common
memory area which is always in the CPU's context. The common
memory may be mapped into either RAM or the EPROM. The CPU's
common memory may be selected to be either the address space from
0000 HEX to 3FFF HEX, or from COOO HEX to FFFF HEX. This is
equivalent to 16K bytes of address space. The remaining 48K of
CPU address space may be mapped from anyone of five logical
banks of 48K which comprise the remainder of the 256K of RAM on
the system. Note that the state of the CPU memory map does not
affect the DMA operations; that is, the memory banks are constant
for the DMA device as it can access the full 256K of RAM memory.
For example, assume two CPU memory maps each contain a program,
and the currently executing program request~d the operating
system to 'read a disk sector. The operating system could
initiate a DMA read sector operation to transfer the data from
the disk to that user space. The operating system could then
switch CPU address banks and start the second program executing
while the DMA operation was being performed without affecting the
transfer of data to the first program.
2-16-84 7
The address mapping function of the Memory Map Register contents
is shown in the following table:
2-16-84 8
2. Read Only Memory (ROM):
Initial program loading (the boot process) may be done from a
flexible diskette by a 32 byte program in ROM. This function is
selected by switch four on SWI. Upon power up or reset, if this
switch is OFF, the ROM is mapped into a starting address of zero
which is the Z80 starting address after power up reset. In
addition, reset enables switch selection of the floppy disk boot
parameters. The boot device and mode are determined by the
settings of the 8 position DIP switch on the SUPER BULLET. The
physical disk unit number is always unit zero regardless of
whether it is a 3, 5 or 8 inch drive. The ROM location is read
only, a write to its address space will be placed into RAM. The
function of the ROM is to read the first sector from track zero
into RAM memory starting at address zero. When this is achieved
with no disk I/O error, the ROM starts executing the code at
location 32 HEX. At any time after a reset, an input or output
to the port address 1A HEX (the DMAO port) will disable the ROM
and it will no longer be accessible until another reset occurs.
E. I/O System:
The I/O system is fully decoded on the SUPER BULLET thus all
unassigned port addresses from 20 HEX to FF HEX may be used by
external hardware. The I/O space from 20 HEX to 2F HEX is set
aside for OEM manufactured devices and the space from 30 HEX to
3F HEX is reserved for Wave Mate developed peripherals. The
space from 40 HEX to FF HEX is undesignated.
2-16 -84 9
1. Hardware Status Register:
A read only hardware status register at port lB HEX is provided
to check the state of the following functions:
BIT STATUS FUNCTION.
o Centronics Busy Bit.
1 DIP switch 2.
2 DIP switch 3.
3 *Floppy disk two sided.
4 Floppy disk head load status.
5 *Floppy disk exchange (8 inch only).
6 FDC interrupt request line.
7 FDC data request line.
2. Floppy Disk Controller/Formatter (FDC):
This device is a Synertek SY1793-002. It is upward compatible
with the western Digital FD1793 controller. The following I/O
port addresses are assigned to this device:
10 HEX Command/Status register.
11 HEX Track register.
12 HEX Sector register.
13 HEX Data register.
Since this is not a Zilog device and not capable of generating or
responding to the Zilog priority daisy chain interrupt, it is
connected to the DART *RIA (Ring Indicator A) input to provide an
interrupt vector. External logic provides for control of four
8-inch floppy disk drives, four 5-inch floppy disk drives, and
two 3-1/2-inch floppy disk drives. The external logic also
provides for software control of the spindle motors (5 inch and 3
inch drives only) , side select, and enabling of write
precompensation. These functions are controlled by write only
registers.
The following table gives the external control port addresses and
bit definitions: .
FDC DISK CONTROL REGISTER, PORT 16 HEX:
BIT 0-3 Bits 0, 1, 2, 3 form a unit select number,
as follows:
0, 1, 2, & 3 are the 5 inch drives, 4, 5, 6 & 7
are the 8 inch drives, and 8 & 9 are the 3 inch.
BIT 4 Select side 2.
BIT 5 Disable 3 & 5 inch spindle motors.
BIT 6 Select 1 or 2 MHZ controller operation.
BIT 7 Select single or double density operation.
FDC CONTROL PORT lB HEX:
2-16-84 10
BIT 0 Set FDC9229 PO mode.
BIT 1 Set FDC9229 PI mode.
BIT 2 Set FDC9229 P2 mode.
BIT 3 Set SYl793 test pin (fast seek).
BIT 4 Select software control of port 16HEX.
BIT 5 Unused.
BIT 6 Unused.
BIT 7 Set door lock.
The FDC device is capable of formatting and reading a wide
variety of soft sectored diskettes. With 8 inch drives, it is
compatible with the IBM 3740 format and FM recording and the IBM
System-34 format and MFM recording. With 5 inch drives, it is
compatible with both single density and double density soft
sector formats. Data separation for all modes is provided by a
digital data separator circuit.
2-16-84 11
SIO provide a full implementation of the RS-232-C interface type
E with the exception that there is no circuit CE (ring
indicator) II!The SIO is the third device on the' interrupt
priority daisy chain, following the DMAI device.
The SIO registers are at the following port addresses:
C HEX Channel A data.
D HEX Channel A status/control.
E HEX. Channel B data.
F HEX Channel B status/control.
5. Counter Timer Circuit (CTC):
Counter Timer Circuit a (CTCO):
This device provides four independently programmable
counter/timer channels. Channel a is used to provide the baud
clock for the DART channel A. Channel 1 is used to provide the
baud clock for the DART channel B. Channels 2 and 3 are u'sed
together to provide a real time clock capability and clock
interrupts. This is achieved by using channel 2 as a timer and
channel 3 as a counter. Channels 0, 1, and 2 have their inputs
connected to a crystal controlled clock which provides a 1.2288
MHZ frequency. The CTCO device is the·sixth device on the
interrupt priority daisy chain.
The CTCO registers are at the following I/O port addresses:
Channel a 8 HEX
Channel 1 9 HEX
Channel 2 A HEX
Channel 3 B HEX
2-16-84 12
6. Parallel Input/Output Controller (PIa):
2-16-84 13
SCSI data bus. A write to port 19 HEX latches the data which
will be read by the external device when it reads the SCSI data
bus. Note that a read or write to this port causes the hardware
to assert *ACK if enabled by *REQ.
Users wishing to program the SCSI should be familiar with the
operation of the SCSI as described in ANSI X3T9.2/82-2.
2-16-84 14
IV I/O CONNECTORS
2-16-84 15
45 *HALT 0 Halt (CPU)
46 *DMEM I Disable on board memory
47 *IEOUT 0 External Interrupt Priority
48 N/C Spare
49 N/C Spare
50 VCC 0 + 5 VOLTS
The female mating connector to Jl is 3M part number 3425-6000 or
equivalent. The output lines are capable of driving a maximum of
4 CMOS loads or 1 TTL load. The maximum cable length to be
attached to Jl cannot exceed 12 inches.
2-16-84 16
2 *RXDB I Recei veDa ta
3 *DTRB 0 Data Terminal Ready
4 *RTSB 0 Request To Send
5 *CTSB I Clear To Send
6 *DCDB I Data Carrier Detect
7 RLSDB 0 Receive Line Signal Detect
8 GND 0 Ground
9 *CRESET I Computer Reset
10 GND 0 Ground
The female mating connector to J4 is 3M part number 3473-6000 or
equivalent. The above signals correspond to the Zilog DART
def ini ti ons. See system set-up for recommended RS-232-C usage.
2-16-84 17
19 *CACK I Acknowledge
21 CBUSY .1 Busy
Even pins 2 through 24 and 27, 30, and 31 are all connected to
ground.
The female mating connector to J5 is 3M part number 3414-6000 or
equivalent. The maximum cable length to be attached to J5 should
not exceed 8 feet.
2-16-84 18
6 *MSEL4 0 Select Drive #4
8 *INDEX I Index Pulse
10 *MSELI 0 Select Drive #1
12 *MSEL2 0 Select Drive #2
14 *MSEL3 0 Select Drive #3
16 *MMTR 0 Motor On
18 *MDIR 0 Direction
20 *MSTEP 0 Step
22 *MWDAT 0 Write Data
24 *MWG AT 0 Wri te Gate
26 *TROO I Track Zero Sensor
28 *WPROT I Write Protect Sensor
30 *RDATA I Read Data
32 *MSIDE 0 Side Select
34 *RDY I Ready ( jumper option)
All odd numbered pins are connected to ground.
The female mating connector to J7 is 3M part number 3414-6000 or
equivalent. The maximum length of cable to be attached to J7
should not exceed 8 feet.
2-16-84 19
4 *RTSB 0 Request To Send
5 *CTSB I Clear To Send
6 *DCDB I Data Carrier Detect
7 RLSDB 0 Receive Line Signal Detect
8 GND 0 Ground
9 N/C
10 N/C
The female mating connector to J9 is 3M part number 3473-6000 or
equivalent. The above signals correspond to the Zilog DART
definitions. See system set-up for recommended RS-232-C usage.
10. JlO - 26 pin 3-1/2 inch micro floppy disk drive connector
A 26 pin male header is used to attach one or two 3 1/2 inch Sony
compatible disk drives to the SUPER BULLET. The pin-out of this
header is shown below.
PIN Signal I/O Description
1 *ZMTR 0 Motor On
2 *ZSELl 0 Select Drive #1
3 N/C
4 *ZSEL2 0 Select Drive #2
6 *ZDIR 0 Direction
8 *ZSTEP 0 Step
10 *ZWDAT 0 Write Data
12 *ZWGAT 0 Wri te Gate
14 *ZHLD 0 Head Load
16 *ZSIDE 0 Side Select
18 *INDEX I Index Pulse
20 *TROO I Track Zero Sensor
22 *WPROT I Write Protect Sensor
24 *RDATA I Read Data
26 *RDY I Ready
Odd numbered pins 5 through 25 are connected to ground.
The female mating connector to JlO is 3M part number 3399-6000 or
equivalent. The maximum length of cable to be attached to JIO
should not exceed 8 feet.
2-16-84 20
V System Setup
2-16-S4 21
Double density 5 inch floppy on on off on
Single density 8 inch floppy on off on off
Double density 8 inch floppy on off on on
2. Jumpers:
Jumper configurations on the SUPER BULLET are set as follows and
should seldom need change:
JUMPER FUNCTION
El This jumper is used to select onboard enabling of
the ready line when 5 inch disk drives are
selected. If the system is connected to 5 inch
disk drives which have a drive ready signal on
interface pin 34 then this jumper may be left open,
otherwise it should be closed. The board is
shipped with this jumper closed.
E2 This jumper is used to enable the *WRITE line to
U131. If a static RAM is installed instead of
EPROM this enables writing to the device when
jumpered from 2 to 3. When jumpered from 1 to 2
pin 27 of U131 is tied low. The board is shipped
with a jumper from 1 to 2.
E3 This jumper is used to select Address/Power
operation to U131' pin 26. U131 is a universal
EPROM site and may be used with 2732,,2764, or
27128 EPROM devices. If a 2732 is used pin 26 must
be powered. When jumpered from 1 to 2 power is
provided. If a 2764 or 27128 is used this must be
jumpered from 2 to 3 to provide proper addressing.'
The board is shipped with a jumper from 1 to 2.
E4 This jumper is used for 5 inch disk drives which
require an external head load signal on pin 4 of
the interface. When jumpered this signal is active
when the 1793 asserts head load. The board is
shipped with this jumper open.
2-16-84 22
circuits will generally be used as a DCE circuit.
RS-232-C DB25S Signal 10·Pin DART
Circui t Name Pin Direction Header Name
BA-Transmitted Data 2 ----) 2 RxD
BB-Received Data 3 <---- 1 TxD
CA-Request To Send 4 ----) 5 CTS
CB-Clear To Send 5 <---- 4 RTS
CC-Data Set Ready 6 <---- 3 DTR
AB-Signal Ground 7 <---) 8 GND
CF-Received Line
Signal Detect 8 (---- 7 RLSD
CD-Data Terminal
Ready 20 ----) 6 DeD
Note: The DB25S pin number above refers to the industry standard
D subminature connector with 25 contacts. The 10 pin header
refers to J3, J4, J8, and J9 on the SUPER BULLET.
2-16-84 23
SHUGART SA800 JUMPER OPTIONS
NAME OPEN/SHORT
T3 ,T4 ,TS ,T6 short
Tl short
T2 short
OSI short for unit 1, otherwise open
OS2 short for unit 2, otherwise open
OS3 short for unit 3, otherwise open
OS4 short for unit 4, otherwise open
RR short
RI short
R,I,S short
HL open
OS short
WP short
NP open
o open
A,B short
X open
C short
Z short
Y open
DC short
2-16-84 24