[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transferring disk over serial port through PC's standard i/o?



Andy McFadden wrote:
Michael J. Mahon <mjmahon@aol.com> wrote:
In summary, even though nublib2 recognizes the file type info for .BNY
files, and thus is seemingly capable of preserving this information in the
files it writes, it does not.
I've never used nulib to extract files from a .BNY archive, only from
ShrinkIt archives (with or without wrapper), so I was unaware that it
did not preserve the .BNY file info.

The actual problem is that ProTERM appears to be prepending the 128-byte
BNY header but not padding the file to a 128-byte boundary.  The code in
NuLib2 is failing because it gets a short read, and then neglects to
remove the partially-written file.  So you end up with an almost-complete
file that doesn't have the file attributes set.

This doesn't affect wrapped ShrinkIt BXY archives, because those are handled
by a completely different piece of code.

Sounds like a "to do" item for ProTerm when it becomes available.  ;-)

-michael

******** Note new website URL ********

NadaNet and AppleCrate II for Apple II parallel computing!
Home page:  http://home.comcast.net/~mjmahon/

"The wastebasket is our most important design
tool--and it's seriously underused."