Order of sectors on a track

Order of sectors on a track

From: Ruud_at_baltissen.org
Date: Thu, 21 May 2009 10:47:14 +0200
Message-ID: <4A153132.1225.68B3C5@Ruud.Baltissen.org>
Hallo allemaal,


For my 1541IDE project the idea was first to find out what the order of 
sectors on the tracks were. To my surprise that was 0, 1, 2, 3, 4 etc. My 
first reaction: but what about interleave ??? Then I realised that 
interleave is something that is done by the software, not the hardware.

My question: can I trust that all sectors are numbered in this order on a 
track?

If that is the case I can discard the routine to determine the right order. 
OTOH I realise there could be disks where someone deliberatly changed the 
order: in that case, what is wise?


My routine to find the headers is mainly a copy of the "read header" 
routine found at $F3B1. But I was only able to run the routine by disabling 
IRQ. I have to because if no job is found, the "Byte ready" line is 
disabled and I cannot detect the SYNC marks anymore. 
I'm convinced that I can copy the whole disk W/O depending on interrupts. 
But there is a possibility I overlooked something. So comment is welcome!


--
    ___
   / __|__
  / /  |_/     Groetjes, Ruud Baltissen
  \ \__|_\
   \___|       http://Ruud.C64.org







       Message was sent through the cbm-hackers mailing list
Received on 2009-05-21 10:58:22

Archive generated by hypermail 2.2.0.