mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Massive refactor to work in logical cylinders everywhere. The logical/physical
mapping is now done at the last stage and should, ideally, be automatic. I'm sure there are bugs everywhere.
This commit is contained in:
@@ -203,10 +203,10 @@ public:
|
||||
_sector->status = (wantCrc == gotCrc) ? Sector::OK : Sector::BAD_CHECKSUM;
|
||||
}
|
||||
|
||||
std::set<unsigned> requiredSectors(unsigned cylinder, unsigned head) const override
|
||||
std::set<unsigned> requiredSectors(const Location& location) const override
|
||||
{
|
||||
IbmDecoderProto::TrackdataProto trackdata;
|
||||
getTrackFormat(trackdata, cylinder, head);
|
||||
getTrackFormat(trackdata, location.logicalCylinder, location.head);
|
||||
|
||||
std::set<unsigned> s;
|
||||
if (trackdata.has_sectors())
|
||||
|
||||
Reference in New Issue
Block a user