aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2022-02-24 21:05:47 -0800
committerKartik Agaram <vc@akkartik.com>2022-02-24 21:05:47 -0800
commitcbd535d3b773a79ff3f3ef3fd322337c828a9671 (patch)
tree1172b1e406bbc3cbc795079dd9d063781c23262f
parent54423826c740f14aee37c37002b57a1c276867e1 (diff)
downloadmu-cbd535d3b773a79ff3f3ef3fd322337c828a9671.tar.gz
fix a conflict between GNU and Mac/BSD
This particular issue doesn't affect behavior. Thanks Wade for pointing it out.
-rwxr-xr-xtranslate_emulated8
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