Difference between revisions of "Direct Memory Access"
From Computer History Wiki
m (Correct cat) |
m (+cat) |
||
Line 4: | Line 4: | ||
{{semi-stub}} | {{semi-stub}} | ||
+ | |||
+ | [[Category: Computer Basics]] |
Revision as of 01:07, 16 December 2018
Direct Memory Access, usually abbreviated as DMA, refers to a now-very-common technique used to transfer data between devices and main memory. In DMA transfers, data is not moved by the CPU (e.g. by reading it from the device, and the writing it to the memory); rather, the device transfers the data itself.
There are two main approaches for performing this. In the first, the CPU and devices share a bus which can perform read or write cycles to memory; the device must gain control of the bus, and then performs a memory cycle. In the second, the memory has multiple ports, and the device has direct access to the memory via one of the ports.