mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
checking). The read is very bad, but I don't know whether that's because there's something wrong I'm doing, or if the Kryoflux image is bad.
23 lines
440 B
C++
23 lines
440 B
C++
#ifndef MACINTOSH_H
|
|
#define MACINTOSH_H
|
|
|
|
#define MAC_SECTOR_RECORD 0xd5aa96
|
|
#define MAC_DATA_RECORD 0xd5aaad
|
|
|
|
#define MAC_SECTOR_LENGTH 524 /* yes, really */
|
|
|
|
class Sector;
|
|
class Fluxmap;
|
|
|
|
class MacintoshDecoder : public AbstractDecoder
|
|
{
|
|
public:
|
|
virtual ~MacintoshDecoder() {}
|
|
|
|
SectorVector decodeToSectors(const RawRecordVector& rawRecords, unsigned physicalTrack);
|
|
int recordMatcher(uint64_t fifo) const;
|
|
};
|
|
|
|
#endif
|
|
|