diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:18:05 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:41:43 -0800 |
commit | 535fe9ac96dba0950efd1bfe6788801f6197971f (patch) | |
tree | 218270b512ce4175e3c7e3394d7b1a19ad84184b /html/baremetal/ex4.mu.html | |
parent | 9b5ead67eca1b6e1afeeba63e9c68b2790c26436 (diff) | |
download | mu-535fe9ac96dba0950efd1bfe6788801f6197971f.tar.gz |
7737
Diffstat (limited to 'html/baremetal/ex4.mu.html')
-rw-r--r-- | html/baremetal/ex4.mu.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/html/baremetal/ex4.mu.html b/html/baremetal/ex4.mu.html index 2a44bb75..e1553b88 100644 --- a/html/baremetal/ex4.mu.html +++ b/html/baremetal/ex4.mu.html @@ -17,7 +17,6 @@ a { color:inherit; } .PreProc { color: #c000c0; } .LineNr { } .Constant { color: #008787; } -.SpecialChar { color: #d70000; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } .muComment { color: #005faf; } @@ -68,9 +67,8 @@ if ('onhashchange' in window) { <span id="L10" class="LineNr">10 </span><span class="muComment"># Expected output: letter 'A' in green near the top-left corner of screen</span> <span id="L11" class="LineNr">11 </span> <span id="L12" class="LineNr">12 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex4.mu.html#L12'>main</a></span> <span class="Delimiter">{</span> -<span id="L13" class="LineNr">13 </span> <span class="PreProc">var</span> g/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x41</span> <span class="muComment"># 'A'</span> -<span id="L14" class="LineNr">14 </span> <a href='500text-screen.mu.html#L68'>draw-grapheme</a> <span class="Constant">0</span>, g, <span class="Constant">2</span>, <span class="Constant">1</span>, <span class="Constant">0xa</span> <span class="muComment"># x of 2 graphemes = 16px from top-left; y of 1 grapheme = 16px down from top-left</span> -<span id="L15" class="LineNr">15 </span><span class="Delimiter">}</span> +<span id="L13" class="LineNr">13 </span> draw-codepoint <span class="Constant">0</span>/screen, <span class="Constant">0x41</span>/A, <span class="Constant">2</span>/row, <span class="Constant">1</span>/col, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg +<span id="L14" class="LineNr">14 </span><span class="Delimiter">}</span> </pre> </body> </html> |