From 9822a2429f549491b1c7dfa4035260bb6c44ff77 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 16 Jan 2021 20:56:28 -0800 Subject: 7533 Both issues of commit 7531 fixed. --- baremetal/103grapheme.subx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'baremetal/103grapheme.subx') 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 # -- cgit 1.4.1-2-gfad0