about summary refs log tree commit diff stats
path: root/ex5.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-26 23:05:54 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-03-26 23:07:35 -0700
commit83c25a03c90e9823be2dc0a7e305b3bb4fab87c8 (patch)
tree4334e699731906e4e7a685c02e2490a5dfe0b5b4 /ex5.mu
parent1a43d12b15c11c1fb1686369665f48d87f350f37 (diff)
downloadmu-83c25a03c90e9823be2dc0a7e305b3bb4fab87c8.tar.gz
fix stale examples
Diffstat (limited to 'ex5.mu')
-rw-r--r--ex5.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/ex5.mu b/ex5.mu
index 287b1148..90bcac2f 100644
--- a/ex5.mu
+++ b/ex5.mu
@@ -11,6 +11,6 @@
 # Expected output: text in green near the top-left corner of screen
 
 fn main screen: (addr screen), keyboard: (addr keyboard) {
-  var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/color
-  dummy <- draw-text-rightward screen, "you shouldn't see this", 0x10/x, 0xa0/xmax, 0x30/y, 0x3/color  # xmax is too narrow
+  var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/fg, 0/bg
+  dummy <- draw-text-rightward screen, "you shouldn't see this", 0x10/x, 0xa0/xmax, 0x30/y, 3/fg, 0/bg  # xmax is too narrow
 }