From 7205c2465fbefb067bfaf169f2a9c81f1feed0ae Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 14 May 2021 21:29:42 -0700 Subject: fixup! load debug info into code disk --- translate_subx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'translate_subx') 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 -- cgit 1.4.1-2-gfad0