mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			473 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef APPLE2_H
 | |
| #define APPLE2_H
 | |
| 
 | |
| #include <memory.h>
 | |
| #include "lib/decoders/decoders.h"
 | |
| #include "lib/encoders/encoders.h"
 | |
| 
 | |
| #define APPLE2_SECTOR_RECORD 0xd5aa96
 | |
| #define APPLE2_DATA_RECORD 0xd5aaad
 | |
| 
 | |
| #define APPLE2_SECTOR_LENGTH 256
 | |
| #define APPLE2_ENCODED_SECTOR_LENGTH 342
 | |
| 
 | |
| #define APPLE2_SECTORS 16
 | |
| 
 | |
| extern std::unique_ptr<Decoder> createApple2Decoder(const DecoderProto& config);
 | |
| extern std::unique_ptr<Encoder> createApple2Encoder(const EncoderProto& config);
 | |
| 
 | |
| #endif
 |