Add pluggable image readers, plus some documentation.

This commit is contained in:
David Given
2019-08-09 20:56:06 +02:00
parent 87e29fc386
commit 112377f885
9 changed files with 149 additions and 41 deletions

View File

@@ -27,7 +27,7 @@ public:
size_t headSize = numSectors * numBytes;
size_t trackSize = headSize * numHeads;
std::cout << fmt::format("{} tracks, {} heads, {} sectors, {} bytes per sector, {} kB total",
std::cout << fmt::format("writing {} tracks, {} heads, {} sectors, {} bytes per sector, {} kB total",
numCylinders, numHeads,
numSectors, numBytes,
numCylinders * trackSize / 1024)