diff options
author | Kartik Agaram <vc@akkartik.com> | 2022-02-24 21:05:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2022-02-24 21:05:47 -0800 |
commit | cbd535d3b773a79ff3f3ef3fd322337c828a9671 (patch) | |
tree | 1172b1e406bbc3cbc795079dd9d063781c23262f /translate_emulated | |
parent | 54423826c740f14aee37c37002b57a1c276867e1 (diff) | |
download | mu-cbd535d3b773a79ff3f3ef3fd322337c828a9671.tar.gz |
fix a conflict between GNU and Mac/BSD
This particular issue doesn't affect behavior. Thanks Wade for pointing it out.
Diffstat (limited to 'translate_emulated')
-rwxr-xr-x | translate_emulated | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/translate_emulated b/translate_emulated index 72a4c4e3..4e92ac2c 100755 --- a/translate_emulated +++ b/translate_emulated @@ -9,7 +9,7 @@ set -v # Map of the Mu code disk export DISK=20160 # 20*16*63 512-byte sectors = almost 10MB -dd if=/dev/zero of=code.img count=$DISK status=none +dd if=/dev/zero of=code.img count=$DISK # code: sectors 0-8999 # font: sectors 9000-10079 (1080 sectors = space enough for 16k glyphs (1080 * 512 / 34 bytes per glyph)) export FONT=9000 # keep this sync'd with boot.subx @@ -39,7 +39,7 @@ cat a.pack |linux/bootstrap/boots cat a.survey |linux/bootstrap/bootstrap run linux/hex > a.bin -dd if=a.bin of=code.img conv=notrunc status=none +dd if=a.bin of=code.img conv=notrunc if [ `stat --printf="%s" a.bin` -ge 492544 ] # 15 tracks * 63 sectors per track * 512 bytes per sector (keep this sync'd with boot.subx) then @@ -73,7 +73,7 @@ then exit 1 fi -dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'd with abort.subx +dd if=labels of=code.img seek=$DEBUG conv=notrunc # keep this sync'd with abort.subx ## Font data at another well-defined location cat font.subx |sed 's,/[^ ]*,,' |linux/bootstrap/bootstrap run linux/hex > a.font @@ -96,4 +96,4 @@ then exit 1 fi -dd if=a.font of=code.img seek=$FONT conv=notrunc status=none +dd if=a.font of=code.img seek=$FONT conv=notrunc |