diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-07 19:45:58 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-07 19:45:58 -0800 |
commit | f2a3c381a7eb9c454cabda8ffa54035a438313bf (patch) | |
tree | 53d967a71d04e7ae534646a6c42a6c3683348eb5 /apps/tile/environment.mu | |
parent | 412304cf45ad4577b7e804b6a60c85f19c2b5e80 (diff) | |
download | mu-f2a3c381a7eb9c454cabda8ffa54035a438313bf.tar.gz |
7210
Bug fixed; I had to reinitialize the table of bindings. Interesting debugging experience.
Diffstat (limited to 'apps/tile/environment.mu')
-rw-r--r-- | apps/tile/environment.mu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 0cd978f3..e0260c23 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -1396,6 +1396,7 @@ fn callee functions: (addr handle function), word: (addr word), out: (addr handl # # Return the farthest column written. fn render-column screen: (addr screen), functions: (addr handle function), bindings: (addr table), first-line: (addr line), line: (addr line), final-word: (addr word), top-row: int, left-col: int -> _/ecx: int { +#? print-string 0, "== " #? print-string 0, "render-column\n" var max-width/esi: int <- copy 0 { @@ -1406,6 +1407,7 @@ fn render-column screen: (addr screen), functions: (addr handle function), bindi var stack: value-stack var stack-addr/edi: (addr value-stack) <- address stack initialize-value-stack stack-addr, 0x10 # max-words + initialize-table bindings, 0x10 evaluate functions, bindings, first-line, final-word, stack-addr # render stack var curr-row/edx: int <- copy top-row |