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

Re: File extraction problem



On Apr 11, 6:02 pm, A2Pro <a...@wilserv.com> wrote:
> Hi y'all!
>
>     Three utility programs were unable to correctly extract a file
> from a DOS 3.3 format disk.  An image of the disk in question can be
> found at:ftp://public.asimov.net/pub/apple_II/unsorted/modula21.sdk
> The file I was trying to extract is "QLISTER.ABS".  Extracting the
> file with "COPY ][ PLUS  8.3" resulted in a file of the correct size
> but all the high order bits were stripped off.  "Apple II System
> Utilities Version 3.1", running on a IIgs, and "CiderPress", running
> on a Windoze machine, both extracted files that were missing the last
> 15 bytes of the source file.
> The "Apple System Utilities" was really perverse in that it stripped
> the high order bits of any bytes in the last 29 bytes of what it did
> extract.
>
>     I finally got a good file by using CiderPress and manually
> appending the missing 15 bytes shown by viewing the end of the source
> file with "COPY ][ PLUS".
>
> Willi

Hi WIlli,

Here's something you will never find on Asimov because I don't upload
to them after they didn't bother to make the initial upload of my
Apple II programs available. If they do not resepct my efforts I do
not respect theirs. Their availability is also spotty.

I don't regard them as a credible archive and certainly not worthy of
my efforts but if you want the following utility and you use Windows
XP it is bundled with my ClipShop Program at

http://www.clipshop.ca/index.htm

Here's the ReadMe. I didn't write it. It was written for the Amiga but
I ported it to Microsoft C and Win32 under Visual Studio 2005:


ReadMe for A2DiskDump

A2DiskDump is a utility for extracting all files from an Apple II
DOS 3.3 disk image file (like the kinds made from ADT the Apple Disk
Transfer utility).  The files are written to the current directory,
using the name from the disk's catalog, with illegal characters
replaced.  By default, a comment is attached to each file with its
catalog listing plus secret info (file length, start address).

Public domain by Alexander G. M. Smith, Ottawa Canada, send questions
to
agmsmith@achilles.net, agmsmith@bix.com, 71330.3173@compuserve.com.
$VER: A2DiskDump 1.0 ($Id: A2DiskDump.c,v 1.9 2000/02/27 16:38:11 AGMS
Exp $)

IBM Version by : Bill Buckels, bbuckels@mts.net, September 6, 2006

DISKIMAGE=[FileName.DSK] is the required path name to the disk image
file
from an Apple II DOS 3.3 disk (256 bytes per sector, 16 sectors per
track, 35 tracks) and is 143360 bytes long.

DUMPFILES is the required switch to create disk files.

PRINTSHOP will create an IBM Old Printshop Library Pair using
A Best Guess of Printshop Images Only.

HIRES will extract Apple II BSaved HIRES Graphics Images.
A Best Guess of HIRES Images Only based on size and filetype.

NAMEPREFIX=[DiskFilePrefix] prefixes the created disk file names.

DROPHEADER is a switch which if present, leaves out the header info
in binary files.  Otherwise, binary files will have a 4 byte header
containing address low/high bytes followed by length low/high.  Text
and other file types aren't affected by this switch.

KEEPTAIL is a switch which when present, includes the garbage past
the end of the file (end of file determined by the header for binary
files and BASIC files, or first NUL in text files).  This is useful
for random access text files used in databases, where the file
contains
NUL characters for fixed length record padding.  Yes, the code does
handle sparse files, filling in the non-existent sectors with zeroes.

CONVERTTEXT when present switches on conversion of text files from
Apple II format into text file format (high bit set to zero and
carriage return characters turned into line feeds).

TEXTFILESONLY makes the dumpfile feature only dump text files,
skipping over all other file types.

NOCOMMENT specify this switch if you don't want to have comments
attached to the files.  The default is to have comments, with the
comment text being much like an Apple II catalog listing.

VERBOSE switches on debug messages and extra status info etc.

End of ReadMe
Bill Buckels 2007