diff options
Diffstat (limited to 'prototypes/browse/4-render-page.mu')
-rw-r--r-- | prototypes/browse/4-render-page.mu | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/prototypes/browse/4-render-page.mu b/prototypes/browse/4-render-page.mu index 57f6063b..130f17e5 100644 --- a/prototypes/browse/4-render-page.mu +++ b/prototypes/browse/4-render-page.mu @@ -21,7 +21,7 @@ $line-loop: { compare row, botrow break-if->= var col/edx: int <- copy leftcol - move-cursor-on-screen row, col + move-cursor 0, row, col { compare col, rightcol break-if->= @@ -29,7 +29,7 @@ $line-loop: { compare c, 0xffffffff # EOF marker break-if-= $line-loop # print c - print-byte-to-screen c + print-byte 0, c col <- increment loop } # $char-loop @@ -44,11 +44,11 @@ fn clear toprow: int, leftcol: int, botrow: int, rightcol: int { compare row, botrow break-if->= var col/edx: int <- copy leftcol - move-cursor-on-screen row, col + move-cursor 0, row, col { compare col, rightcol break-if->= - print-string-to-screen " " + print-string 0, " " col <- increment loop } @@ -76,6 +76,6 @@ fn dump in: (addr buffered-file) { var c/eax: byte <- read-byte-buffered in compare c, 0xffffffff # EOF marker break-if-= - print-byte-to-screen c + print-byte 0, c loop } |