about summary refs log tree commit diff stats
path: root/translate_subx_baremetal_emulated
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_emulated
parent09f2f3075a8be46484be2b5900888a8ac4799b75 (diff)
downloadmu-1c490388d13bb0fa3cab4fa245d6e17da1b22b87.tar.gz
7556
Diffstat (limited to 'translate_subx_baremetal_emulated')
-rwxr-xr-xtranslate_subx_baremetal_emulated2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_subx_baremetal_emulated b/translate_subx_baremetal_emulated
index 0e65799a..ab18fa19 100755
--- a/translate_subx_baremetal_emulated
+++ b/translate_subx_baremetal_emulated
@@ -33,7 +33,7 @@ dd if=/dev/zero of=disk.img count=20160  # 512-byte sectors, so 10MB
 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