diff options
Diffstat (limited to 'translate_subx_baremetal')
-rwxr-xr-x | translate_subx_baremetal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_subx_baremetal b/translate_subx_baremetal index adfa4aa0..d337ffe2 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 32256 ] # 63 sectors * 512 bytes per sector +if [ `stat --printf="%s" disk.bin` -ge 65536 ] # 128 sectors * 512 bytes per sector (keep this sync'd with boot.hex) then echo "disk.bin won't all be loaded on boot" exit 1 |