diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-11 01:14:30 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-11 01:14:30 -0800 |
commit | c4bd8edae25844fc437a0c3df435df55540887de (patch) | |
tree | 2c5a310fc729a8f671a20c369c57a06771f17bcd /translate_subx_baremetal_emulated | |
parent | e396b3a0a354c017c7582124d51a0380a6e5c7de (diff) | |
download | mu-c4bd8edae25844fc437a0c3df435df55540887de.tar.gz |
7720 - baremetal: load more sectors again
Diffstat (limited to 'translate_subx_baremetal_emulated')
-rwxr-xr-x | translate_subx_baremetal_emulated | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_subx_baremetal_emulated b/translate_subx_baremetal_emulated index ab18fa19..069983ec 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 64512 ] # 2 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.hex) +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) then echo "disk.bin won't all be loaded on boot" exit 1 |