about summary refs log tree commit diff stats
path: root/html/507line.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/507line.mu.html')
-rw-r--r--html/507line.mu.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/html/507line.mu.html b/html/507line.mu.html
index b591de21..2464ab0a 100644
--- a/html/507line.mu.html
+++ b/html/507line.mu.html
@@ -59,7 +59,7 @@ if ('onhashchange' in window) {
 <body onload='JumpToLine();'>
 <a href='https://github.com/akkartik/mu/blob/main/507line.mu'>https://github.com/akkartik/mu/blob/main/507line.mu</a>
 <pre id='vimCodeElement'>
-<span id="L1" class="LineNr">  1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L1'>draw-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x0: int, y0: int, x1: int, y1: int, color: int <span class="Delimiter">{</span>
+<span id="L1" class="LineNr">  1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L1'>draw-line</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), x0: int, y0: int, x1: int, y1: int, color: int <span class="Delimiter">{</span>
 <span id="L2" class="LineNr">  2 </span>  <span class="PreProc">var</span> dx: int
 <span id="L3" class="LineNr">  3 </span>  <span class="PreProc">var</span> dy: int
 <span id="L4" class="LineNr">  4 </span>  <span class="PreProc">var</span> sx: int
@@ -90,7 +90,7 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr"> 29 </span>  <span class="PreProc">var</span> x/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x0
 <span id="L30" class="LineNr"> 30 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy y0
 <span id="L31" class="LineNr"> 31 </span>  $draw-line:<span class="PreProc">loop</span>: <span class="Delimiter">{</span>
-<span id="L32" class="LineNr"> 32 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L32" class="LineNr"> 32 </span>    <a href='500fake-screen.mu.html#L580'>pixel</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y, color
 <span id="L33" class="LineNr"> 33 </span>    <span class="muComment"># if (x == x1 &amp;&amp; y == y1) break</span>
 <span id="L34" class="LineNr"> 34 </span>    <span class="Delimiter">{</span>
 <span id="L35" class="LineNr"> 35 </span>      compare x, x1
@@ -122,34 +122,34 @@ if ('onhashchange' in window) {
 <span id="L61" class="LineNr"> 61 </span>  <span class="Delimiter">}</span>
 <span id="L62" class="LineNr"> 62 </span><span class="Delimiter">}</span>
 <span id="L63" class="LineNr"> 63 </span>
-<span id="L64" class="LineNr"> 64 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L64'>draw-horizontal-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), y: int, x0: int, x1: int, color: int <span class="Delimiter">{</span>
+<span id="L64" class="LineNr"> 64 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L64'>draw-horizontal-line</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), y: int, x0: int, x1: int, color: int <span class="Delimiter">{</span>
 <span id="L65" class="LineNr"> 65 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy x0
 <span id="L66" class="LineNr"> 66 </span>  <span class="Delimiter">{</span>
 <span id="L67" class="LineNr"> 67 </span>    compare x, x1
 <span id="L68" class="LineNr"> 68 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L69" class="LineNr"> 69 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L69" class="LineNr"> 69 </span>    <a href='500fake-screen.mu.html#L580'>pixel</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y, color
 <span id="L70" class="LineNr"> 70 </span>    x <span class="Special">&lt;-</span> increment
 <span id="L71" class="LineNr"> 71 </span>    <span class="PreProc">loop</span>
 <span id="L72" class="LineNr"> 72 </span>  <span class="Delimiter">}</span>
 <span id="L73" class="LineNr"> 73 </span><span class="Delimiter">}</span>
 <span id="L74" class="LineNr"> 74 </span>
-<span id="L75" class="LineNr"> 75 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L75'>draw-vertical-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y0: int, y1: int, color: int <span class="Delimiter">{</span>
+<span id="L75" class="LineNr"> 75 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L75'>draw-vertical-line</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), x: int, y0: int, y1: int, color: int <span class="Delimiter">{</span>
 <span id="L76" class="LineNr"> 76 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy y0
 <span id="L77" class="LineNr"> 77 </span>  <span class="Delimiter">{</span>
 <span id="L78" class="LineNr"> 78 </span>    compare y, y1
 <span id="L79" class="LineNr"> 79 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L80" class="LineNr"> 80 </span>    <a href='500fake-screen.mu.html#L578'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y, color
+<span id="L80" class="LineNr"> 80 </span>    <a href='500fake-screen.mu.html#L580'>pixel</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y, color
 <span id="L81" class="LineNr"> 81 </span>    y <span class="Special">&lt;-</span> increment
 <span id="L82" class="LineNr"> 82 </span>    <span class="PreProc">loop</span>
 <span id="L83" class="LineNr"> 83 </span>  <span class="Delimiter">}</span>
 <span id="L84" class="LineNr"> 84 </span><span class="Delimiter">}</span>
 <span id="L85" class="LineNr"> 85 </span>
-<span id="L86" class="LineNr"> 86 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L86'>draw-rect</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int, xmax: int, ymax: int, color: int <span class="Delimiter">{</span>
+<span id="L86" class="LineNr"> 86 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L86'>draw-rect</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), xmin: int, ymin: int, xmax: int, ymax: int, color: int <span class="Delimiter">{</span>
 <span id="L87" class="LineNr"> 87 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
 <span id="L88" class="LineNr"> 88 </span>  <span class="Delimiter">{</span>
 <span id="L89" class="LineNr"> 89 </span>    compare y, ymax
 <span id="L90" class="LineNr"> 90 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L91" class="LineNr"> 91 </span>    <a href='507line.mu.html#L64'>draw-horizontal-line</a> <a href='500fake-screen.mu.html#L14'>screen</a>, y, xmin, xmax, color
+<span id="L91" class="LineNr"> 91 </span>    <a href='507line.mu.html#L64'>draw-horizontal-line</a> <a href='500fake-screen.mu.html#L16'>screen</a>, y, xmin, xmax, color
 <span id="L92" class="LineNr"> 92 </span>    y <span class="Special">&lt;-</span> increment
 <span id="L93" class="LineNr"> 93 </span>    <span class="PreProc">loop</span>
 <span id="L94" class="LineNr"> 94 </span>  <span class="Delimiter">}</span>