At 10:22 AM 4/29/99 +0200, you wrote:

>>If you want, I can mail you my source for a communication protocol. It has
>>one major problem though: it cannot recover from errors. Errors are rare,
>>so for testing the protocol is OK, but there errors are just a bit too
>>frequent (once in 80 megs if my memory is correct) to call this protocol
>>reliable.
>
>By the way, Maarten, can't you indicate to the opposite computer that an
>error occurred by BOTH flipping D0 and D1??? (That can be used as an
>indication to restart the handshake-process...) And if you combine that with
>some timeouts... You should be able to let it recover from errors.

My protocol is delay insensitive. You can't make a delay insensitive
protocol and use timeouts at the same time.
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.

Bye,
                Maarten


****
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