VDMAD_Disable_Translation


include vdmad.inc

mov eax, DMA_Handle
mov ebx, VMHandle
VxDcall VDMAD_Disable_Translation
jc ErrorHandler

Disables the automatic translation done for the standard DMA channels. Uses flags

DMA_Handle

Handle of the DMA.

VMHandle

Handle of the VM.

If a V86 application, a driver, or a protected-mode application uses the DMA services through INT 4B, it must determine actual physical addresses for DMA transfers.

A disable count is maintained, so a matching call to VDMAD_Enable_Translation is required for each call to this service to re-enable translation.