If you have used interrupts, specifically the serial ports, please post an example of how you gained control of them. I have tried most everything in a VxD, and still cant get windows to let me use the interrupt.

Thanks,
sceptor
Posted on 2002-06-19 07:29:11 by sceptor
this is an excerpt of a vxd i wrote some years ago:



VXD_PM_API:
and byte ptr [ebp.Client_EFlags],0FEh
mov ax,[ebp.Client_AX]
cmp ax,1
jz short op1
cmp ax,2
jz short op2
cmp ax,3
jz short op3
op_er:
or byte ptr [ebp.Client_EFlags],1
ret
op1:
mov eax,COMNO
mov ecx,0
mov edi,offset myname
VXDcall VCD_Acquire_Port
jc short op_er
mov edx,[eax+VCD_IOBase]
mov ecx,8
@@:
VMMCall Disable_Global_Trapping
inc edx
loop @B
ret
op2:
mov eax,COMNO
mov edx,0
VxDCall VCD_Set_Port_Global
ret
op3:
mov eax,COMIRQ
VxDCall VPICD_Force_Default_Owner
ret



This code was supposed to "unvirtualize" a com port. But I have completely forgotten the details
:grin:

japheth
Posted on 2002-06-19 11:39:10 by japheth
Dude, you are the man. Unvirtualize is what I need, I can feel it in my soul LOL.

I thank you from the bottom of my sleepless heart. I have driven myself batty trying to figure out how to gain control of the serail port.

Again many thanks.
sceptor
Posted on 2002-06-19 18:21:51 by sceptor