about summary refs log tree commit diff stats
path: root/ex2.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-05-23 08:06:03 -0700
committerKartik Agaram <vc@akkartik.com>2021-05-23 08:06:03 -0700
commit0f5b9a1534634a9bb9cf8caa66aac09832326546 (patch)
treefdba399fca280df552813251ea7be6d1f3ab57af /ex2.mu
parent49f7a91704dd6f77d4c9a5ca5a3e16eea2639f86 (diff)
downloadmu-0f5b9a1534634a9bb9cf8caa66aac09832326546.tar.gz
.
Diffstat (limited to 'ex2.mu')
-rw-r--r--ex2.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ex2.mu b/ex2.mu
index cd170aa7..0d301508 100644
--- a/ex2.mu
+++ b/ex2.mu
@@ -18,7 +18,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
       break-if->=
       var color/ecx: int <- copy x
       color <- and 0xff
-      pixel-on-real-screen x, y, color
+      pixel screen x, y, color
       x <- increment
       loop
     }