Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: Help on request 4 info on aux: and related stuff Message-ID: <21250@usc.edu> Date: 17 Nov 89 05:52:04 GMT References: <8911162131.AA06419@decwrl.dec.com> Sender: news@usc.edu Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 35 In article <8911162131.AA06419@decwrl.dec.com> drew@cgofs.dec.com (STEVE DREW 16-Nov-1989 1318) writes: |I also wrote a utility "AZ" that uses the XPRZmodem.library to |allow Zmodem transfers while dailed up through AUX: It works |quite well. I just made the "AZ" utility send AUX: a dos packet |to tell it to sleep while "AZ" shares the serial port. | |The only thing I'm strugling over, is that about 1 out of 5 times |while SZ'ding to the amiga the file transfer aborts at the 16K point, |which is when the Amiga writes to disk. It gets a CRC error on the |17K packet that was received while writing to disk. It never happens to RAM:. |And I've even set the serial buffer size upto 4k. |Anybody got any ideas on this one? You can try to do the things that I do in A-Talk III: 1. Buffer 16K of data and write it all in one chunk out to disk, using the buffered fwrite routine (but you probably do that already). 2. Use an 8K serial input buffer 3. Set up the serial port with RAD_BOOGIE You don't say at what speed you have the problems, but the CRC error is due to the serial input getting an "overrun" error. That results in at least one byte lost, which then produces the CRC error. No. 3 above is definitely required at >= 9,600 bps. I hope this helps. -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma, Diga and Caligari!" -- Rick Unland -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=