wire / wire-format / dma-controller

DMA (Direct Memory Access) controller

A DMA controller transfers data between memory and peripherals without CPU involvement. The CPU programs the DMA controller with: source address, destination address, transfer count, transfer mode (single, block, demand, cascade), and direction (memory-to-memory, memory-to-I/O, I/O-to-memory). The DMA controller then performs the transfer and interrupts the CPU on completion.

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: DMA (Direct Memory Access) controller

wire format

spec: DMA controller (8237)

A DMA controller transfers data between memory and peripherals without CPU involvement. The CPU programs the DMA controller with: source address, destination address, transfer count, transfer mode (single, block, demand, cascade), and direction (memory-to-memory, memory-to-I/O, I/O-to-memory). The DMA controller then performs the transfer and interrupts the CPU on completion.

fieldsizemeaning
Source address2-4 bytesStarting address of the source (memory or I/O port).
Destination address2-4 bytesStarting address of the destination (memory or I/O port).
Transfer count2-4 bytesNumber of bytes/words to transfer (minus 1).
Mode register1 byteTransfer mode (single, block, demand, cascade), direction (read/write/verify), auto-initialize, address increment/decrement.
Status register1 byteTerminal count, request, service, and channel status bits.
Command register1 byteEnable/disable DMA, memory-to-memory, controller priority, timing, etc.
Request register1 byteSoftware DMA request (for memory-to-memory transfers).
Mask register1 byteMask (disable) individual DMA channels.

example:

00 00 00 00 00 00 00 00

DMA controller (placeholder)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/dma-controller or /wire-format/dma-controller.json