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:
Howard M. Harte
2022-02-19 14:10:56 -08:00
parent a25111e411
commit d69944dd8c
4 changed files with 68 additions and 6 deletions

View File

@@ -54,6 +54,18 @@ fluxengine read micropolis630 vgi # double-sided Mod II
You should end up with a `micropolis.vgi` instead. The format is well-defined
for double-sided disks so post-processing is not necessary.
While most operating systems use the standard Micropolis checksum, Vector
Graphic MZOS uses a unique checksum. The decoder will automatically detect
the checksum type in use; however, a specific checksum type may be forced
using the `--decoder.micropolis.checksum_type=n` where the type is one of:
| Type | Description |
|------|-----------------------------------------|
| 0 | Automatically detect |
| 1 | Standard Micropolis (MDOS, CP/M, OASIS) |
| 2 | Vector Graphic MZOS |
Writing disks
-------------