diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-07-09 14:38:24 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2017-07-09 14:38:36 +0200 |
commit | c108c6216eedd5ffa7b379ed1318ed47b13c687a (patch) | |
tree | 381677d7122cdd2527f7375005d13f0edf0dfcb0 | |
parent | 1cdc5af4afa7f77a5627475762825ed0ba59610d (diff) | |
download | eumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.tar.gz eumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.tar.bz2 eumel-tools-c108c6216eedd5ffa7b379ed1318ed47b13c687a.zip |
lineraize: Add 800k floppy
-rwxr-xr-x | linearizeDisk.py | 3 |
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 |