Re: nibtools, GCR, G64

From: silverdr_at_wfmh.org.pl
Date: Thu, 30 May 2013 19:02:59 +0200
Message-Id: <223311E3-3BB6-4863-BA4B-A941A66A53DD@wfmh.org.pl>
On 2013-05-30, at 18:48, Pete Rittwage wrote:

>> "The most reliable way to read G64 track data is to read it as  bits,  not
>> bytes as there is no way to be sure that all the data is byte-aligned."
>> 
>> yet the above code seems to look always for the first 8bits being
>> byte-aligned. Why so? Or is is just completely unrelated to G64 and works
>> with NIB files well?
> 
> Yes, the 9-bit version was the best balance.  Never any false-hits, and it
> still catches when we miss a bit now and then (V-MAX, for one) as sync is
> only measured by cycle-counting and and BIT/BVC is not perfect here.  :)

I see.. :-)

> The 15x1 returns GCR data ALWAYS sync aligned, as long as a sync exists,
> so it never occurs that it's not aligned that way.

Maybe we think of different things / use cases. I mean I am still /looking/ for the SYNC mark here. Actually in a G64 file. And being compliant with the said documentation caused me to write eight "else if" blocks (which I am afraid may never be needed) rather than one or two lines.

P. S. Thanks for the latest update to nibtools.
-- 
SD!


       Message was sent through the cbm-hackers mailing list
Received on 2013-05-30 18:00:03

Archive generated by hypermail 2.2.0.