include vdmad.inc
DMA_Descriptor_Struc STRUC
DDS_size dd ? ; see below
DDS_linear dd ? ; see below
DDS_seg dw ? ; see below
DDS_bufferID dw ? ; see below
DDS_physical dd ? ; see below
DMA_Descriptor_Struc ENDS
Describes the DMA region.
DDS_linear and DDS_seg specify a 48-bit segment:offset pointer for virtual 8086 mode, or a selector:offset pointer for protected mode programs. Note that if the linear address has already been determined then you may set the DDS_seg to 0 and place the linear address in the linear offset field. It is possible to specify 32-bit offsets, even with real mode segment values; this makes it much easier for device drivers to split up DMA transfers, by simply modifying the offset without having to modify the segment/selector.