Bit bang erial port and Xmodem

112 views
Skip to first unread message

Derek Cooper

unread,
Aug 1, 2023, 12:28:05 PM8/1/23
to RC2014-Z80
Hi all,

I have an SC114, by default it uses a bit bang serial port at 9600. It does support Hardware flow control.

It works fine as a terminal, I can upload text to it in the SCM monitor. For example I uploaded, as a hex file, Putsys for CP/M no problem. 

The download.com program seems to work ok, i've only tested small files so far.

However Xmodem is a complete waste of space! It never works. It just sits there and never exits. Sometimes you get lots of re-try packets on the sending PC.

Anything I'm doing wrong? Any suggestions?

Derek

Phil G

unread,
Aug 2, 2023, 9:56:45 AM8/2/23
to RC2014-Z80
Have you tried a few ms character delay on the Terminal Derek?

Derek Cooper

unread,
Aug 2, 2023, 10:31:20 AM8/2/23
to RC2014-Z80
Thank Phil,

I also posted in the retro-comp group (not sure the best place to ask for this one) and Bill Shen point me to a known issue in an old post, thanks to Bill I fixed the issue.
I have patched (botched!) the Console driver for bit bang 9600 to remove the issue of the NULL character being used to denote nothing received. 

Re-compile the PutSys hex file and installed it to my SC114

Success, I am now able to use Xmodem transfers for binary files etc exactly the same as the SIO card. I transferred a 200k file that was a ARC file of sc2 and it works fine.

I have attached the patched file for you to try.

I have also attached a version of PutSys, if you want to try it right away!

Have fun
Derek
ps do you think Steve would want this sent as a patch or something?

ConsoleDevice-BB96.asm
IntelHex.hex

Steve Cousins

unread,
Aug 2, 2023, 5:08:49 PM8/2/23
to RC2014-Z80
Hi Derek,

Thanks for the  patched code. I'll look to adding this in the next release. I should have fixed it myself but you know how time goes.

Steve
Reply all
Reply to author
Forward
0 new messages