diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-04-13 21:11:26 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-04-13 21:11:26 -0700 |
commit | 5a3f9a31850d6da72dff7211c9760cd4a8e1090b (patch) | |
tree | da45bfbfa58a4573b6c1898006dfaf146352eb40 /html/ex5.mu.html | |
parent | fea45ccbea6bee563b41da199fb3c456c6069cb5 (diff) | |
download | mu-5a3f9a31850d6da72dff7211c9760cd4a8e1090b.tar.gz |
.
Diffstat (limited to 'html/ex5.mu.html')
-rw-r--r-- | html/ex5.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
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) { <span id="L10" class="LineNr">10 </span><span class="muComment">#</span> <span id="L11" class="LineNr">11 </span><span class="muComment"># Expected output: text in green near the top-left corner of screen</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='ex5.mu.html#L13'>main</a></span> <span class="Delimiter">{</span> -<span id="L14" class="LineNr">14 </span> <span class="PreProc">var</span> dummy/<span class="Constant">eax</span>: int <span class="Special"><-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <span class="Constant">0</span>/screen, <span class="Constant">"hello from baremetal Mu!"</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/color -<span id="L15" class="LineNr">15 </span> dummy <span class="Special"><-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <span class="Constant">0</span>/screen, <span class="Constant">"you shouldn't see this"</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0xa0</span>/xmax, <span class="Constant">0x30</span>/y, <span class="Constant">0x3</span>/color <span class="muComment"># xmax is too narrow</span> +<span id="L13" class="LineNr">13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex5.mu.html#L13'>main</a></span> <a href='500text-screen.mu.html#L9'>screen</a>: (addr <a href='500text-screen.mu.html#L9'>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> dummy/<span class="Constant">eax</span>: int <span class="Special"><-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500text-screen.mu.html#L9'>screen</a>, <span class="Constant">"hello from baremetal Mu!"</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg +<span id="L15" class="LineNr">15 </span> dummy <span class="Special"><-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500text-screen.mu.html#L9'>screen</a>, <span class="Constant">"you shouldn't see this"</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0xa0</span>/xmax, <span class="Constant">0x30</span>/y, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span class="muComment"># xmax is too narrow</span> <span id="L16" class="LineNr">16 </span><span class="Delimiter">}</span> </pre> </body> |