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

Re: Unbinscii on PC?



In article <1tujag$orj@altitude.HIP.CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
> JMARKUS@MECHANICAL.watstar.uwaterloo.ca (Jeff Markus) writes:
> 
> >Is it possible to unbinscii a file on a PC using nulib or a similar program?
> 
> Can you compile sciibin on the IBM?

I don't know, but I needed an un-BinSCII program on my PC in a hurry,
so I wrote one.  It is currently called 'sciibin', just to confuse
matters.  If someone can suggest a better name, I'll post it to
comp.binaries.apple2.

Quite an interesting exercise.  I also compiled it under ORCA/C to see
how fast it would work on the IIgs.


A comparison of the extraction times (on a 180k BinSCII archive):


My SCIIBIN program on my PC at work (20 MHz 386SX running DOS 5 with
EMM386 enabled, program compiled with Borland C++ 3.1): 5.4 seconds.

My SCIIBIN program on my (currently unaccelerated) IIgs, compiled with
ORCA/C 1.3 (I don't trust 2.0), prior to any code improvements: 1
minute and 57 seconds.  :-(

After optimizing it, bypassing ORCA/C's standard I/O library, using
table lookup for CRC generation, and using an assembly language routine
to recombine the bytes: 51 seconds.

Derek Taubert's SSCII utility on the same file: 1 minute, 7.8 seconds.

ProDOS-8 BINSCII program on the same file: 1 minute, 18 seconds.

Looks like the IIgs and ORCA/C are rather slow, when compared to a PC.
-- 
David Empson                                                               
dempson@swell.actrix.gen.nz                                                
Snail mail: P.O. Box 27-103, Wellington, New Zealand