From 4b90a26d71513f3b908b7f7ec651996ddf6460d6 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 29 Aug 2021 20:54:05 -0700 Subject: [PATCH] . --- translate | 8 ++++---- translate_emulated | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/translate b/translate index 2ecdbf7b..de8a51ad 100755 --- a/translate +++ b/translate @@ -5,7 +5,7 @@ set -e # 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 +dd if=/dev/zero of=code.img count=$DISK status=none # code: sectors 0-8999 # font: sectors 9000-10079 (1080 sectors = space enough for 16k glyphs (1080 * 512 / 33 bytes per glyph)) export FONT=9000 # keep this sync'd with boot.subx @@ -35,7 +35,7 @@ cat a.pack |linux/labels_baremeta cat a.survey |linux/hex > a.bin -dd if=a.bin of=code.img conv=notrunc +dd if=a.bin of=code.img conv=notrunc status=none 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 @@ -69,7 +69,7 @@ then exit 1 fi -dd if=labels of=code.img seek=$DEBUG conv=notrunc # keep this sync'd with abort.subx +dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'd with abort.subx ## Font data at another well-defined location cat font.subx |sed 's,/[^ ]*,,' |linux/hex > a.font @@ -80,4 +80,4 @@ then exit 1 fi -dd if=a.font of=code.img seek=$FONT conv=notrunc +dd if=a.font of=code.img seek=$FONT conv=notrunc status=none diff --git a/translate_emulated b/translate_emulated index ec75b5ba..c7631786 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 +dd if=/dev/zero of=code.img count=$DISK status=none # code: sectors 0-8999 # font: sectors 9000-10079 (1080 sectors = space enough for 16k glyphs (1080 * 512 / 33 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 +dd if=a.bin of=code.img conv=notrunc status=none 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 # keep this sync'd with abort.subx +dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'd with abort.subx ## Font data at another well-defined location cat font.subx |sed 's,/[^ ]*,,' |linux/hex > a.font @@ -84,4 +84,4 @@ then exit 1 fi -dd if=a.font of=code.img seek=$FONT conv=notrunc +dd if=a.font of=code.img seek=$FONT conv=notrunc status=none