Re: Order of sectors on a track

Re: Order of sectors on a track

From: Spiro Trikaliotis <ml-cbmhackers_at_trikaliotis.net>
Date: Thu, 21 May 2009 17:15:05 +0200
Message-ID: <20090521151505.GJ9077@trikaliotis.net>
Hello,

* On Thu, May 21, 2009 at 10:47:14AM +0200 Ruud@baltissen.org wrote:
 
> My question: can I trust that all sectors are numbered in this order on a 
> track?

If this is a "normal" formatted disk of the 154x/157x drives: Yes. They
will never generate other orders.

However, for copy protected disks, this might not be true anymore.

> 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?

If someone deliberately changed the order, chances are high this has to
do with copy protection. Do you want to handle this at all?

> 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!

My comment: I do not understand your concern at all! What is your
problem?

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

       Message was sent through the cbm-hackers mailing list
Received on 2009-05-21 17:24:08

Archive generated by hypermail 2.2.0.