about summary refs log tree commit diff stats
path: root/baremetal/ex3.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-15 20:30:07 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-15 20:30:07 -0800
commit6e36ce06dd035408d43a6599b75b933a0709cc78 (patch)
treeb5b90ee59b5387036d311096fed1c96aa588cacb /baremetal/ex3.mu
parent20d6be52405130930fde9ca5bb5e95131ba4e659 (diff)
downloadmu-6e36ce06dd035408d43a6599b75b933a0709cc78.tar.gz
7521 - new plan for tests
It's not really manageable to make the fake screen pixel-oriented. Feels
excessive to compare things pixel by pixel when we will mostly be
writing text to screen. It'll also make expected screen assertions
more difficult to manage.

So I'm not sure how to make assertions about pixels for now. Instead
we'll introduce fake screens at draw-grapheme.
Diffstat (limited to 'baremetal/ex3.mu')
-rw-r--r--baremetal/ex3.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/baremetal/ex3.mu b/baremetal/ex3.mu
index 21e30466..206e22b3 100644
--- a/baremetal/ex3.mu
+++ b/baremetal/ex3.mu
@@ -18,7 +18,7 @@ fn main {
     var key/eax: byte <- read-key 0  # real keyboard
     compare key, 0
     loop-if-=  # busy wait
-    pixel 0, x, y, 0x31  # green
+    pixel-on-real-screen x, y, 0x31  # green
     x <- increment
     compare x, 0x400
     {