From dd60caa3f51c5117c0193f8f3272e1c7f5230eb7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 15 Jun 2021 21:50:13 -0700 Subject: . --- html/ex7.mu.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'html/ex7.mu.html') diff --git a/html/ex7.mu.html b/html/ex7.mu.html index 8fc47169..1775dffb 100644 --- a/html/ex7.mu.html +++ b/html/ex7.mu.html @@ -18,6 +18,7 @@ a { color:inherit; } .Special { color: #ff6060; } .LineNr { } .Constant { color: #008787; } +.muRegEax { color: #875f00; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } .muComment { color: #005faf; } @@ -69,11 +70,11 @@ if ('onhashchange' in window) { 11 # k, l. 12 13 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) { -14 var space/eax: grapheme <- copy 0x20 -15 set-cursor-position screen, 0, 0 +14 var space/eax: grapheme <- copy 0x20 +15 set-cursor-position screen, 0, 0 16 { -17 draw-cursor screen, space -18 var key/eax: byte <- read-key keyboard +17 draw-cursor screen, space +18 var key/eax: byte <- read-key keyboard 19 { 20 compare key, 0x68/h 21 break-if-!= @@ -95,7 +96,7 @@ if ('onhashchange' in window) { 37 { 38 compare key, 0x6c/l 39 break-if-!= -40 var g/eax: code-point <- copy 0x2d/dash +40 var g/eax: code-point <- copy 0x2d/dash 41 draw-code-point-at-cursor screen, 0x2d/dash, 0x31/fg, 0/bg 42 move-cursor-right 0 43 } -- cgit 1.4.1-2-gfad0