diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-07 22:04:40 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-08 20:32:49 -0700 |
commit | 5659eccded05b72af8758dbdde63f7f68da0cb07 (patch) | |
tree | a0baaaab74ea4dbaa16ed304ff745d01bc424dca /apps/tile | |
parent | d906d5fd3845caa9d2d61d91442473b38ca7f3ac (diff) | |
download | mu-5659eccded05b72af8758dbdde63f7f68da0cb07.tar.gz |
6974
Diffstat (limited to 'apps/tile')
-rw-r--r-- | apps/tile/environment.mu | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index b41202cb..910b7626 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -364,16 +364,16 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding curr-col <- add 2 subtract-from top-row, 1 } - # print word index - subtract-from top-row, 1 - move-cursor screen, top-row, curr-col - start-color screen, 8, 7 - { - var word-index-val/eax: int <- final-element-value word-index - print-int32-hex-bits screen, word-index-val, 4 - } - reset-formatting screen - add-to top-row, 1 + # debug info: print word index +#? subtract-from top-row, 1 +#? move-cursor screen, top-row, curr-col +#? start-color screen, 8, 7 +#? { +#? var word-index-val/eax: int <- final-element-value word-index +#? print-int32-hex-bits screen, word-index-val, 4 +#? } +#? reset-formatting screen +#? add-to top-row, 1 # now render main column curr-col <- render-column screen, functions, bindings, line, curr-word, top-row, curr-col, cursor-word, cursor-col-a var next-word-ah/edx: (addr handle word) <- get curr-word, next |