about summary refs log tree commit diff stats
path: root/html/apps/hest-life.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-11-09 09:23:31 -0800
committerKartik Agaram <vc@akkartik.com>2021-11-09 09:23:31 -0800
commit3ff2fe607c2cb5690d201d3b83ddcc957e949b7a (patch)
tree2dd6019731bad313ecf0423d6063c9d0fa0bb77e /html/apps/hest-life.mu.html
parentef8fd8851a883eefd7bd55ffc31d6e00f67d50a8 (diff)
downloadmu-3ff2fe607c2cb5690d201d3b83ddcc957e949b7a.tar.gz
.
Diffstat (limited to 'html/apps/hest-life.mu.html')
-rw-r--r--html/apps/hest-life.mu.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/html/apps/hest-life.mu.html b/html/apps/hest-life.mu.html
index 451bb147..f4363851 100644
--- a/html/apps/hest-life.mu.html
+++ b/html/apps/hest-life.mu.html
@@ -92,7 +92,7 @@ if ('onhashchange' in window) {
 <span id="L28" class="LineNr">  28 </span>  <span class="PreProc">var</span> second-screen/<span class="muRegEdi">edi</span>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> address second-buffer
 <span id="L29" class="LineNr">  29 </span>  <a href='../500fake-screen.mu.html#L34'>initialize-screen</a> second-screen, <span class="Constant">0x80</span>, <span class="Constant">0x30</span>, <span class="Constant">1</span>/include-pixels
 <span id="L30" class="LineNr">  30 </span>  <a href='hest-life.mu.html#L63'>render</a> second-screen, env
-<span id="L31" class="LineNr">  31 </span>  convert-graphemes-to-pixels second-screen
+<span id="L31" class="LineNr">  31 </span>  convert-code-point-utf8s-to-pixels second-screen
 <span id="L32" class="LineNr">  32 </span>  <a href='../500fake-screen.mu.html#L643'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L16'>screen</a>
 <span id="L33" class="LineNr">  33 </span>  <span class="Delimiter">{</span>
 <span id="L34" class="LineNr">  34 </span>    <a href='hest-life.mu.html#L595'>edit</a> keyboard, env
@@ -103,7 +103,7 @@ if ('onhashchange' in window) {
 <span id="L39" class="LineNr">  39 </span>      <a href='hest-life.mu.html#L679'>step</a> env
 <span id="L40" class="LineNr">  40 </span>      <a href='../500fake-screen.mu.html#L330'>clear-screen</a> second-screen
 <span id="L41" class="LineNr">  41 </span>      <a href='hest-life.mu.html#L63'>render</a> second-screen, env
-<span id="L42" class="LineNr">  42 </span>      convert-graphemes-to-pixels second-screen
+<span id="L42" class="LineNr">  42 </span>      convert-code-point-utf8s-to-pixels second-screen
 <span id="L43" class="LineNr">  43 </span>      <a href='../500fake-screen.mu.html#L643'>copy-pixels</a> second-screen, <a href='../500fake-screen.mu.html#L16'>screen</a>
 <span id="L44" class="LineNr">  44 </span>    <span class="Delimiter">}</span>
 <span id="L45" class="LineNr">  45 </span>    <a href='hest-life.mu.html#L1019'>linger</a>
@@ -147,7 +147,7 @@ if ('onhashchange' in window) {
 <span id="L83" class="LineNr">  83 </span>  <span class="muComment"># clock</span>
 <span id="L84" class="LineNr">  84 </span>  <span class="PreProc">var</span> tick-a/eax: (addr int) <span class="Special">&lt;-</span> get self, tick
 <span id="L85" class="LineNr">  85 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x78</span>/x, <span class="Constant">0</span>/y
-<span id="L86" class="LineNr">  86 </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>, *tick-a, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
+<span id="L86" class="LineNr">  86 </span>  <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, *tick-a, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg
 <span id="L87" class="LineNr">  87 </span><span class="Delimiter">}</span>
 <span id="L88" class="LineNr">  88 </span>
 <span id="L89" class="LineNr">  89 </span><span class="muComment"># Lots of hardcoded constants for now.</span>
@@ -181,7 +181,7 @@ if ('onhashchange' in window) {
 <span id="L117" class="LineNr"> 117 </span>  <span class="muComment"># sum node</span>
 <span id="L118" class="LineNr"> 118 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x170</span>/xsmin <span class="Constant">0x140</span>/ysmin,  <span class="Constant">0x190</span>/xsmax <span class="Constant">0x160</span>/ysmax, <span class="Constant">0x40</span>/color
 <span id="L119" class="LineNr"> 119 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x2d</span>/scol, <span class="Constant">0x13</span>/srow
-<span id="L120" class="LineNr"> 120 </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>/color, <span class="Constant">0</span>/bg
+<span id="L120" class="LineNr"> 120 </span>  <a href='../501draw-text.mu.html#L332'>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>/color, <span class="Constant">0</span>/bg
 <span id="L121" class="LineNr"> 121 </span>  <span class="muComment"># conveyors from neighboring inputs to sum node</span>
 <span id="L122" class="LineNr"> 122 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L16'>screen</a>,  <span class="Constant">0xa0</span>/x0  <span class="Constant">0x20</span>/y0,  <span class="Constant">0x100</span>/x1 <span class="Constant">0x150</span>/ys,  <span class="Constant">0x180</span>/xs <span class="Constant">0x150</span>/ys,  <span class="Constant">4</span>/color
 <span id="L123" class="LineNr"> 123 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L16'>screen</a>,  <span class="Constant">0xa0</span>/x0 <span class="Constant">0x180</span>/y0,   <span class="Constant">0xc0</span>/x1 <span class="Constant">0x150</span>/ys,  <span class="Constant">0x180</span>/xs <span class="Constant">0x150</span>/ys,  <span class="Constant">4</span>/color
@@ -194,7 +194,7 @@ if ('onhashchange' in window) {
 <span id="L130" class="LineNr"> 130 </span>  <span class="muComment"># filter node</span>
 <span id="L131" class="LineNr"> 131 </span>  <a href='../507line.mu.html#L86'>draw-rect</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x200</span>/xfmin <span class="Constant">0x1c0</span>/yfmin, <span class="Constant">0x220</span>/xfmax <span class="Constant">0x1e0</span>/yfmax, <span class="Constant">0x31</span>/color
 <span id="L132" class="LineNr"> 132 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x40</span>/fcol, <span class="Constant">0x1b</span>/frow
-<span id="L133" class="LineNr"> 133 </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>/color, <span class="Constant">0</span>/bg
+<span id="L133" class="LineNr"> 133 </span>  <a href='../501draw-text.mu.html#L332'>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>/color, <span class="Constant">0</span>/bg
 <span id="L134" class="LineNr"> 134 </span>  <span class="muComment"># conveyor from sum node to filter node</span>
 <span id="L135" class="LineNr"> 135 </span>  <a href='../507line.mu.html#L1'>draw-line</a> <a href='../500fake-screen.mu.html#L16'>screen</a> <span class="Constant">0x180</span>/xs, <span class="Constant">0x150</span>/ys, <span class="Constant">0x210</span>/xf, <span class="Constant">0x1d0</span>/yf, <span class="Constant">0xa2</span>/color
 <span id="L136" class="LineNr"> 136 </span>  <span class="muComment"># cell outputs at corners</span>
@@ -253,7 +253,7 @@ if ('onhashchange' in window) {
 <span id="L189" class="LineNr"> 189 </span>    <a href='hest-life.mu.html#L588'>draw-linear-point</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, u, <span class="Constant">0x180</span>/xs, <span class="Constant">0x150</span>/ys, <span class="Constant">0x210</span>/xf, <span class="Constant">0x1d0</span>/yf, <span class="Constant">7</span>/color, <span class="Constant">4</span>/radius
 <span id="L190" class="LineNr"> 190 </span>    <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x3a</span>/scol, <span class="Constant">0x18</span>/srow
 <span id="L191" class="LineNr"> 191 </span>    <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x60</span>/cury
-<span id="L192" class="LineNr"> 192 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L192" class="LineNr"> 192 </span>    <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L193" class="LineNr"> 193 </span>    <span class="PreProc">return</span>
 <span id="L194" class="LineNr"> 194 </span>  <span class="Delimiter">}</span>
 <span id="L195" class="LineNr"> 195 </span>  <span class="muComment"># final 7 time steps for updating output</span>
@@ -370,16 +370,16 @@ if ('onhashchange' in window) {
 <span id="L306" class="LineNr"> 306 </span>  <span class="muComment"># neighbor counts</span>
 <span id="L307" class="LineNr"> 307 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x60</span>/cury
 <span id="L308" class="LineNr"> 308 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0xe</span>
-<span id="L309" class="LineNr"> 309 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L309" class="LineNr"> 309 </span>  <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L310" class="LineNr"> 310 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x81</span>/curx, <span class="Constant">0x60</span>/cury
 <span id="L311" class="LineNr"> 311 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0xe</span>
-<span id="L312" class="LineNr"> 312 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L312" class="LineNr"> 312 </span>  <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L313" class="LineNr"> 313 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x80</span>/curx, <span class="Constant">0x61</span>/cury
 <span id="L314" class="LineNr"> 314 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x2d</span>, <span class="Constant">0x20</span>
-<span id="L315" class="LineNr"> 315 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L315" class="LineNr"> 315 </span>  <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L316" class="LineNr"> 316 </span>  <span class="PreProc">var</span> n/eax: int <span class="Special">&lt;-</span> <a href='hest-life.mu.html#L953'>num-live-neighbors</a> self, <span class="Constant">0x81</span>/curx, <span class="Constant">0x61</span>/cury
 <span id="L317" class="LineNr"> 317 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x52</span>, <span class="Constant">0x20</span>
-<span id="L318" class="LineNr"> 318 </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>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
+<span id="L318" class="LineNr"> 318 </span>  <a href='../501draw-text.mu.html#L442'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, n, <span class="Constant">0xf</span>/fg <span class="Constant">0</span>/bg
 <span id="L319" class="LineNr"> 319 </span>  <span class="muComment"># cell 0: conveyors from neighboring inputs to sum node</span>
 <span id="L320" class="LineNr"> 320 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L16'>screen</a>,  <span class="Constant">0xc0</span>/x0  <span class="Constant">0x40</span>/y0,  <span class="Constant">0x100</span>/x1  <span class="Constant">0xd0</span>/ys, <span class="Constant">0x150</span>/xs  <span class="Constant">0xd0</span>/ys,  <span class="Constant">4</span>/color
 <span id="L321" class="LineNr"> 321 </span>  <a href='../509bezier.mu.html#L14'>draw-monotonic-bezier</a> <a href='../500fake-screen.mu.html#L16'>screen</a>,  <span class="Constant">0xc0</span>/x0  <span class="Constant">0xe8</span>/y0,   <span class="Constant">0xc0</span>/x1  <span class="Constant">0xd0</span>/ys, <span class="Constant">0x150</span>/xs  <span class="Constant">0xd0</span>/ys,  <span class="Constant">4</span>/color