Direct Memory Access: Submitted By, Anugraha S Raj
Direct Memory Access: Submitted By, Anugraha S Raj
ACCESS
Submitted by,
ANUGRAHA S RAJ
Direct Memory
Access
What is DMA?
-DMA is a feature of computerized system that allows the
certain hardware subsystems to access main memory
independently of CPU.
In DMA,the CPU is idle and the peripheral device manage the
memory buses directly.
DMA
Transfer
modes
Cycle Stealing: The controller transfers one word at a time & return the bus
control to the CPU. The CPU then temporarily suspends its operation for one
memory cycle to allow the DMA transfer to steal its memory cycle
Working
of DMA
• The CPU controls the DMA registers using the address bus, DS, and RS inputs.
• When BG is 0, the CPU can access the DMA registers.
• When BG is 1, the DMA can directly access memory.
The DMA has three registers: Address, Word Count, and Control.