mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			422 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			422 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef APPLE2_H
 | |
| #define APPLE2_H
 | |
| 
 | |
| #define APPLE2_SECTOR_RECORD   0xd5aa96
 | |
| #define APPLE2_DATA_RECORD     0xd5aaad
 | |
| 
 | |
| #define APPLE2_SECTOR_LENGTH   256
 | |
| #define APPLE2_ENCODED_SECTOR_LENGTH 342
 | |
| 
 | |
| class Sector;
 | |
| class Fluxmap;
 | |
| 
 | |
| class Apple2Decoder : public AbstractDecoder
 | |
| {
 | |
| public:
 | |
|     virtual ~Apple2Decoder() {}
 | |
| 
 | |
|     RecordType advanceToNextRecord();
 | |
|     void decodeSectorRecord();
 | |
|     void decodeDataRecord();
 | |
| };
 | |
| 
 | |
| 
 | |
| #endif
 | |
| 
 |