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

Re: disk image emulator on the GS - possible?



In article <1OydnUMe6ZzUY9HXnZ2dnUVZ_gidnZ2d@giganews.com>,
 "Michael J. Mahon" <mjmahon@aol.com> wrote:

> Charlie wrote:
> 
> > Also the 2mg format allows for comments 
> > anywhere in the image.  Although I've never seen an image that used this 
> > feature, it wouldn't surprise me to find one.
> 
> That sounds like a *terrible* idea.
> 
> A disk image is a regular structure that can be indexed into.
> Interpolating "comments" demands sequential reading for a
> negligible value.
> 
> This "feature" should be removed from the .2mg "standard".
> 
> If the comments are part of the header, they would make it a
> variable-length header, which is also a big downside for a
> small upside.
> 
> The only "minimally-distruptive" way to add comments to an
> image would be to suffix them--and even that makes the size
> of an image vary, which most would interpret as an error.

Quite right. It looks like the (optional) comment is found after the 
disk image data itself.

<http://apple2.org.za/gswv/a2zine/Docs/DiskImage_2MG_Info.txt>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>