The new decoder architecture now works, at least for the FB100. All I need now

is to rewrite every single other decoder.
This commit is contained in:
David Given
2019-04-18 00:47:28 +02:00
parent 6e31a9e4ae
commit 5ce2acdfb4
16 changed files with 358 additions and 123 deletions

View File

@@ -28,7 +28,7 @@ public:
nanoseconds_t guessClock(Track& track) const;
virtual nanoseconds_t guessClockImpl(Track& track) const;
virtual void decodeToSectors(const RawBits& bitmap, Track& track) = 0;
virtual void decodeToSectors(Track& track) = 0;
};
/* DEPRECATED */
@@ -41,6 +41,7 @@ public:
virtual SectorVector decodeToSectors(const RawRecordVector& rawrecords,
unsigned physicalTrack, unsigned physicalSide) = 0;
void decodeToSectors(Track& track);
void decodeToSectors(const RawBits& bitmap, Track& track);
};