English
Language : 

Z80 Datasheet, PDF (76/330 Pages) Zilog, Inc. – Z80 CPU PERIPHERALS
< %27 2GTKRJGTCNU
7UGT /CPWCN

Variable addresses can either increment or decrement automatically from
the programmed starting address. Fixed addresses are useful for I/O devices
and the DMAs capability to generate fixed addresses eliminates the need
for transfer/search enabling wires to the I/O device (although Chip Enable
hardwiring is still required, as it is with all peripheral circuits).
Two readable address counters keep the current address of each port. These
counters are distinct from the starting address registers for each port, that is,
the counters are buffered by the registers. Therefore, new starting addresses
can be written to the DMA whenever the DMA is not holding the bus, for
example, between byte transfers in Byte mode. New starting addresses for a
new block of data can be loaded into the DMA before the transfer of the
current block is finished. Loading new starting addresses does not disturb
the contents of the associated port address counters.
DMA address generation capabilities can be used in the following ways:
• Start at a base address and count up or down.
• Automatically step back to the beginning at the completion of an
address sequence.
• Load new starting addresses or reload previous ones for the next
sequence.
Byte Matching (Searching)
Searches for byte matches can be performed either as a sole function or
simultaneously with transfers. When a byte match is found, a status bit in
the readable status register is set and the DMA can be programmed to do
one of the following:
• Stop (release the bus) immediately upon byte match.
• Stop and interrupt the CPU immediately upon byte match.
• Interrupt the CPU when the DMA stops at the end of a block.
UM008101-0601
Direct Memory Access