>My protocol is delay insensitive. You can't make a delay insensitive
>protocol and use timeouts at the same time.

You can, just set the timeout to, well, 3 minutes (255 interrupts). That
will always be ok, because even the slowest MSX can transmit a byte in 3
seconds...


>Actually flipping both D0 and D1 (happens only as transmission error) is
>what causes the protocol to hang in the first place.
>
>I can ofcourse make my protocol partially delay insensitive. But there is
>another problem: performance. If I put a timeout counter in the inner loop,
>the speed will suffer a lot. So now I'm thinking about using the interrupt
>to generate timeouts.

That's true, although if you put it on the interrupt it won't take that
mucht time.


~Grauw



****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to