Bölüm 11 · SimülatörI/O: Polling, Interrupts, DMA? ← Bölüm 11 Polling Interrupt DMA Units Latency Low Med High Dev→Mem Mem→Dev Speed 2/s Compare methods IRQs 0 CPU busy 0 Moved 0/0 Step 0/0 CloseI/O: Polling, Interrupts, DMAA block of units moves between a device and memory through the device controller. With polling the CPU busy-waits on the status register and copies every unit itself; with interrupts the device raises one IRQ per unit and the interrupt handler copies it; with DMA the DMA controller moves the whole block and raises one completion IRQ. The diagram shows who is active, the lanes below show CPU activity and data moved over time.How to useChoose the I/O method, the number of units (1–64), the device latency and the direction.Play or step; the side panel shows the CPU mode, the controller registers and where CPU time goes.Compare methods shows interrupts and CPU busy time of all three methods for the same transfer.TermsPollingCPU loops reading the status register until READY, then copies.InterruptDevice raises one IRQ per unit; the ISR copies it.DMADMA controller copies the block; one IRQ at the end.StatusController register: BUSY or READY.DataController register holding one unit.LatencyDevice time per unit (1, 2 or 4).CPU busyTime units the CPU spends on this I/O.Legend busy-poll ISR I/O work user work ● data unit ⚡ IRQKeys←→ stepSpace playHomeEnd first / lastEsc close