First post, by mike_canada
I'm trying to monitor serial port output from Qbasic in linux.
This is the value I use for serial1 in the dosbox config file under the serial section:
serial1=nullmodem server:127.0.0.1 port:8002 transparent:1
This is my mini script to start dosbox with the serial port connection linked into linux:
socat -4 PTY,link="/tmp/dbser",raw,echo=0 TCP4-LISTEN:8002 &
After Dosbox starts, I execute this in another linux console on the same computer:
od -tx1 -w1 /tmp/dbser
Now I run qbasic in dosbox and run the following command one at a time, replacing the last number after comma with a different one:
That works. But the problem arises when I send a whole bunch of them out in one go like this:
Because then what dosbox does is report this:
Serial1: Errors: Framing 0, Parity 0, Overrun RX:0 (IF0:0), TX:10, Break 0
except the actual TX number reported is basically all the issued Qbasic commands except for the first and last.
How do I go about fixing this?