This document discusses input/output (I/O) organization in computers. It covers several topics:
- I/O devices can connect to the CPU via a single shared bus using memory-mapped I/O. This allows direct reading/writing of device registers via memory addresses.
- Interrupts allow I/O devices to signal the CPU when an event occurs, so it can pause its current task and service the device. Interrupt handling involves disabling interrupts, servicing the device, then re-enabling interrupts.
- Direct memory access (DMA) allows high-speed transfer of large blocks of data directly between I/O devices and memory without CPU involvement, improving performance over interrupt-driven
Related topics: