220 likes | 558 Views
Overview. I/O ParadigmSynchronizationPolling Control and Status RegistersInterrupt Driven I/OImportance of Interrupts. I/O Paradigm. All I/O devices connect to a busProcessor Accesses I/O through fetch/storeAll I/O devices are assigned a bus address. Synchronization. Problems:Devices cannot
E N D
1. Interrupts By
Ryan Morris
2. Overview I/O Paradigm
Synchronization
Polling
Control and Status Registers
Interrupt Driven I/O
Importance of Interrupts
3. I/O Paradigm All I/O devices connect to a bus
Processor Accesses I/O through fetch/store
All I/O devices are assigned a bus address
4. Synchronization Problems:
Devices cannot remember a list of commands, circuits execute commands as they are given
Processors are much faster than I/O devices, therefor the CPU must wait for one instruction to be executed before issuing the following command
5. Polling Most common way for older software to instruct the processor handle I/O devices.
CD/DVD, Keyboard, Mouse, Printer, etc.
In essence the processor repeatedly asks devices if they are ready for the next instruction.
6. How to use polling Polling uses Fetch portion of fetch-store paradigm Because I/O uses a bus for access, pointers can be used to reference the memory area for a specific I/O device.