Re: nibtools, GCR, G64

From: Pete Rittwage <>
Date: Thu, 30 May 2013 15:15:43 -0400 (EDT)
Message-ID: <>
You just shift until the last byte is 0xff, then you are good until the
next sync.

-Pete Rittwage

On Thu, May 30, 2013 3:12 pm, wrote:
> On 2013-05-30, at 20:55, Pete Rittwage wrote:
>>> So if I find a SYNC not being byte-aligned, I should expect that the
>>> actual data (header or sector itself) won't be aligned either, right?
>>> If
>>> that's the case then.. arrghh... %^#$
>> Definitely- all the data will be aligned to the sync, so you have to
>> shift
>> everything in between the syncs... Also, you can't assume there is no
>> "illegal" GCR which will throw off the framing.
> And how that aligning to SYNC works when SYNC is anything between 10 and
> 40 bits? If I align byte's MSB to the first bit of the SYNC, I still don't
> know how many bits are there behind those ten I found? What if there is -
> say - only 13 consecutive '1' bits rather than 40?
> --
> SD!
>        Message was sent through the cbm-hackers mailing list

       Message was sent through the cbm-hackers mailing list
Received on 2013-05-30 20:01:29

Archive generated by hypermail 2.2.0.