Browse Source

bugfix: rendering fake screens

Not exercised anywhere except in the shell. I ran into it after running:

  (print screen 34)

Introduced in commit d2f96cb0b6 on Sep 1. This is the sort of thing I
currently don't know how to write tests for :/
main
Kartik K. Agaram 9 months ago
parent
commit
2308b97066
  1. 2
      103glyph.subx

2
103glyph.subx

@ -66,7 +66,7 @@ draw-code-point-on-screen-array: # screen-data: (addr array byte), c: code-poin
8b/-> *(ebp+8) 0/r32/eax
05/add-to-eax 4/imm32
#
(draw-code-point-on-screen-buffer %eax *(ebp+0xc) *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) *(ebp+0x20) *(ebp+0x24)) # => eax
(draw-code-point-on-screen-buffer %eax *(ebp+0xc) *(ebp+0x10) *(ebp+0x14) *(ebp+0x18) *(ebp+0x1c) 1 *(ebp+0x20) *(ebp+0x24)) # => eax
$draw-code-point-on-screen-array:end:
# . restore registers
5a/pop-to-edx

Loading…
Cancel
Save