This commit is contained in:
Kartik K. Agaram 2021-08-31 22:19:40 -07:00
parent b6ba4c30cc
commit 281f38a7c2
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'
## 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 )) ]
if [ `stat --printf="%s" a.font` -ge $(( ($DEBUG - $FONT) * 512 )) ]
then
echo "font will overwrite debug info in disk"
exit 1

View File

@ -78,7 +78,7 @@ dd if=labels of=code.img seek=$DEBUG conv=notrunc status=none # keep this sync'
## 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 )) ]
if [ `stat --printf="%s" a.font` -ge $(( ($DEBUG - $FONT) * 512 )) ]
then
echo "font will overwrite debug info in disk"
exit 1