BeanieBots
Moderator
I'm trying to convert a system which uses serin to use background serial but have hit a problem.
It uses a URF/ERF pair and a 28X2 talking to a VT100 terminal.
The following works fine just as expected.
However, my attempt at doing background, gives strange results.
It should simply echo back just like the first code but I get wrong characters!
Somebody please point me to the error.
eg I type "1" and get "g" back
"2" > "3"
"3" > "f"
"5" > "e"
"6" > "2"
The results are consistent but I can't see a pattern.
It uses a URF/ERF pair and a 28X2 talking to a VT100 terminal.
The following works fine just as expected.
Code:
Do
Serin C.7,N9600,b0
Serout C.6,N9600,b0
Loop
Code:
hsersetup B9600_8,%11
Do
Do:Loop Until hserptr <> ptr
hserout 0,(@ptrinc)
Loop
Somebody please point me to the error.
eg I type "1" and get "g" back
"2" > "3"
"3" > "f"
"5" > "e"
"6" > "2"
The results are consistent but I can't see a pattern.