[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transferring disk over serial port through PC's standard i/o?
Uso,
Provided you've already installed 'lrzsz' (z/y/x modem stuff) on the Linux
end, just use ProTERM 3.1 (other other Zmodem capable Apple II comm program)
to send and/or receive the files between the two computers.
Lrzsz was written to facilitate file transfer over the /dev/tty(serial port)
that the getty is using.
I've been doing it quite a bit myself. It requires no interaction on the
part of the Linux machine, other than it being turned on. The Apple II runs
the show as an intelligent serial terminal.
Before I could get error-free zmodem transfers, though, I had to set RTS/CTS
handshaking, unset software handshaking, and un-set a flag by using stty -f
/dev/tty(serial port) -iexten.
Instead of using the stty command, you could set all the correct binary
flags (or are they octals?) in the proper gettytab entry, but you'll need to
have more patience than I. Using stty (after getty initially ran) was much
simpler for me.
FWIW, I've been playing with Nulib2 in conjunction with Binary II
(uncompressed) zmodem transfers. While the files transfer fine, and Nulib2
reports the correct Apple II file type info for the transferred files, when
I take the wrapper off I get a reported error and the Apple II file types
disappear, although the file data is perfectly intact and the Binary II
wrapper is removed. I'll keep working on it. I suspect in it only happening
on BNY and not BXY files.
Hugh Hood...
in article alpine.DEB.0.99.0901102312150.13623@andisteele.dosius.ath.cx,
lyricalnanoha at lyricalnanoha@usotsuki.hoshinet.org wrote on 1/10/09 10:14
PM:
> Just to be safe I set up a terminal connection to my Apple //e.
>
> I'm thinking of doing stuff with disk images but that would mean I'd need
> to disengage the "getty" running on the local end.
>
> I could perhaps write a program that could send a disk image over the pipe
> with certain comm parameters, but I really dunno how I'd do it. (Either
> way, to or from.) ADT would require me to shut down getty and I don't want
> to.
>
> -uso.