mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
This is tested with encodedecodetest.sh but is not tested on HW yet. It's likely that the sector order (interleave) doesn't match real systems.
19 lines
463 B
C++
19 lines
463 B
C++
#ifndef APPLE2_H
|
|
#define APPLE2_H
|
|
|
|
#include <memory.h>
|
|
#include "decoders/decoders.h"
|
|
#include "encoders/encoders.h"
|
|
|
|
#define APPLE2_SECTOR_RECORD 0xd5aa96
|
|
#define APPLE2_DATA_RECORD 0xd5aaad
|
|
|
|
#define APPLE2_SECTOR_LENGTH 256
|
|
#define APPLE2_ENCODED_SECTOR_LENGTH 342
|
|
|
|
extern std::unique_ptr<AbstractDecoder> createApple2Decoder(const DecoderProto& config);
|
|
extern std::unique_ptr<AbstractEncoder> createApple2Encoder(const EncoderProto& config);
|
|
|
|
#endif
|
|
|