← 🔌 I/O Interface, Interrupts & DMA
Subtopic 6 of 8

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

  1. Burst: fastest transfer, CPU blocked for the whole block.
  2. Cycle stealing: DMA steals one bus cycle per word, CPU slowed but not stopped.
  3. 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.
Burst: DMA holds the bus for the whole block, CPU is blocked
Cycle stealing: DMA takes one bus cycle per word, CPU keeps running slower
Transparent: DMA only uses cycles the CPU does not need, no CPU slowdown
■ CPU■ DMA■ idle

Check yourself

During cycle stealing the CPU is:

Remember: Burst blocks CPU, stealing slows it, transparent leaves it alone.
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.