CATEGORIES: BiologyChemistryConstructionCultureEcologyEconomyElectronicsFinanceGeographyHistoryInformaticsLawMathematicsMechanicsMedicineOtherPedagogyPhilosophyPhysicsPolicyPsychologySociologySportTourism |
Direct Memory Access (DMA).DMA permits to the I/O module and main memory exchange data directly without CPU involvement. DMA involves an additional module on the system bus (DMA controller). The DMA controller is capable of ?mimicking? (???????) the CPU, indeed, of taking over control of the system from the CPU. The technique works as follows: when CPU wishes to read or write a block of data, it issues a command to the DMA, by sending the following information: ? Whether a read or write is requested. ? The address of the I/O device involved. ? The starting location in memory to read from or write to. ? The number of words to be read or written. The CPU then continues with other work. It has delegated this I/O operation to the DMA module, and that module will take care of it. The DMA transfers the entire block of data, one word at a time, directly to or from the memory, without going through the CPU, When the transfer is complete, the DMA sends an interrupt signal to the CPU. Thus the CPU is involved only at the beginning and the end of the transfer.
Date: 2016-06-13; view: 72
|