Cheat sheets

CO-15Cheat sheet1 pageIn a paid pack

Programmed and Interrupt I/O

The I/O interface and its data, status and control registers, memory-mapped versus isolated I/O, programmed I/O with polling, the interrupt sequence with a solved past GATE question, finding the source by polling, daisy chain, priority encoder or vector, masking, priority and nesting, interrupts versus exceptions, and the CPU time spent on polling, interrupts and DMA worked with one set of numbers.

CO-16Cheat sheet1 pageIn a paid pack

Direct Memory Access (DMA)

Direct memory access: the DMA controller and its registers, the bus request and grant handshake, the steps of a transfer, burst, cycle-stealing and transparent modes compared, the CPU-blocked fraction and the cycle-stealing rate formulas, a solved past GATE question on transfer rate, block-time and CPU-loss examples, when the bus can be granted, DMA against interrupt overhead and the cache-coherence caveat.

Diagrams from CO-16