about summary refs log tree commit diff stats
path: root/translate_subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-14 21:29:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-14 21:29:42 -0700
commit7205c2465fbefb067bfaf169f2a9c81f1feed0ae (patch)
tree8ea01c55e298897bb43abeb22a3045a1b173973c /translate_subx
parent73744d098ca59a3844987e0919b990a880ec6895 (diff)
downloadmu-7205c2465fbefb067bfaf169f2a9c81f1feed0ae.tar.gz
fixup! load debug info into code disk
Diffstat (limited to 'translate_subx')
-rwxr-xr-xtranslate_subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate_subx b/translate_subx
index 5e2db997..66df2a91 100755
--- a/translate_subx
+++ b/translate_subx
@@ -43,8 +43,8 @@ fi
 
 # Latter half of disk is for debug info.
 dd if=labels of=code.img seek=10080 conv=notrunc
-if [ `stat --printf="%s" labels` -ge 516096 ]  # 16 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.subx)
+if [ `stat --printf="%s" labels` -ge 131072 ]  # 256 sectors * 512 bytes per sector, the most an ATA drive can read in a single command
 then
-  echo "a.bin won't all be loaded on boot"
+  echo "labels won't all be loaded on abort"
   exit 1
 fi