summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-07-09 14:38:24 +0200
committerLars-Dominik Braun <lars@6xq.net>2017-07-09 14:38:36 +0200
commitc108c6216eedd5ffa7b379ed1318ed47b13c687a (patch)
tree381677d7122cdd2527f7375005d13f0edf0dfcb0
parent1cdc5af4afa7f77a5627475762825ed0ba59610d (diff)
downloadeumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.zip
eumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.tar.gz
eumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.tar.bz2
lineraize: Add 800k floppy
-rwxr-xr-xlinearizeDisk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/linearizeDisk.py b/linearizeDisk.py
index 7a54372..bd7a69c 100755
--- a/linearizeDisk.py
+++ b/linearizeDisk.py
@@ -22,6 +22,9 @@ def linearBlocks (fd):
elif size in (368640, 737280):
# 360k or 720k
blocksPerChunk = 9
+ elif size == 819200:
+ # 800k
+ blocksPerChunk = 10
else:
logging.warning ('Cannot determine blocks per chunk from filesize')
chunkSize = blockSize*blocksPerChunk