[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .dc <-> .img
In comp.emulators.apple2 matthew p. conte <itsbroke@ix.netcom.com> wrote:
: can anyone suggest a method of converting mac diskcopy images to XGS's .img
: format and back again? i have some .img files i'd like to convert to
: diskcopy, but i can't figure out the schemes... well, it looks like the
: ..img format just has a standard header on it of something around 1k, but
: the diskcopy files are much bigger... i'm running ms-dos, and therefore
: i've tried to compile invid's dc2img program (with modifications), but to
: no avail... any help anywhere?
A DiskCopy image is really just a header + data as well (except there is
optional tag data, but you don't need to worry about that). You just need
to checksum the data and write the header last with the correct checksum
in it. The data is standard ProDOS-order (block 0, block 1, etc).
There is an Apple II File Type Note on the DiskCopy format (yes, I said
Apple II, not Mac :) ) that is very informative. I used it to write the
dc2img program in the first place.
--
email: invid@mich.com Senior Systems Engineer
web: http://www.optera.com/~invid mich.com, Inc. Farmington, MI
PGP fingerprint: 90 05 50 DA 0E 18 CD 47 C5 25 83 1F A5 41 17 73
- References:
- .dc <-> .img
- From: "matthew p. conte" <itsbroke@ix.netcom.com>