On 04/13/2012 03:43 PM, Glen Slick wrote:
Are you writing your own utilities?
When I wanted to pull files off of some CPM-86 formatted floppies from
a Tektronix 4170 system I used Cpmtools 2.9:
http://www.cpm8680.com/cpmtools/index.htm
These tools are reasonably generic as far as the disk format goes.
There is a disk definition file with some known formats. None of
those appeared to exactly match the Tektronix 4170 format so I just
added an appropriate definition and then extracted files from the disk
images I read from the physical disk using ImageDisk.
I actually had to write a simple utility to reorder the sectors as
written to the image file from ImageDisk before using Cpmtools on the
disk image. ImageDisk wrote the sectors from one side then the next
side before moving to the next track. For the Tek 4170 format I had
to reorder them from one side increasing tracks, then the next side
decreasing tracks. There doesn't seem to be an obvious way to get
ImageDisk to reorder the sectors that way when writing an image, and
there didn't seem to be an obvious way to get Cpmtools to work with
the sectors in ImageDisk order for the Tek 4170 format.
That pretty much resembles what I'm doing; I have a bunch of images in
Imagedisk format and needed to write a util on the Linux side to spit them
out in the correct order so that cpmtools could process them.
I've already got code I wrote to read Imagedisk-format files into a
sensible structure in memory, and so it wouldn't be a big step to dump the
data into a cpmtools-friendly format - but once I'd read the cpmtools man
page discussing the filesystem format, it didn't actually seem like it
would be a huge amount more effort to write code to extract the files
myself (with the benefit that I can quickly follow it and modify it if I
ever need to).
cheers
Jules