On 04/06/11 20:57, Philip Pemberton wrote:
So I end up with a 615-track image, which only
contains 308 tracks of
valid track data.
OK, I'm an idiot. This was caused by an off-by-one bug in libdiscferret...
Basically, the STEP command accepts a number between 0 and 127 for the
number of steps to move. 0 is one step, and so on up to 127 for 128 steps.
Turns out libdiscferret was sending a value of '1' when it wanted to
move the head one step in or out...
Then there was a lovely bug which caused the first seek from track 0 to
another track to effectively be doubled-up. So if you did a seek from t0
to t4, then from t4 to t10, you'd actually end up at t14...
Bugfixed version uploaded with my apologies and a large dose of "D'oh, I
can't believe I did something that stupid!"
--
Phil.
classiccmp at philpem.me.uk
http://www.philpem.me.uk/