about summary refs log tree commit diff stats
path: root/baremetal/103grapheme.subx
diff options
context:
space:
mode:
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
         #