Question

i'm working on a chat using assembly, i'm using Advanced Virtual COM Port to create a COM2 and a COM3 on my pc and connect them together. I was testing a sending and a receiving program and they work fine, but only once.

By one i mean that at first, before i send the first string of chars, Advanced Virtual COM Port tells me that both COMs have this lines on: DTR, RTS, DSR, CTS and DCD. but after i send the first string and it is displayed in the receiving program, the receiving programs COM turns the RTS off and the one that sent the string turns the CTS off.

After that i can keep writing but nothing is sent or received, so, what can i do make the COMs work again? to let them know that the trasmission went right and that they can go back to their previous state, i'm using INT14h.

Was it helpful?

Solution

im just reposting alexey frunze comment on my question, as that was the answer but he didnt post it as one.

You should either disable (ignore) this CTS/RTS signalling or set CTS (or is it RTS?) when you're ready to receive more data. That's it

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top