about summary refs log tree commit diff stats
path: root/baremetal/103grapheme.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-16 20:56:28 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-16 20:56:28 -0800
commit9822a2429f549491b1c7dfa4035260bb6c44ff77 (patch)
tree96a91da494e51463e04da5808cbbfc0218bbdabc /baremetal/103grapheme.subx
parentaa6c50d2bc62336fbdec06f7cb919c1656c332cf (diff)
downloadmu-9822a2429f549491b1c7dfa4035260bb6c44ff77.tar.gz
7533
Both issues of commit 7531 fixed.
Diffstat (limited to 'baremetal/103grapheme.subx')
-rw-r--r--baremetal/103grapheme.subx4
1 files changed, 4 insertions, 0 deletions
diff --git a/baremetal/103grapheme.subx b/baremetal/103grapheme.subx
index 4ee423d7..6f2ac0d1 100644
--- a/baremetal/103grapheme.subx
+++ b/baremetal/103grapheme.subx
@@ -49,7 +49,11 @@ draw-grapheme-on-real-screen:  # g: grapheme, x: int, y: int, color: int
         {
           73/jump-if-not-CF break/disp8
           (pixel-on-real-screen %eax %edx *(ebp+0x14))
+          eb/jump $draw-grapheme:continue/disp8
         }
+        # otherwise draw a black pixel
+        (pixel-on-real-screen %eax %edx 0)
+$draw-grapheme:continue:
         # --x
         48/decrement-eax
         #