about summary refs log tree commit diff stats
path: root/translate_subx_baremetal
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-24 11:28:02 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-24 19:43:23 -0800
commit1c490388d13bb0fa3cab4fa245d6e17da1b22b87 (patch)
treecbcc49feb2b62903ac7c6744bdd1b58a24fb10eb /translate_subx_baremetal
parent09f2f3075a8be46484be2b5900888a8ac4799b75 (diff)
downloadmu-1c490388d13bb0fa3cab4fa245d6e17da1b22b87.tar.gz
7556
Diffstat (limited to 'translate_subx_baremetal')
-rwxr-xr-xtranslate_subx_baremetal2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_subx_baremetal b/translate_subx_baremetal
index d337ffe2..b8e49042 100755
--- a/translate_subx_baremetal
+++ b/translate_subx_baremetal
@@ -39,7 +39,7 @@ apps/hex < baremetal/boot.hex  > boot.bin
 cat boot.bin a.bin > disk.bin
 dd if=disk.bin of=disk.img conv=notrunc
 
-if [ `stat --printf="%s" disk.bin` -ge 65536 ]  # 128 sectors * 512 bytes per sector (keep this sync'd with boot.hex)
+if [ `stat --printf="%s" disk.bin` -ge 64512 ]  # 2 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.hex)
 then
   echo "disk.bin won't all be loaded on boot"
   exit 1