Require 16 sectors for Micropolis disks.

This commit is contained in:
Howard M. Harte
2022-02-19 14:10:35 -08:00
parent 9f09794ae6
commit 6866d5d3fa

View File

@@ -69,6 +69,13 @@ public:
Error() << "Sector output size may only be 256 or 275";
_sector->status = (wantChecksum == gotChecksum) ? Sector::OK : Sector::BAD_CHECKSUM;
}
std::set<unsigned> requiredSectors(unsigned cylinder, unsigned head) const override
{
static std::set<unsigned> sectors = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
return sectors;
}
private:
const MicropolisDecoderProto& _config;
};