about summary refs log tree commit diff stats
path: root/prototypes/browse/27
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-29 19:16:36 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-29 19:16:36 -0700
commit6c7f7abdb867084f1e7555105cfa140eae4f6372 (patch)
tree47918b44ecc85fcf3573189a3574f59014787514 /prototypes/browse/27
parent222548962c9ed85c9d5057757287d0b0b069af02 (diff)
downloadmu-6c7f7abdb867084f1e7555105cfa140eae4f6372.tar.gz
6600
Diffstat (limited to 'prototypes/browse/27')
-rw-r--r--prototypes/browse/27/file-state.mu2
-rw-r--r--prototypes/browse/27/screen-position-state.mu2
2 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/browse/27/file-state.mu b/prototypes/browse/27/file-state.mu
index 35f40229..0047b2c0 100644
--- a/prototypes/browse/27/file-state.mu
+++ b/prototypes/browse/27/file-state.mu
@@ -39,6 +39,6 @@ fn dump in: (addr buffered-file) {
   var c/eax: byte <- read-byte-buffered in
   compare c, 0xffffffff  # EOF marker
   break-if-=
-  print-byte c
+  print-byte-to-screen c
   loop
 }
diff --git a/prototypes/browse/27/screen-position-state.mu b/prototypes/browse/27/screen-position-state.mu
index dcf3722a..51f7e7c8 100644
--- a/prototypes/browse/27/screen-position-state.mu
+++ b/prototypes/browse/27/screen-position-state.mu
@@ -72,7 +72,7 @@ $add-char:body: {
     break $add-char:body
   }
   # print c
-  print-byte c
+  print-byte-to-screen c
   # self->col++
   var tmp/eax: (addr int) <- get self, col
   increment *tmp