VDMAD_Set_IO_Address


include vdmad.inc

mov eax, Channel_Number
mov edx, Port_Number
VxDcall VDMAD_Set_IO_Address

Changes the port associated with the given DMA channel to be used in the programmed I/O mode. This service is for use only on PS/2 computers. The Windows 95 I/O subsystem uses this service to determine if the port associated with a DMA channel is in its default location. In most cases, there should be no need for any other VxD to use this service.

Channel_Number

Number of the channel.

Port_Number

Number of the I/O port.