about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--baremetal/503manhattan-line.mu (renamed from baremetal/502manhattan-line.mu)0
-rw-r--r--html/baremetal/503manhattan-line.mu.html (renamed from html/baremetal/502manhattan-line.mu.html)18
-rw-r--r--html/baremetal/ex6.mu.html2
3 files changed, 10 insertions, 10 deletions
diff --git a/baremetal/502manhattan-line.mu b/baremetal/503manhattan-line.mu
index 0351fcb6..0351fcb6 100644
--- a/baremetal/502manhattan-line.mu
+++ b/baremetal/503manhattan-line.mu
diff --git a/html/baremetal/502manhattan-line.mu.html b/html/baremetal/503manhattan-line.mu.html
index fb41ad73..bb47dd36 100644
--- a/html/baremetal/502manhattan-line.mu.html
+++ b/html/baremetal/503manhattan-line.mu.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>Mu - baremetal/502manhattan-line.mu</title>
+<title>Mu - baremetal/503manhattan-line.mu</title>
 <meta name="Generator" content="Vim/8.1">
 <meta name="plugin-version" content="vim8.1_v1">
 <meta name="syntax" content="none">
@@ -53,16 +53,16 @@ if ('onhashchange' in window) {
 </script>
 </head>
 <body onload='JumpToLine();'>
-<a href='https://github.com/akkartik/mu/blob/main/baremetal/502manhattan-line.mu'>https://github.com/akkartik/mu/blob/main/baremetal/502manhattan-line.mu</a>
+<a href='https://github.com/akkartik/mu/blob/main/baremetal/503manhattan-line.mu'>https://github.com/akkartik/mu/blob/main/baremetal/503manhattan-line.mu</a>
 <pre id='vimCodeElement'>
-<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='502manhattan-line.mu.html#L1'>draw-box</a></span> screen: (addr screen), x1: int, y1: int, x2: int, y2: int, color: int <span class="Delimiter">{</span>
-<span id="L2" class="LineNr"> 2 </span>  <a href='502manhattan-line.mu.html#L8'>draw-horizontal-line</a> screen, x1, x2, y1, color
-<span id="L3" class="LineNr"> 3 </span>  <a href='502manhattan-line.mu.html#L19'>draw-vertical-line</a> screen, x1, y1, y2, color
-<span id="L4" class="LineNr"> 4 </span>  <a href='502manhattan-line.mu.html#L8'>draw-horizontal-line</a> screen, x1, x2, y2, color
-<span id="L5" class="LineNr"> 5 </span>  <a href='502manhattan-line.mu.html#L19'>draw-vertical-line</a> screen, x2, y1, y2, color
+<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='503manhattan-line.mu.html#L1'>draw-box</a></span> screen: (addr screen), x1: int, y1: int, x2: int, y2: int, color: int <span class="Delimiter">{</span>
+<span id="L2" class="LineNr"> 2 </span>  <a href='503manhattan-line.mu.html#L8'>draw-horizontal-line</a> screen, x1, x2, y1, color
+<span id="L3" class="LineNr"> 3 </span>  <a href='503manhattan-line.mu.html#L19'>draw-vertical-line</a> screen, x1, y1, y2, color
+<span id="L4" class="LineNr"> 4 </span>  <a href='503manhattan-line.mu.html#L8'>draw-horizontal-line</a> screen, x1, x2, y2, color
+<span id="L5" class="LineNr"> 5 </span>  <a href='503manhattan-line.mu.html#L19'>draw-vertical-line</a> screen, x2, y1, y2, color
 <span id="L6" class="LineNr"> 6 </span><span class="Delimiter">}</span>
 <span id="L7" class="LineNr"> 7 </span>
-<span id="L8" class="LineNr"> 8 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='502manhattan-line.mu.html#L8'>draw-horizontal-line</a></span> screen: (addr screen), x1: int, x2: int, y: int, color: int <span class="Delimiter">{</span>
+<span id="L8" class="LineNr"> 8 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='503manhattan-line.mu.html#L8'>draw-horizontal-line</a></span> screen: (addr screen), x1: int, x2: int, y: int, color: int <span class="Delimiter">{</span>
 <span id="L9" class="LineNr"> 9 </span>  <span class="PreProc">var</span> x/<span class="Constant">eax</span>: int <span class="SpecialChar">&lt;-</span> copy x1
 <span id="L10" class="LineNr">10 </span>  <span class="Delimiter">{</span>
 <span id="L11" class="LineNr">11 </span>    compare x, x2
@@ -73,7 +73,7 @@ if ('onhashchange' in window) {
 <span id="L16" class="LineNr">16 </span>  <span class="Delimiter">}</span>
 <span id="L17" class="LineNr">17 </span><span class="Delimiter">}</span>
 <span id="L18" class="LineNr">18 </span>
-<span id="L19" class="LineNr">19 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='502manhattan-line.mu.html#L19'>draw-vertical-line</a></span> screen: (addr screen), x: int, y1: int, y2: int, color: int <span class="Delimiter">{</span>
+<span id="L19" class="LineNr">19 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='503manhattan-line.mu.html#L19'>draw-vertical-line</a></span> screen: (addr screen), x: int, y1: int, y2: int, color: int <span class="Delimiter">{</span>
 <span id="L20" class="LineNr">20 </span>  <span class="PreProc">var</span> y/<span class="Constant">eax</span>: int <span class="SpecialChar">&lt;-</span> copy y1
 <span id="L21" class="LineNr">21 </span>  <span class="Delimiter">{</span>
 <span id="L22" class="LineNr">22 </span>    compare y, y2
diff --git a/html/baremetal/ex6.mu.html b/html/baremetal/ex6.mu.html
index 7d63c3fb..5121d218 100644
--- a/html/baremetal/ex6.mu.html
+++ b/html/baremetal/ex6.mu.html
@@ -69,7 +69,7 @@ if ('onhashchange' in window) {
 <span id="L11" class="LineNr">11 </span>
 <span id="L12" class="LineNr">12 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex6.mu.html#L12'>main</a></span> <span class="Delimiter">{</span>
 <span id="L13" class="LineNr">13 </span>  <span class="muComment"># drawing text within a bounding box</span>
-<span id="L14" class="LineNr">14 </span>  <a href='502manhattan-line.mu.html#L1'>draw-box</a> <span class="Constant">0</span>, <span class="Constant">0xf</span>, <span class="Constant">0x1f</span>, <span class="Constant">0x79</span>, <span class="Constant">0x51</span>, <span class="Constant">0x4</span>
+<span id="L14" class="LineNr">14 </span>  <a href='503manhattan-line.mu.html#L1'>draw-box</a> <span class="Constant">0</span>, <span class="Constant">0xf</span>, <span class="Constant">0x1f</span>, <span class="Constant">0x79</span>, <span class="Constant">0x51</span>, <span class="Constant">0x4</span>
 <span id="L15" class="LineNr">15 </span>  <span class="PreProc">var</span> x/<span class="Constant">eax</span>: int <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0x20</span>
 <span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> y/<span class="Constant">ecx</span>: int <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0x20</span>
 <span id="L17" class="LineNr">17 </span>  x, y <span class="SpecialChar">&lt;-</span> <a href='501draw-text.mu.html#L112'>draw-text-wrapping-right-then-down</a> <span class="Constant">0</span>, <span class="Constant">&quot;hello &quot;</span>,     <span class="Constant">0x10</span>, <span class="Constant">0x20</span>, <span class="Constant">0x78</span>, <span class="Constant">0x50</span>, x, y, <span class="Constant">0xa</span>  <span class="muComment"># (0x10, 0x20) -&gt; (0x78, 0x50)</span>