--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/PH0PR07MB90625CCE1474795F7B7D28A3FC559%40PH0PR07MB9062.namprd07.prod.outlook.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/090d6efb-d7cb-4b46-b0ef-05324e3e3718n%40googlegroups.com.
Okay, what's the secret of getting ZMRC to work?I run up zmrx under cp/m, and I have tried send via zmodem from teraterm and zoc under Windows, and Minicom send file with zmodem under Linux and zmrx just sits there dormant.Tested on zzrcc system with romwbw, cpm3 at 115200 8N1Can you please give a working example? None of the doc seems to mention the PC side, and that is obviously critical.
On Wednesday, February 9, 2022 at 1:43:08 PM UTC-8 rwd...@gmail.com wrote:Okay, what's the secret of getting ZMRC to work?
I am going to try my zzrcc in a little while and will post back my results shortly.
ZZRCC does have hardware handshake, but you may recall that the overhead of mode 3 interrupt is such that XM file transfer at 115200 was laborious. I found it necessary to lower the serial baud to 57600 with "i 0 18" command which then transfer file faster than 115200. I tried again on my ZZRCC just now and verify XM file transfer with handshake is faster at 57600 than 115200. I can't get ZMRX to work on ZZRCC even at 9600 with or without handshake. It would transfer about 4K bytes and then hang.
Just released Zmodem for CP/M 2.2 and CP/M 3 based on zmtx-zmrx source code
Receive and transmit programs with wildcard expansion
Includes full C source code at github repo below
https://github.com/codesmythe/zmtx-zmrx
I've found that the timeouts are set really long, compared to the XMODEM alternative (which I normally use).Which means that the ZMRX transfer takes a long time to start up, or perhaps there's a back-off happening.And throughput is substantially lower than XMODEM too.
One thing I wonder about is a debug output generated by ZMRX.Not sure where it is coming from, or what it means.A>zmrx
**B0100000027fed4
A>
Someone wrote:Just released Zmodem for CP/M 2.2 and CP/M 3 based on zmtx-zmrx source code
Receive and transmit programs with wildcard expansion
Includes full C source code at github repo below
https://github.com/codesmythe/zmtx-zmrxThanks Rob.Since I note that you're using z88dk to build these programs I was intrigued to try them out.I've built a version for Z80 and have tested it / them on CP/M-IDE.I've also built a version for 8085 and have tested it / them on the equivalent CP/M-IDE for 8085.
The Z80 build uses a SIO/2 serial at 115200 8n2, and the 8085 build uses the ACIA serial also at 115200 8n2.The PC side is Linux moserial 3.0.12, which supports both xmodem, and zmodem.moserial does not implement the xmodem or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data.
I've found that the timeouts are set really long, compared to the XMODEM alternative (which I normally use).Which means that the ZMRX transfer takes a long time to start up, or perhaps there's a back-off happening.And throughput is substantially lower than XMODEM too.For example the ZMRX speed (calculated on the PC side) seems to be about 2900 bits/s for large transfers.I guess that the throughput is partially because of the complexity of zmodem vs the xmodem protocol, and partially because of the C code vs assembly performance difference.Perhaps some tuning would help here.The ZMTX performance is much better though, and seems to run much like line rate.
One thing I wonder about is a debug output generated by ZMRX.Not sure where it is coming from, or what it means.A>zmrx
**B0100000027fed4
A>
Anyway. Great to see these working straight out of the box.Cheers, Phillip
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/a605e643-1ad9-4837-b03e-d52a8b50e554n%40googlegroups.com.
I tried ZMRX again on my windows10 laptop using TeraTerm. I’m able to transfer at 115200, but I see lots of retries slowing down effective rate to few hundred bytes/second. Retries is strange because ZZRCC is directly plugged into the laptop’s USB port as shown in the picture below. Well, at least I can do file transfer, I may need to find a suitable serial baud to minimize retries.
Someone wrote:Just released Zmodem for CP/M 2.2 and CP/M 3 based on zmtx-zmrx source code
Receive and transmit programs with wildcard expansion
Includes full C source code at github repo below
https://github.com/codesmythe/zmtx-zmrx
Since I note that you're using z88dk to build these programs I was intrigued to try them out.I've built a version for Z80 and have tested it / them on CP/M-IDE.I've also built a version for 8085 and have tested it / them on the equivalent CP/M-IDE for 8085
Thanks. Anyone feel free to contribute to the code or report issues over at https://github.com/codesmythe/zmtx-zmrx.-- Rob