diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-15 07:49:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-15 07:49:12 -0700 |
commit | c26aef11b7c55b89e85cdd8f2b7e8254b180278d (patch) | |
tree | 1bc376cbaa13d7cee8f5b09761ff2fabb8e14f29 /translate_subx_emulated | |
parent | a577c7fcb031afb7efe5dafc48b81f6ea3a7b06b (diff) | |
download | mu-c26aef11b7c55b89e85cdd8f2b7e8254b180278d.tar.gz |
grow a few buffers until shell/ loads
Diffstat (limited to 'translate_subx_emulated')
-rwxr-xr-x | translate_subx_emulated | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/translate_subx_emulated b/translate_subx_emulated index 439befcd..fb89bfaf 100755 --- a/translate_subx_emulated +++ b/translate_subx_emulated @@ -47,13 +47,13 @@ fi # Latter half of disk is for debug info. dd if=labels of=code.img seek=10080 conv=notrunc # keep this sync'd with abort.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 +if [ `stat --printf="%s" labels` -ge 524288 ] # 4 reads * 256 sectors * 512 bytes per sector then echo "labels won't all be loaded on abort" exit 1 fi -if [ `wc -l < labels` -gt 4096 ] # 0x1000 stream capacity in abort.subx +if [ `wc -l < labels` -gt 16384 ] # 0x4000 stream capacity in abort.subx then echo "abort will go into infinite regress" exit 1 |