mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Micropolis: Add support for MZOS checksum.
Vector MZOS uses a different sector checksum than the standard Micropolis checksum used by MDOS, CP/M and OASIS. Automatically detect the checksum on the disk by default, but allow the user to force the use of a specific checksum using the --decoder.micropolis.checksum_type parameter.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#ifndef MICROPOLIS_H
|
||||
#define MICROPOLIS_H
|
||||
|
||||
#define MICROPOLIS_ENCODED_SECTOR_SIZE (1+2+266+6)
|
||||
#define MICROPOLIS_PAYLOAD_SIZE (256)
|
||||
#define MICROPOLIS_HEADER_SIZE (1+2+10)
|
||||
#define MICROPOLIS_ENCODED_SECTOR_SIZE (MICROPOLIS_HEADER_SIZE + MICROPOLIS_PAYLOAD_SIZE + 6)
|
||||
|
||||
class AbstractDecoder;
|
||||
class AbstractEncoder;
|
||||
|
||||
Reference in New Issue
Block a user