about summary refs log tree commit diff stats
path: root/baremetal/ex6.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/ex6.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/ex6.mu')
-rw-r--r--baremetal/ex6.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/baremetal/ex6.mu b/baremetal/ex6.mu
index 5e47a57c..72d21f2e 100644
--- a/baremetal/ex6.mu
+++ b/baremetal/ex6.mu
@@ -11,7 +11,7 @@
 
 fn main {
   # drawing text within a bounding box
-  draw-box 0, 0xf, 0x1f, 0x79, 0x51, 0x4
+  draw-box-on-real-screen 0xf, 0x1f, 0x79, 0x51, 0x4
   var x/eax: int <- copy 0x20
   var y/ecx: int <- copy 0x20
   x, y <- draw-text-wrapping-right-then-down 0, "hello ",     0x10, 0x20, 0x78, 0x50, x, y, 0xa  # (0x10, 0x20) -> (0x78, 0x50)