From 5a3f9a31850d6da72dff7211c9760cd4a8e1090b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 13 Apr 2021 21:11:26 -0700 Subject: . --- html/ex5.mu.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/ex5.mu.html') diff --git a/html/ex5.mu.html b/html/ex5.mu.html index fd9d7437..178a2958 100644 --- a/html/ex5.mu.html +++ b/html/ex5.mu.html @@ -68,9 +68,9 @@ if ('onhashchange' in window) { 10 # 11 # Expected output: text in green near the top-left corner of screen 12 -13 fn main { -14 var dummy/eax: int <- draw-text-rightward 0/screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/color -15 dummy <- draw-text-rightward 0/screen, "you shouldn't see this", 0x10/x, 0xa0/xmax, 0x30/y, 0x3/color # xmax is too narrow +13 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) { +14 var dummy/eax: int <- draw-text-rightward screen, "hello from baremetal Mu!", 0x10/x, 0x400/xmax, 0x10/y, 0xa/fg, 0/bg +15 dummy <- draw-text-rightward screen, "you shouldn't see this", 0x10/x, 0xa0/xmax, 0x30/y, 3/fg, 0/bg # xmax is too narrow 16 } -- cgit 1.4.1-2-gfad0