VDMAD_Set_PS2_Phys_State


include vdmad.inc

mov eax, [DMA_Handle]
mov ebx, [VMHandle]
mov edx, [Mode]
VxDCall VDMAD_Set_PS2_Phys_State

Programs the DMA controller state for a channel. Uses flags.

DMA_Handle

Handle of the DMA.

VMHandle

Handle of the virtual machine.

Mode

Requested mode. The extended mode is specified in DH, the mode itself is specified in DL.

This service should be used instead of VDMAD_Set_Phys_State for PS2 systems if a micro channel is detected at initialization time. The VDMAD_Set_Region service must be called prior to calling VDMAD_Set_PS2_Phys_State.