Mike_Z
Veteran Member
I'm interested in finding information about RTS/CTS hand shaking. I'm working on some programming to transmission data from an 8080 machine with a 8251 uart to an IBMXT. I have full control of the RTS/CTS lines on the 8080, but am a little confused with the IBMXT. First, I want to use polling instead of interrupts. I know that this is slow, etc. I've read a lot about that, but I still want to use the polling. I'm not worried about speed or anything else. I want the control.
It's possible that I don't full understand the handshaking either, but this is how I see it. When the 8080 is sending data to the IBM, the 8080 will issue an RTS to the IBM. The IBM receives this information on it's CTS line. If the IBM is ready to receive, it will issue it's RTS, which the 8080 will receive on it's CTS line. RTS and CTS lines are crossed.
I wrote a short program that will cycle the 8080 RTS line and I can see this change at the DB9 pin 8 CTS at the back of the IBM. After opening the com port in the IBM, I figured that the IBM would have responded with changing it's RTS line, but it does not. The IBM is being programmed in Quick Basic 4.5. I have used the rs option in the OPENCOM statement to suppress RTS on channel opening. I have been looking at the fourth bit of the IBM MCR, CTS, but never see a change.
So..... does the IBM automatically respond to an 8080 request to send or do I have to respond programmatically? Can anyone suggest some good document on this. I've been looking quite a bit lately, but have not found what I need.
Thanks
Mike
It's possible that I don't full understand the handshaking either, but this is how I see it. When the 8080 is sending data to the IBM, the 8080 will issue an RTS to the IBM. The IBM receives this information on it's CTS line. If the IBM is ready to receive, it will issue it's RTS, which the 8080 will receive on it's CTS line. RTS and CTS lines are crossed.
I wrote a short program that will cycle the 8080 RTS line and I can see this change at the DB9 pin 8 CTS at the back of the IBM. After opening the com port in the IBM, I figured that the IBM would have responded with changing it's RTS line, but it does not. The IBM is being programmed in Quick Basic 4.5. I have used the rs option in the OPENCOM statement to suppress RTS on channel opening. I have been looking at the fourth bit of the IBM MCR, CTS, but never see a change.
So..... does the IBM automatically respond to an 8080 request to send or do I have to respond programmatically? Can anyone suggest some good document on this. I've been looking quite a bit lately, but have not found what I need.
Thanks
Mike