diff options
Diffstat (limited to '103grapheme.subx')
-rw-r--r-- | 103grapheme.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/103grapheme.subx b/103grapheme.subx index eaeacfab..abcfe57c 100644 --- a/103grapheme.subx +++ b/103grapheme.subx @@ -83,7 +83,7 @@ draw-grapheme-on-screen-buffer: # buffer: (addr byte), g: grapheme, x: int, y: 0f 8d/jump-if->= $draw-grapheme-on-screen-buffer:end/disp32 # var letter-bitmap/esi = font[g] 69/multiply %esi 0x21/imm32/glyph-size 6/r32/esi - 81 0/subop/add %esi Font/imm32 + 81 0/subop/add %esi 0x0010000c/imm32/Font # see boot.subx # dispatch based on letter-bitmap->size b8/copy-to-eax 0/imm32 8a/byte-> *esi 0/r32/AL @@ -116,7 +116,7 @@ wide-grapheme?: # g: grapheme -> _/eax: boolean 0f 8d/jump-if->= $wide-grapheme?:end/disp32 # var letter-bitmap/eax = font[g] 69/multiply %eax 0x21/imm32/glyph-size 0/r32/eax - 05/add-to-eax Font/imm32 + 05/add-to-eax 0x0010000c/imm32/Font # see boot.subx # dispatch based on letter-bitmap->size 8a/byte-> *eax 0/r32/AL 25/and-eax-with 0xff/imm32 |