This commit is contained in:
Kartik Agaram 2021-01-11 23:37:17 -08:00
parent 781b7a0854
commit ebf912eb7a
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Mu - baremetal/501draw-text-rightward.mu</title>
<title>Mu - baremetal/501draw-text.mu</title>
<meta name="Generator" content="Vim/8.1">
<meta name="plugin-version" content="vim8.1_v1">
<meta name="syntax" content="none">
@ -54,9 +54,9 @@ if ('onhashchange' in window) {
</script>
</head>
<body onload='JumpToLine();'>
<a href='https://github.com/akkartik/mu/blob/main/baremetal/501draw-text-rightward.mu'>https://github.com/akkartik/mu/blob/main/baremetal/501draw-text-rightward.mu</a>
<a href='https://github.com/akkartik/mu/blob/main/baremetal/501draw-text.mu'>https://github.com/akkartik/mu/blob/main/baremetal/501draw-text.mu</a>
<pre id='vimCodeElement'>
<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text-rightward.mu.html#L1'>draw-text-rightward</a></span> screen: (addr screen), text: (addr array byte), x: int, y: int, color: int <span class="Delimiter">{</span>
<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='501draw-text.mu.html#L1'>draw-text-rightward</a></span> screen: (addr screen), text: (addr array byte), x: int, y: int, color: int <span class="Delimiter">{</span>
<span id="L2" class="LineNr"> 2 </span> <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>)
<span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> stream/<span class="Constant">esi</span>: (addr stream byte) <span class="SpecialChar">&lt;-</span> address stream-storage
<span id="L4" class="LineNr"> 4 </span> <a href='108write.subx.html#L5'>write</a> stream, text

View File

@ -67,7 +67,7 @@ if ('onhashchange' in window) {
<span id="L10" class="LineNr">10 </span><span class="muComment"># Expected output: text 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='ex5.mu.html#L12'>main</a></span> <span class="Delimiter">{</span>
<span id="L13" class="LineNr">13 </span> <a href='501draw-text-rightward.mu.html#L1'>draw-text-rightward</a> <span class="Constant">0</span>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>, <span class="Constant">0x10</span>, <span class="Constant">0xa</span>
<span id="L13" class="LineNr">13 </span> <a href='501draw-text.mu.html#L1'>draw-text-rightward</a> <span class="Constant">0</span>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>, <span class="Constant">0x10</span>, <span class="Constant">0xa</span>
<span id="L14" class="LineNr">14 </span><span class="Delimiter">}</span>
</pre>
</body>