Can't reliably "Save Floppy" faster than 19200 baud on Unix
Posted: July 10th, 2018, 6:58 pm
I've got my new Altair Clone hooked up to my Mac with a serial-to-USB adapter, and I'm successfully talking to it via the Unix serial communications app minicom (installed via Homebrew). I've managed to successfully send disks to the Clone, setting minicom to 115200 8N1 and sending them via XMODEM (which required an additional install from Homebrew, lrzsz). However, receiving disks almost always fails with a slew of retry errors:
The only way I've gotten receiving disks to work every time is to reduce the baud rate in both the Configuration Monitor and minicom to 19200 or 9600.
I also have an old Raspberry Pi (running its default Debian Linux) lying around, so I tested the same setup and ran into the same results. I've even tried bypassing minicom and redirecting sx/rx directly to /dev/ttyUSB0: once again, I can send with sx with no problems, but rx consistently fails on any speed higher than 19200 baud.
The only other thing I haven't been able to test is using the recommended Tera Term on Windows, because I have no Windows boxes in the house. Since Tera Term seems to be the terminal program of choice for most Clone users, I surmise that it's more robust in its XMODEM handling than the standard (and seemingly only readily available) XMODEM utility for Unix systems, rx—but in what way? Does anyone have any idea of what might be going on here?
- Code: Select all
rx: ready to receive foo.dsk
Retry 0: Got 04 sector header
Retry 1: Got 04 sector header
Retry 2: Got 04 sector header
Retry 3: Got 04 sector header
Retry 4: Got 04 sector header
Retry 5: Got 04 sector header
Retry 6: Got 04 sector header
Retry 7: Got 04 sector header
Retry 8: Got 04 sector header
Retry 9: Got 04 sector header
Blocks received: -1
rx: foo.dsk removed.
Transfer incomplete
The only way I've gotten receiving disks to work every time is to reduce the baud rate in both the Configuration Monitor and minicom to 19200 or 9600.
I also have an old Raspberry Pi (running its default Debian Linux) lying around, so I tested the same setup and ran into the same results. I've even tried bypassing minicom and redirecting sx/rx directly to /dev/ttyUSB0: once again, I can send with sx with no problems, but rx consistently fails on any speed higher than 19200 baud.
The only other thing I haven't been able to test is using the recommended Tera Term on Windows, because I have no Windows boxes in the house. Since Tera Term seems to be the terminal program of choice for most Clone users, I surmise that it's more robust in its XMODEM handling than the standard (and seemingly only readily available) XMODEM utility for Unix systems, rx—but in what way? Does anyone have any idea of what might be going on here?