Host Interface - Commodore Amiga A500 Technical Reference Manual

Hide thumbs Also See for Amiga A500:
Table of Contents

Advertisement

HOST INTERFACE

PROTOCOL
Interface Protocol
DMA Commands
The host interface is via a DMA controller. This DMA device is con-
trolled by the Z80A on the disk controller board or 68000 (host).
On the host side there are counters for the address bus that are
preset before the beginning of each transfer. Three bytes must be
written for the 23 address lines (A23-A1). The MSB (corresponding
to A24) of the upper address latch is used to control the host R/W-
line for DMA transfers. This line is set high to read from the host
memory and low if a write is intended. The DMA logic, contained in
one chip, can be configured to transfer a single word (2 bytes) or
256 words (512 bytes). Transfer are always on even byte
boundaries.
The method of communicating to the DMA circuit is by two control
lines PCSS- and PCSD-. controlled by the Z80 or 68000. PCSS- is
always strobed first to strobe in the "state" on the data bus. The
state will determine the function to be performed on the succeeding
PCSD- strobes. Not all valid states need to be followed by a PSCD-
strobe and for each state loaded, PCSD- can be strobed any number
of times. When reading the host status for instance, the expected
number of PCSD- strobes need not be given, but when writing to
the DMA controller the correct number of PCSD- strobes must
always be given.
The valid commands, for DMA operations, are summarized in the ta-
ble below. All data values are listed in hex.
Multiple states can be strobed into he DMA controller as long as no
bus contention occurs. Notice that the state bits 4-0 are low in one
position only for all the valid states. This implies that any state that
does not require transfer of data by the following PCSD- can be
combined and set simultaneously. Hence a single word transfer and
start DMA cycle can be combined as DE. Some states are mutually
exclusive such as F7 (transfer data to or from the FIFO) and EF
(reading the DMA status). Similarly state D6 is illegal since word
transfer and the FIFO path open will result in BUS contention. State
FC is permitted as long as the same data is to be written in the DMA
mid address latch and DMA low address counter. Other such valid
states can be similarly derived.
168

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amiga a2000

Table of Contents