R
Rod Robbins
Is there any way for me to toggle the DTR and RTS high/low states in
W2Kpro?
I used to do this easily with a QBASIC routine in DOS and W98, i.e.
OUT &H3FC, 3 ' Toggles RTS and DTR to ON.
OUT &H3FC, 0 ' Toggles RTS and DTR to OFF.
Now that my client has upgraded the PC using this routine to
W2KPro_sp4, it doesn't work anymore since W2K apparently doesn't allow
direct access to the ports.
The comm port is still working in W2K. If I simply open a
Hyperterminal session to the comm port, this toggles RTS and DTR, even
though nothing is typed into the session window. When I close
Hyperterminal, they toggle back to their initial state. Exactly what
I'm looking for...
Can anyone suggest a way that I can do this with a simple BAT or
command file?
Thanks,
-- Rod
W2Kpro?
I used to do this easily with a QBASIC routine in DOS and W98, i.e.
OUT &H3FC, 3 ' Toggles RTS and DTR to ON.
OUT &H3FC, 0 ' Toggles RTS and DTR to OFF.
Now that my client has upgraded the PC using this routine to
W2KPro_sp4, it doesn't work anymore since W2K apparently doesn't allow
direct access to the ports.
The comm port is still working in W2K. If I simply open a
Hyperterminal session to the comm port, this toggles RTS and DTR, even
though nothing is typed into the session window. When I close
Hyperterminal, they toggle back to their initial state. Exactly what
I'm looking for...
Can anyone suggest a way that I can do this with a simple BAT or
command file?
Thanks,
-- Rod