Re: Reading old 3.5 CP/M diskettes using an actual USB floppy drive?




"Aly" <,shfskfjsf@xxxxxxxxxxxxxxxxxx> wrote in message
news:AImdnSkIOpAMaqTbnZ2dnUVZ8tqinZ2d@xxxxxxxxx
"Juergen Marquardt" <marquardt@xxxxxx> wrote in message
news:f1co3t$nf5$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
< SNIP >
out, and piecing it together sector by sector.

Mine went something like 1,12,2,13,3,14,4,15,5,16 etc.

comp.os.cpm may be worth a look in. They have experience of this.

And what makes it EVEN MORE FUN!! is that different builds of CP/M lay
down
the sectors in completely different ways. :-)

Back in the olden days this was called sector interleaving, and as best I
remember, used only on soft sectored disc drives. It was a technique to
synchronize "high speed" hardware (instructions often took many microseconds
to execute) with those slowly revolving mechanical discs. Most machines
were optimized to have the interleave factor set to make the hardware
read/write the disk in as few rotations per track as possible. Some could
only do one sector per revolution, others 2 or more. The disk controllers
of the period usually required programming on a sector by sector basis. Ah,
the good old days.

Regardless of the interleave factor, the disks were compatible from machine
to machine (presuming both machines had the same density, number of sides,
etc.) because the sector number was contained in the sector header.
Performance might vary widely because of differing interleave factors, but
the data would be read/written in the correct sectors.

Thanks for the memories
Scott


.



Relevant Pages

  • Re: How many floppies can I use with a Apple IIe
    ... Other than needing a different controller, ... SmartPort protocol to transfer it to the Apple II via the disk connector ... interleave while the Apple 3.5 has a 2:1 sector interleave. ...
    (comp.sys.apple2)
  • Re: Higher than expected disk write(2) latency
    ... If you could get them queued at the disk level, things that would need to be watched were if the disk can queue things up, and how many things the disk can queue up, and how large each of those things can be, if they aren't queued at the disk, there is the chance that the machine cannot get the data to the disk faster enough for that next sector. ... Back in a long time ago, before disks had cache RLL and MFM drives used a trick called interleave, instead of writing to sector n, n+1,n+2 with a interleave of 2 would write to n,n+2,n+4 as once they got the message that n was written the machine had enough time to setup and send the next write to sector n+2 before the head got there, the question with your hardware would be how many sectors need to be skipped to be able to write immediately, and this assumes that can you live with the lower sequential read performance-interleave ... It would take a fairly intricate program to sort out what reality was, but it would seem to be possible to figure out exactly what reality is, and work with it. ...
    (Linux-Kernel)
  • Re: What does /usr mean anyway?
    ... >>you better at least have backups, then plan on a replacement drive. ... >Urk. ... I've just found this in a couple of the machines I'm responsible ... Damn, I thought dd would report which sector gave the error, but it ...
    (comp.os.linux.misc)
  • Re: [PATCH 2/9] sector_t format string
    ... On Thu, 10 Aug 2006, Jeff Garzik wrote: ... 64bit sector numbers work just fine on 32-bit machines. ... which make it more and more a joke. ...
    (Linux-Kernel)
  • Re: Transfer floppy files to CDROM?
    ... sector size and interleave factor from the data on the disk. ... ZSDOS uses virtual tables for disk formats, ...
    (comp.os.cpm)