Lecture 7 - DMA - Shlomo
Lecture 7 - DMA - Shlomo
36114191
1
Lecture 6 – DMA
Shlomo Greenberg
Descriptors)
“Throttled” Descriptor Management
Command control
Decodes which register (see below) is to be
accessed and what operation is to be performed
Twelve (12) internal registers: Loaded prior to
DMA operations
Examples: IO to/from
45
memory
Peripheral I/O write to
memory
IOR used to signal device to
place data on bus.
MEMW active to allow write to
memory.
Data does not go through the
8237A!
Peripheral I/O read from
memory
IOW used to signal device to
latch data from bus.
MEMR active to allow read
from memory.
Example: Memory-to-
46
memory
MEMR cycle (4 clock
cycles) stores data in a
temporary register inside
8237A
MEMW cycle (4 clock
cycles) writes to memory.
8 clock cycles total.
READY line:
Must be “1” before the
8237A will complete a
memory or I/O cycle
Used by “slow” memory or
devices (WAIT states)
8086 system with 8237A
47
DMA
48 Intel DMA Controller 82380