I am trying to talk to a very old machine running OS-9.
It uses XON XOFF for letting me know when the buffers are full.
When they send me a 0x13 I should stop, and when they send 0x11
I need to start.
I do not know how to do this with PB35/DOS. I need it to
respond quickly - within a couple of characters.
It seems like this is just the opposite of what the
buffer is for. I need to send one character, check for a XOFF,
and if none send the next character. If there is an XOFF
then do not send the next character, and wait for an XON.
I could probably do this if I could detect if the COM port
Output Buffer was empty. But I don't know how to do that either.
The required speed is 9600 bps, but I would like it to
run faster if I can stop the output quick enough. The program
I am replacing sometimes sends 10 characters or more after the
XOFF and as a result sometimes data is lost.
Is it as simple as setting the buffer size to 1?
Kip
------------------
It uses XON XOFF for letting me know when the buffers are full.
When they send me a 0x13 I should stop, and when they send 0x11
I need to start.
I do not know how to do this with PB35/DOS. I need it to
respond quickly - within a couple of characters.
It seems like this is just the opposite of what the
buffer is for. I need to send one character, check for a XOFF,
and if none send the next character. If there is an XOFF
then do not send the next character, and wait for an XON.
I could probably do this if I could detect if the COM port
Output Buffer was empty. But I don't know how to do that either.
The required speed is 9600 bps, but I would like it to
run faster if I can stop the output quick enough. The program
I am replacing sometimes sends 10 characters or more after the
XOFF and as a result sometimes data is lost.
Is it as simple as setting the buffer size to 1?
Kip
------------------
Comment