about summary refs log tree commit diff stats
path: root/html/apps/colors.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/apps/colors.mu.html')
-rw-r--r--html/apps/colors.mu.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/html/apps/colors.mu.html b/html/apps/colors.mu.html
index 2602ae6b..d7de09d0 100644
--- a/html/apps/colors.mu.html
+++ b/html/apps/colors.mu.html
@@ -73,16 +73,16 @@ if ('onhashchange' in window) {
 <span id="L10" class="LineNr"> 10 </span><span class="muComment">#   5</span>
 <span id="L11" class="LineNr"> 11 </span><span class="muComment"># This means only color 5 in the default palette is similar to #aa00aa.</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='colors.mu.html#L13'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
+<span id="L13" class="LineNr"> 13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L13'>main</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>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> in-storage: (stream byte <span class="Constant">0x10</span>)
 <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/eax: int <span class="Special">&lt;-</span> <a href='../501draw-text.mu.html#L113'>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#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L16'>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#L314'>draw-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space
+<span id="L22" class="LineNr"> 22 </span>      <a href='../500fake-screen.mu.html#L316'>draw-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x20</span>/space
 <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>
@@ -91,10 +91,10 @@ if ('onhashchange' in window) {
 <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> c/eax: code-point <span class="Special">&lt;-</span> copy key2  <span class="muComment"># TODO: unicode input</span>
-<span id="L31" class="LineNr"> 31 </span>      <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L31" class="LineNr"> 31 </span>      <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, c, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
 <span id="L32" class="LineNr"> 32 </span>      <span class="PreProc">loop</span>
 <span id="L33" class="LineNr"> 33 </span>    <span class="Delimiter">}</span>
-<span id="L34" class="LineNr"> 34 </span>    <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>
+<span id="L34" class="LineNr"> 34 </span>    <a href='../500fake-screen.mu.html#L330'>clear-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>
 <span id="L35" class="LineNr"> 35 </span>    <span class="muComment"># parse</span>
 <span id="L36" class="LineNr"> 36 </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="L37" class="LineNr"> 37 </span>    <span class="PreProc">var</span> b/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
@@ -109,14 +109,14 @@ if ('onhashchange' in window) {
 <span id="L46" class="LineNr"> 46 </span><span class="CommentedCode">#?     draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen screen, c, 7/fg, 0/bg</span>
 <span id="L47" class="LineNr"> 47 </span>    a, b, c <span class="Special">&lt;-</span> <a href='../505colors.mu.html#L51'>hsl</a> a, b, c
 <span id="L48" class="LineNr"> 48 </span>    <span class="muComment"># return all colors in the same quadrant in h, s and l</span>
-<span id="L49" class="LineNr"> 49 </span>    <a href='colors.mu.html#L188'>print-nearby-colors</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, a, b, c
+<span id="L49" class="LineNr"> 49 </span>    <a href='colors.mu.html#L188'>print-nearby-colors</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, a, b, c
 <span id="L50" class="LineNr"> 50 </span>    <span class="muComment"># another metric</span>
 <span id="L51" class="LineNr"> 51 </span>    <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='../505colors.mu.html#L260'>nearest-color-euclidean-hsl</a> a, b, c
-<span id="L52" class="LineNr"> 52 </span>    <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, <span class="Constant">0x26</span>/y
-<span id="L53" class="LineNr"> 53 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;nearest (euclidean, h/s/l): &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L54" class="LineNr"> 54 </span>    <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L55" class="LineNr"> 55 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
-<span id="L56" class="LineNr"> 56 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
+<span id="L52" class="LineNr"> 52 </span>    <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x10</span>/x, <span class="Constant">0x26</span>/y
+<span id="L53" class="LineNr"> 53 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">&quot;nearest (euclidean, h/s/l): &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L54" class="LineNr"> 54 </span>    <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L55" class="LineNr"> 55 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">0xf</span>/fg, <span class="Constant">0</span>/bg
+<span id="L56" class="LineNr"> 56 </span>    <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
 <span id="L57" class="LineNr"> 57 </span>    <span class="muComment">#</span>
 <span id="L58" class="LineNr"> 58 </span>    <span class="PreProc">loop</span>
 <span id="L59" class="LineNr"> 59 </span>  <span class="Delimiter">}</span>
@@ -248,7 +248,7 @@ if ('onhashchange' in window) {
 <span id="L185" class="LineNr">185 </span>  <span class="PreProc">return</span> result
 <span id="L186" class="LineNr">186 </span><span class="Delimiter">}</span>
 <span id="L187" class="LineNr">187 </span>
-<span id="L188" class="LineNr">188 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L188'>print-nearby-colors</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), h: int, s: int, l: int <span class="Delimiter">{</span>
+<span id="L188" class="LineNr">188 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='colors.mu.html#L188'>print-nearby-colors</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), h: int, s: int, l: int <span class="Delimiter">{</span>
 <span id="L189" class="LineNr">189 </span><span class="CommentedCode">#?   set-cursor-position screen, 0x10/x, 0x1c/y</span>
 <span id="L190" class="LineNr">190 </span><span class="CommentedCode">#?   draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen screen, h, 7/fg, 0/bg</span>
 <span id="L191" class="LineNr">191 </span><span class="CommentedCode">#?   draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, &quot; &quot;, 7/fg, 0/bg</span>
@@ -285,11 +285,11 @@ if ('onhashchange' in window) {
 <span id="L222" class="LineNr">222 </span>      <span class="PreProc">break-if-!=</span>
 <span id="L223" class="LineNr">223 </span>      compare c, l
 <span id="L224" class="LineNr">224 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L225" class="LineNr">225 </span>      <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/x, y
-<span id="L226" class="LineNr">226 </span>      <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L227" class="LineNr">227 </span>      <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x14</span>/x, y
-<span id="L228" class="LineNr">228 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
-<span id="L229" class="LineNr">229 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
+<span id="L225" class="LineNr">225 </span>      <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x10</span>/x, y
+<span id="L226" class="LineNr">226 </span>      <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, color, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L227" class="LineNr">227 </span>      <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x14</span>/x, y
+<span id="L228" class="LineNr">228 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">&quot; &quot;</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg
+<span id="L229" class="LineNr">229 </span>      <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">&quot;               &quot;</span>, <span class="Constant">0</span>/fg, color
 <span id="L230" class="LineNr">230 </span><span class="CommentedCode">#?       draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, &quot; &quot;, 7/fg, 0/bg</span>
 <span id="L231" class="LineNr">231 </span><span class="CommentedCode">#?       draw-int32-hex-wrapping-right-then-down-from-cursor-over-full-screen screen, a, 7/fg, 0/bg</span>
 <span id="L232" class="LineNr">232 </span><span class="CommentedCode">#?       draw-text-wrapping-right-then-down-from-cursor-over-full-screen screen, &quot; &quot;, 7/fg, 0/bg</span>