redumper icon indicating copy to clipboard operation
redumper copied to clipboard

Rework --correct-offset-shift to account for erroneous drive shifts due to intentional errors

Open superg opened this issue 5 months ago • 0 comments

Some Datel discs make drive duplicate couple sectors right after intentional C2 errors area. Drive randomly corrects it later. As a consequence, generated image is invalid and never matches between dump attempts. --correct-offset-shift logic doesn't correct this because the shift is multiple of 588 samples (1 sector) and redumper cannot distinguish this case comparing to data lead-in/MSF shift. Make offset shift detection code aware of sessions and lead-in and treat everything else as offset shift.

superg avatar Aug 03 '25 00:08 superg