mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
Merge pull request #669 from TomHarte/WOZDoc
Update explanation of NIB processing.
This commit is contained in:
commit
9292f66c2d
@ -64,11 +64,10 @@ std::shared_ptr<::Storage::Disk::Track> NIB::get_track_at_position(::Storage::Di
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NIB files leave sync bytes implicit and make no guarantees
|
// NIB files leave sync bytes implicit and make no guarantees
|
||||||
// about overall track positioning. So the approach taken here
|
// about overall track positioning. My current best-guess attempt
|
||||||
// is to look for the epilogue sequence (which concludes all Apple
|
// is to seek sector prologues then work backwards, inserting sync
|
||||||
// tracks and headers), then treat all following FFs as a sync
|
// bits into [at most 5] preceding FFs. This is intended to put the
|
||||||
// region, then switch back to ordinary behaviour as soon as a
|
// Disk II into synchronisation just before each sector.
|
||||||
// non-FF appears.
|
|
||||||
std::size_t start_index = 0;
|
std::size_t start_index = 0;
|
||||||
std::set<size_t> sync_starts;
|
std::set<size_t> sync_starts;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user