about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xtranslate_subx_baremetal2
-rwxr-xr-xtranslate_subx_baremetal_emulated2
2 files changed, 2 insertions, 2 deletions
diff --git a/translate_subx_baremetal b/translate_subx_baremetal
index 80f59f2e..f2d4274d 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 96768 ]  # 3 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.hex)
+if [ `stat --printf="%s" disk.bin` -ge 129024 ]  # 4 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
diff --git a/translate_subx_baremetal_emulated b/translate_subx_baremetal_emulated
index 069983ec..881fcef1 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 96768 ]  # 3 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.hex)
+if [ `stat --printf="%s" disk.bin` -ge 129024 ]  # 4 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