beautypg.com

Interrupts – Zilog Z08470 User Manual

Page 140

background image

< %27 2GTKRJGTCNU

7UGT /CPWCN

UM008101-0601

Direct Memory Access

7. Enable DMA with the

ENABLE DMA

command.

Interrupts

The interrupt vector (WR4) must be written before interrupts using it can
occur, and interrupts must be enabled with the ENABLE INTERRUPTS
command at initialization or reinitialization. In a Z80 CPU environment,
interrupt service routines after DMA initialization usually include the
following commands at the end of the routine:

1. Interrupt on End-of-Block or Byte Match

2.

ENABLE DMA

command

3.

RETI

instruction

4. Interrupt on Ready (before requesting the bus)

This manual is related to the following products: