] So we must either eliminate the TR's in turbo mode, or start with a propper
] handshake...
As far as I know, it is very easy to use the TR's in turbo mode and let them
talk at the same speed as a normal MSX in Z80 mode at 3.56 MHz. On the TR,
you have this build-in clock which can be used for timing purposes. It is
even easier to use then counting T-states on the Z80. You can use it for
example to play samples at a fixed speed, to talk to slow processors like the
audio and music chips without losing data or to time the stepping delay
required when controlling the floppy drive (I have done this all...) So I do
not see why we can not use that for the timing between the TR and the
counterparty when using a synchronous algorithm.
However, I think that a proper handshake is a much better idea. Just let's
handshake first to determine the communication speed and then send for
example 32 bytes in synchronous mode, followed by a crc16 number for an error
detection.
For the synchronous communication algorithm, we can use for example a
frequency shift algorithm. Like the one used to read and write tapes on the
MSX.
In that case, for the handshake algorithm we can say something like:
Emitting computer: Hi, I'm a TR and want to communicate at 38k6
Receiving computer: Hi, I'm a MSX2 at 7Mhz and want to communicate at 19k8
And then the emitting computer starts sending the data at 19k8.
The handshake itself can be done at a fixed speed which every MSX can handle.
For example at 2400 bps.
Or with the original asynchronous algorithm. But then again, I think that if
we optimize the code of the asynchronous algorithm a little bit, we can also
achieve much higher speeds then reported up to know.
But the best way to go now is just start experimenting. Just to find out what
reliable speed we can reach with either a proper optimized version of the
asynchronous algorithm or with some kind of synchronous algorithm.
Kind regards,
Alex
--
Alex Wulms/XelaSoft - MSX of anders NIX - Linux 4 ever
See my homepage for info on the *** XSA *** format
http://www.inter.nl.net/users/A.P.Wulms
****
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/)
****