Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: _stet_ on January 26, 2009, 03:02:10 PM

Title: Serial ADF transfer to/from Linux?
Post by: _stet_ on January 26, 2009, 03:02:10 PM
Anybody had success transferring ADFs with transwarp to/from Linux? (or using something other than transwarp?)

I have no trouble transferring ADFs back & forth with transwarp & Windows (using ADF Sender Terminal), so I know everything's OK on the Amiga side, the cabling is fine, etc.

I believe the Linux side should be as simple as this (replacing ttyX with the appropriate device):
cat filename.adf >/dev/ttyX (to send to the Amiga)
cat /dev/ttyX >filename.adf (to receive from the Amiga)

That appears to work for sending (i.e. it writes 80 tracks to a disk), but the resulting disk is always bad. My best guess is that the serial port is misconfigured somehow (I believe I have the baud rate set correctly along with 8N1 and RTS/CTS, but perhaps something else is awry).

So, if you've had success with this, I'd be interested to see the output from "stty -a" for your serial port to see how you've got it configured.

Thanks.
Title: Re: Serial ADF transfer to/from Linux?
Post by: tone007 on January 26, 2009, 03:55:22 PM
I've used any old Amiga term program that includes a file transfer protocol (xmodem, zmodem.) Never bothered with these "custom" transfer programs.  Of course, you need to have enough RAM/storage to run the term program and store the transferred file(s).

Minicom's still around for linux, isn't it? ;)
Title: Re: Serial ADF transfer to/from Linux?
Post by: brianb on January 27, 2009, 03:50:42 PM

Would it automatically use hardware flow control when just piping the data to /dev?   The file might be bad cause you're experiencing buffer overruns.  I know with Amiga Explorer it not only does flow control but will retry bad transmissions. I'm also stuck to a pretty low speed (19200-38400) on my A1200.  But it does work and is pretty reliable.  

It might be easier and more reliable as the previous poster mentioned to just use a simple terminal program on the Amiga size and sz (send zmodem) and rz on the unix size.