about summary refs log tree commit diff stats
path: root/html/colors.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/colors.mu.html')
-rw-r--r--html/colors.mu.html53
1 files changed, 26 insertions, 27 deletions
diff --git a/html/colors.mu.html b/html/colors.mu.html
index 0c5a02bb..16f6f87c 100644
--- a/html/colors.mu.html
+++ b/html/colors.mu.html
@@ -14,19 +14,18 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
-.muRegEcx { color: #af875f; }
-.muComment { color: #005faf; }
-.CommentedCode { color: #8a8a8a; }
-.LineNr { }
-.muRegEdx { color: #878700; }
+.PreProc { color: #c000c0; }
+.muRegEdx { color: #af5f00; }
 .Special { color: #ff6060; }
-.muRegEsi { color: #87d787; }
-.muRegEax { color: #875f00; }
+.LineNr { }
+.muRegEsi { color: #005faf; }
+.muRegEbx { color: #5f00ff; }
+.Constant { color: #008787; }
+.muRegEcx { color: #870000; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
-.muRegEbx { color: #8787af; }
-.Constant { color: #008787; }
-.PreProc { color: #c000c0; }
+.CommentedCode { color: #8a8a8a; }
+.muComment { color: #005faf; }
 -->
 </style>
 
@@ -79,19 +78,19 @@ if ('onhashchange' in window) {
 <span id="L15" class="LineNr"> 15 </span>  <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address in-storage
 <span id="L16" class="LineNr"> 16 </span>  <span class="Delimiter">{</span>
 <span id="L17" class="LineNr"> 17 </span>    <span class="muComment"># print prompt</span>
-<span id="L18" class="LineNr"> 18 </span>    <span class="PreProc">var</span> x/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Enter 3 hex bytes for r, g, b (lowercase; no 0x prefix) separated by a single space&gt; &quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x28</span>/y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
+<span id="L18" class="LineNr"> 18 </span>    <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;Enter 3 hex bytes for r, g, b (lowercase; no 0x prefix) separated by a single space&gt; &quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x28</span>/y, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg
 <span id="L19" class="LineNr"> 19 </span>    <span class="muComment"># read line from keyboard</span>
 <span id="L20" class="LineNr"> 20 </span>    <a href='106stream.subx.html#L20'>clear-stream</a> in
 <span id="L21" class="LineNr"> 21 </span>    <span class="Delimiter">{</span>
 <span id="L22" class="LineNr"> 22 </span>      <a href='500fake-screen.mu.html#L237'>draw-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space
-<span id="L23" class="LineNr"> 23 </span>      <span class="PreProc">var</span> key/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard
+<span id="L23" class="LineNr"> 23 </span>      <span class="PreProc">var</span> key/eax: byte <span class="Special">&lt;-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard
 <span id="L24" class="LineNr"> 24 </span>      compare key, <span class="Constant">0xa</span>/newline
 <span id="L25" class="LineNr"> 25 </span>      <span class="PreProc">break-if-=</span>
 <span id="L26" class="LineNr"> 26 </span>      compare key, <span class="Constant">0</span>
 <span id="L27" class="LineNr"> 27 </span>      <span class="PreProc">loop-if-=</span>
-<span id="L28" class="LineNr"> 28 </span>      <span class="PreProc">var</span> key2/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy key
+<span id="L28" class="LineNr"> 28 </span>      <span class="PreProc">var</span> key2/eax: int <span class="Special">&lt;-</span> copy key
 <span id="L29" class="LineNr"> 29 </span>      <a href='115write-byte.subx.html#L12'>append-byte</a> in, key2
-<span id="L30" class="LineNr"> 30 </span>      <span class="PreProc">var</span> g/<span class="muRegEax">eax</span>: grapheme <span class="Special">&lt;-</span> copy key2
+<span id="L30" class="LineNr"> 30 </span>      <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> copy key2
 <span id="L31" class="LineNr"> 31 </span>      <a href='501draw-text.mu.html#L84'>draw-grapheme-at-cursor</a> <a href='500fake-screen.mu.html#L14'>screen</a>, g, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
 <span id="L32" class="LineNr"> 32 </span>      <a href='501draw-text.mu.html#L16'>move-cursor-right</a> <span class="Constant">0</span>
 <span id="L33" class="LineNr"> 33 </span>      <span class="PreProc">loop</span>
@@ -121,9 +120,9 @@ if ('onhashchange' in window) {
 <span id="L57" class="LineNr"> 57 </span><span class="muComment"># Each word consists of exactly 1 or 2 hex bytes. No hex prefix.</span>
 <span id="L58" class="LineNr"> 58 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L58'>parse</a></span> in: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="muRegEcx">ecx</span>: int, _/<span class="muRegEdx">edx</span>: int, _/<span class="muRegEbx">ebx</span>: int <span class="Delimiter">{</span>
 <span id="L59" class="LineNr"> 59 </span>  <span class="muComment"># read first byte of r</span>
-<span id="L60" class="LineNr"> 60 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
+<span id="L60" class="LineNr"> 60 </span>  <span class="PreProc">var</span> tmp/eax: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L61" class="LineNr"> 61 </span>  <span class="Delimiter">{</span>
-<span id="L62" class="LineNr"> 62 </span>    <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L62" class="LineNr"> 62 </span>    <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L63" class="LineNr"> 63 </span>    compare valid?, <span class="Constant">0</span>/false
 <span id="L64" class="LineNr"> 64 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L65" class="LineNr"> 65 </span>    <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;invalid byte 0 of r&quot;</span>
@@ -136,7 +135,7 @@ if ('onhashchange' in window) {
 <span id="L72" class="LineNr"> 72 </span>  tmp <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L73" class="LineNr"> 73 </span>  <span class="Delimiter">{</span>
 <span id="L74" class="LineNr"> 74 </span>    <span class="Delimiter">{</span>
-<span id="L75" class="LineNr"> 75 </span>      <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L75" class="LineNr"> 75 </span>      <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L76" class="LineNr"> 76 </span>      compare valid?, <span class="Constant">0</span>/false
 <span id="L77" class="LineNr"> 77 </span>    <span class="Delimiter">}</span>
 <span id="L78" class="LineNr"> 78 </span>    <span class="PreProc">break-if-=</span>
@@ -155,9 +154,9 @@ if ('onhashchange' in window) {
 <span id="L91" class="LineNr"> 91 </span>    tmp <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in  <span class="muComment"># skip space</span>
 <span id="L92" class="LineNr"> 92 </span>  <span class="Delimiter">}</span>
 <span id="L93" class="LineNr"> 93 </span>  <span class="muComment"># read first byte of g</span>
-<span id="L94" class="LineNr"> 94 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
+<span id="L94" class="LineNr"> 94 </span>  <span class="PreProc">var</span> tmp/eax: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L95" class="LineNr"> 95 </span>  <span class="Delimiter">{</span>
-<span id="L96" class="LineNr"> 96 </span>    <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L96" class="LineNr"> 96 </span>    <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L97" class="LineNr"> 97 </span>    compare valid?, <span class="Constant">0</span>/false
 <span id="L98" class="LineNr"> 98 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L99" class="LineNr"> 99 </span>    <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;invalid byte 0 of g&quot;</span>
@@ -170,7 +169,7 @@ if ('onhashchange' in window) {
 <span id="L106" class="LineNr">106 </span>  tmp <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L107" class="LineNr">107 </span>  <span class="Delimiter">{</span>
 <span id="L108" class="LineNr">108 </span>    <span class="Delimiter">{</span>
-<span id="L109" class="LineNr">109 </span>      <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L109" class="LineNr">109 </span>      <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L110" class="LineNr">110 </span>      compare valid?, <span class="Constant">0</span>/false
 <span id="L111" class="LineNr">111 </span>    <span class="Delimiter">}</span>
 <span id="L112" class="LineNr">112 </span>    <span class="PreProc">break-if-=</span>
@@ -189,9 +188,9 @@ if ('onhashchange' in window) {
 <span id="L125" class="LineNr">125 </span>    tmp <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in  <span class="muComment"># skip space</span>
 <span id="L126" class="LineNr">126 </span>  <span class="Delimiter">}</span>
 <span id="L127" class="LineNr">127 </span>  <span class="muComment"># read first byte of b</span>
-<span id="L128" class="LineNr">128 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
+<span id="L128" class="LineNr">128 </span>  <span class="PreProc">var</span> tmp/eax: byte <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L129" class="LineNr">129 </span>  <span class="Delimiter">{</span>
-<span id="L130" class="LineNr">130 </span>    <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L130" class="LineNr">130 </span>    <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L131" class="LineNr">131 </span>    compare valid?, <span class="Constant">0</span>/false
 <span id="L132" class="LineNr">132 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L133" class="LineNr">133 </span>    <a href='317abort.subx.html#L5'>abort</a> <span class="Constant">&quot;invalid byte 0 of b&quot;</span>
@@ -203,13 +202,13 @@ if ('onhashchange' in window) {
 <span id="L139" class="LineNr">139 </span>  <span class="muComment"># read second byte of b</span>
 <span id="L140" class="LineNr">140 </span>  <span class="Delimiter">{</span>
 <span id="L141" class="LineNr">141 </span>    <span class="Delimiter">{</span>
-<span id="L142" class="LineNr">142 </span>      <span class="PreProc">var</span> done?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> in
+<span id="L142" class="LineNr">142 </span>      <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='309stream.subx.html#L6'>stream-empty?</a> in
 <span id="L143" class="LineNr">143 </span>      compare done?, <span class="Constant">0</span>/false
 <span id="L144" class="LineNr">144 </span>    <span class="Delimiter">}</span>
 <span id="L145" class="LineNr">145 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L146" class="LineNr">146 </span>    tmp <span class="Special">&lt;-</span> <a href='112read-byte.subx.html#L13'>read-byte</a> in
 <span id="L147" class="LineNr">147 </span>    <span class="Delimiter">{</span>
-<span id="L148" class="LineNr">148 </span>      <span class="PreProc">var</span> valid?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
+<span id="L148" class="LineNr">148 </span>      <span class="PreProc">var</span> valid?/eax: boolean <span class="Special">&lt;-</span> <a href='118parse-hex-int.subx.html#L701'>hex-digit?</a> tmp
 <span id="L149" class="LineNr">149 </span>      compare valid?, <span class="Constant">0</span>/false
 <span id="L150" class="LineNr">150 </span>    <span class="Delimiter">}</span>
 <span id="L151" class="LineNr">151 </span>    <span class="PreProc">break-if-=</span>
@@ -230,8 +229,8 @@ if ('onhashchange' in window) {
 <span id="L166" class="LineNr">166 </span><span class="Delimiter">}</span>
 <span id="L167" class="LineNr">167 </span>
 <span id="L168" class="LineNr">168 </span><span class="muComment"># no error checking</span>
-<span id="L169" class="LineNr">169 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L169'>fast-hex-digit-value</a></span> in: byte<span class="PreProc"> -&gt; </span>_/<span class="muRegEax">eax</span>: byte <span class="Delimiter">{</span>
-<span id="L170" class="LineNr">170 </span>  <span class="PreProc">var</span> result/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> copy in
+<span id="L169" class="LineNr">169 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L169'>fast-hex-digit-value</a></span> in: byte<span class="PreProc"> -&gt; </span>_/eax: byte <span class="Delimiter">{</span>
+<span id="L170" class="LineNr">170 </span>  <span class="PreProc">var</span> result/eax: byte <span class="Special">&lt;-</span> copy in
 <span id="L171" class="LineNr">171 </span>  compare result, <span class="Constant">0x39</span>
 <span id="L172" class="LineNr">172 </span>  <span class="Delimiter">{</span>
 <span id="L173" class="LineNr">173 </span>    <span class="PreProc">break-if-&gt;</span>
@@ -263,7 +262,7 @@ if ('onhashchange' in window) {
 <span id="L199" class="LineNr">199 </span>  <span class="PreProc">var</span> a/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L200" class="LineNr">200 </span>  <span class="PreProc">var</span> b/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L201" class="LineNr">201 </span>  <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L202" class="LineNr">202 </span>  <span class="PreProc">var</span> color/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L202" class="LineNr">202 </span>  <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L203" class="LineNr">203 </span>  <span class="PreProc">var</span> y/<span class="muRegEsi">esi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">2</span>
 <span id="L204" class="LineNr">204 </span>  <span class="Delimiter">{</span>
 <span id="L205" class="LineNr">205 </span>    compare color, <span class="Constant">0x100</span>