โ† Computer Organization & Architecture learning path
Computer Organization & Architecture ยท Module 8 of 10

Input/output organisation

Polling, interrupts, DMA and buses.

๐Ÿ“– Key ideas

  1. I/O techniques: programmed I/O (polling), interrupt-driven I/O and direct memory access (DMA).
  2. DMA lets a controller move blocks between device and memory without the CPU copying each word.
  3. Buses: system bus, PCI Express for expansion cards, USB for peripherals, SATA/NVMe for storage.
  4. Bus arbitration decides which device uses a shared bus.
  5. Interrupt priority and vectors decide which device is served first.
๐Ÿ’ก Real-life example: DMA is like a courier delivering a whole box to your room, instead of you carrying each item from the gate yourself.
DMADirect memory access without CPU copying
Programmed I/OCPU polls and moves every word
PCI ExpressHigh-speed serial expansion bus
Bus arbitrationDeciding which device controls the bus