diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-08-29 20:39:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-08-29 20:43:57 -0700 |
commit | 0633e401f9af46ae961915c601d6a333c1a79994 (patch) | |
tree | b9ed0256f53cae40e355256c55860d3149d89d1f /translate_emulated | |
parent | b1dcfb03d00f93999da0225600fe5f9d708e439c (diff) | |
download | mu-0633e401f9af46ae961915c601d6a333c1a79994.tar.gz |
.
Diffstat (limited to 'translate_emulated')
-rwxr-xr-x | translate_emulated | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/translate_emulated b/translate_emulated index 3ff4b24c..ec75b5ba 100755 --- a/translate_emulated +++ b/translate_emulated @@ -12,7 +12,7 @@ export DISK=20160 # 20*16*63 512-byte sectors = almost 10MB 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 / 33 bytes per glyph)) -export FONT=9000 +export FONT=9000 # keep this sync'd with boot.subx # debug: sector 10080 onwards export DEBUG=10080 @@ -75,8 +75,8 @@ fi dd if=labels of=code.img seek=$DEBUG conv=notrunc # keep this sync'd with abort.subx -## Some space for font data at another well-defined location -cat font.subx |sed 's,#.*,,' |sed 's,/[^ ]*,,' |linux/hex > a.font +## Font data at another well-defined location +cat font.subx |sed 's,/[^ ]*,,' |linux/hex > a.font if [ `stat --printf="%s" a.bin` -ge $(( ($DEBUG - $FONT) * 512 )) ] then |