Files
fluxengine/lib/victor9k/victor9k.h
David Given 9b59e7025d Add the ability for decoders to specify their own clocks --- necessary for the
Victor 9k. We now have _much_ better decoding for this platform.
2019-04-16 01:13:28 +02:00

25 lines
526 B
C++

#ifndef VICTOR9K_H
#define VICTOR9K_H
#define VICTOR9K_SECTOR_RECORD 0xffeab
#define VICTOR9K_DATA_RECORD 0xffea4
#define VICTOR9K_SECTOR_LENGTH 512
class Sector;
class Fluxmap;
class Victor9kDecoder : public AbstractSoftSectorDecoder
{
public:
virtual ~Victor9kDecoder() {}
SectorVector decodeToSectors(
const RawRecordVector& rawRecords, unsigned physicalTrack);
int recordMatcher(uint64_t fifo) const;
nanoseconds_t guessClockImpl(Fluxmap& fluxmap, unsigned physicalTrack) const;
};
#endif