diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-06-15 21:50:13 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-06-15 21:50:13 -0700 |
commit | dd60caa3f51c5117c0193f8f3272e1c7f5230eb7 (patch) | |
tree | 4ea39cbf1550767a5004c450b807cf5c968ac5fa /html/ex7.mu.html | |
parent | 678c9366331641111c05b4508988405c4400f026 (diff) | |
download | mu-dd60caa3f51c5117c0193f8f3272e1c7f5230eb7.tar.gz |
.
Diffstat (limited to 'html/ex7.mu.html')
-rw-r--r-- | html/ex7.mu.html | 11 |
1 files changed, 6 insertions, 5 deletions
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) { <span id="L11" class="LineNr">11 </span><span class="muComment"># k, l.</span> <span id="L12" class="LineNr">12 </span> <span id="L13" class="LineNr">13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex7.mu.html#L13'>main</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span> -<span id="L14" class="LineNr">14 </span> <span class="PreProc">var</span> space/<span class="Constant">eax</span>: grapheme <span class="Special"><-</span> copy <span class="Constant">0x20</span> -<span id="L15" class="LineNr">15 </span> <a href='500fake-screen.mu.html#L170'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>, <span class="Constant">0</span> +<span id="L14" class="LineNr">14 </span> <span class="PreProc">var</span> space/<span class="muRegEax">eax</span>: grapheme <span class="Special"><-</span> copy <span class="Constant">0x20</span> +<span id="L15" class="LineNr">15 </span> <a href='500fake-screen.mu.html#L190'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>, <span class="Constant">0</span> <span id="L16" class="LineNr">16 </span> <span class="Delimiter">{</span> -<span id="L17" class="LineNr">17 </span> <a href='500fake-screen.mu.html#L217'>draw-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, space -<span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> key/<span class="Constant">eax</span>: byte <span class="Special"><-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard +<span id="L17" class="LineNr">17 </span> <a href='500fake-screen.mu.html#L237'>draw-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, space +<span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> key/<span class="muRegEax">eax</span>: byte <span class="Special"><-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard <span id="L19" class="LineNr">19 </span> <span class="Delimiter">{</span> <span id="L20" class="LineNr">20 </span> compare key, <span class="Constant">0x68</span>/h <span id="L21" class="LineNr">21 </span> <span class="PreProc">break-if-!=</span> @@ -95,7 +96,7 @@ if ('onhashchange' in window) { <span id="L37" class="LineNr">37 </span> <span class="Delimiter">{</span> <span id="L38" class="LineNr">38 </span> compare key, <span class="Constant">0x6c</span>/l <span id="L39" class="LineNr">39 </span> <span class="PreProc">break-if-!=</span> -<span id="L40" class="LineNr">40 </span> <span class="PreProc">var</span> g/<span class="Constant">eax</span>: code-point <span class="Special"><-</span> copy <span class="Constant">0x2d</span>/dash +<span id="L40" class="LineNr">40 </span> <span class="PreProc">var</span> g/<span class="muRegEax">eax</span>: code-point <span class="Special"><-</span> copy <span class="Constant">0x2d</span>/dash <span id="L41" class="LineNr">41 </span> <a href='501draw-text.mu.html#L92'>draw-code-point-at-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x2d</span>/dash, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L42" class="LineNr">42 </span> <a href='501draw-text.mu.html#L16'>move-cursor-right</a> <span class="Constant">0</span> <span id="L43" class="LineNr">43 </span> <span class="Delimiter">}</span> |