[Coco] DLOAD mystery
Roger Taylor
webmaster at coco3.com
Mon Mar 6 22:57:21 EST 2006
Can someone tell me what the deal is with the DLOAD command? It starts out
trying to send a 138 out using (8-N-1, I hope), but the PC is not receiving
this code correctly. I mainly keep getting a value of 10 which is 138
minus the upper bit. That makes me believe that DLOAD is somehow missing
on sending the first bit of the data. Every now and then the PC does
receive a value of 138.
However, the DLOAD SendChar routine works fine, though. If you call it
from another ML routine, it will send all 8 bits over to the PC every
time. This is strange, since DLOAD loads a value of 138 into the A
register then calls the same routine to send out the character.
There's two things that might be the problem....? First, DLOAD is using 44
for the delay for 1200bps when it should be 41. I've tried matching this
on the PC by setting the bps to values from 1000 to 1200, but I can't seem
to match it. Also, DLOAD might not be using 8-N-1 like I think?
--
Roger Taylor
More information about the Coco
mailing list