9.6DMA modes
The idea
DMA modes differ in how the DMA shares the bus with the CPU: burst holds it for the whole block, cycle stealing takes it word by word, transparent only when the CPU does not need it.
Think of it like this: A lift: you hold it for the whole trip (burst), take it for one floor at a time (stealing), or only use it when nobody else does (transparent).
Why it exists
Trade-off between transfer speed and CPU slowdown.
How it works
- Burst: fastest transfer, CPU blocked for the whole block.
- Cycle stealing: DMA steals one bus cycle per word, CPU slowed but not stopped.
- Transparent: no CPU slowdown, slowest DMA.
Worked example: 6-word block
Burst blocks the CPU for 6 consecutive cycles; stealing interleaves them.
Now play with it
- →Press Play to see the three timelines build up.
Check yourself
During cycle stealing the CPU is:
Exam notes (the dense version)
Burst: DMA holds the bus for the whole block, CPU stalls. Cycle stealing: DMA takes the bus one cycle at a time between CPU cycles. Transparent: DMA uses the bus only when CPU isn't.
Previous year questions: I/O Interface, Interrupts & DMA (8)
PYQs are grouped by topic, so this is the full set for I/O Interface, Interrupts & DMA; try the ones that match this subtopic. Open all 8 on the topic page.