Professional Documents
Culture Documents
DMA Transfer in a
Computer
System
DMA Controller
The unit communicates with the CPU via the
data bus and control lines.
There are three registers
The registers in the DMA are selected by the
CPU through the address bus by enabling the
DS (DMA select) and RS (register select) inputs.
The address register and address lines are used
for direct communication with the memory
The data transfer may be done directly b/w the
device and memory under control of DMA
DMA controller
Address Register :
- contains an address to specify the desired
location in memory
- it is incremented after each word that is
transferred to memory
Word count register :
- specifies the no. of words that must be
transferred
- it is decremented for every word transfer
Control register :
- specifies the mode of transfer (read / write)
DMA controller
Once the DMA is initialized, the CPU
stops communicating with the DMA
unless it receives an interrupt signal
or if it wants to check how many
words have been transferred.
Application
For fast transfer of information b/w
magnetic disks and memory
The contents of the memory can be
transferred to the screen display
periodically by means of DMA
transfer