about summary refs log tree commit diff stats
path: root/html/apps/tile/surface.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/apps/tile/surface.mu.html')
-rw-r--r--html/apps/tile/surface.mu.html42
1 files changed, 21 insertions, 21 deletions
diff --git a/html/apps/tile/surface.mu.html b/html/apps/tile/surface.mu.html
index 16332221..21a13126 100644
--- a/html/apps/tile/surface.mu.html
+++ b/html/apps/tile/surface.mu.html
@@ -190,33 +190,33 @@ if ('onhashchange' in window) {
 <span id="L130" class="LineNr">130 </span><span class="muComment"># print a cell with all its formatting at the cursor location</span>
 <span id="L131" class="LineNr">131 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='surface.mu.html#L131'>print-screen-cell</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr <a href='../../405screen.mu.html#L9'>screen</a>), _cell: (addr <a href='../../405screen.mu.html#L20'>screen-cell</a>) <span class="Delimiter">{</span>
 <span id="L132" class="LineNr">132 </span>  <span class="PreProc">var</span> cell/<span class="Constant">esi</span>: (addr <a href='../../405screen.mu.html#L20'>screen-cell</a>) <span class="SpecialChar">&lt;-</span> copy _cell
-<span id="L133" class="LineNr">133 </span>  <a href='../../405screen.mu.html#L492'>reset-formatting</a> <a href='../../405screen.mu.html#L9'>screen</a>
+<span id="L133" class="LineNr">133 </span>  <a href='../../405screen.mu.html#L491'>reset-formatting</a> <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L134" class="LineNr">134 </span>  <span class="PreProc">var</span> fg/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, color
 <span id="L135" class="LineNr">135 </span>  <span class="PreProc">var</span> bg/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, background-color
-<span id="L136" class="LineNr">136 </span>  <a href='../../405screen.mu.html#L509'>start-color</a> <a href='../../405screen.mu.html#L9'>screen</a>, *fg, *bg
+<span id="L136" class="LineNr">136 </span>  <a href='../../405screen.mu.html#L508'>start-color</a> <a href='../../405screen.mu.html#L9'>screen</a>, *fg, *bg
 <span id="L137" class="LineNr">137 </span>  <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr boolean) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, bold?
 <span id="L138" class="LineNr">138 </span>  <span class="Delimiter">{</span>
 <span id="L139" class="LineNr">139 </span>    compare *tmp, <span class="Constant">0</span>
 <span id="L140" class="LineNr">140 </span>    <span class="PreProc">break-if-=</span>
-<span id="L141" class="LineNr">141 </span>    <a href='../../405screen.mu.html#L527'>start-bold</a> <a href='../../405screen.mu.html#L9'>screen</a>
+<span id="L141" class="LineNr">141 </span>    <a href='../../405screen.mu.html#L526'>start-bold</a> <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L142" class="LineNr">142 </span>  <span class="Delimiter">}</span>
 <span id="L143" class="LineNr">143 </span>  <span class="Delimiter">{</span>
 <span id="L144" class="LineNr">144 </span>    tmp <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, underline?
 <span id="L145" class="LineNr">145 </span>    compare *tmp, <span class="Constant">0</span>
 <span id="L146" class="LineNr">146 </span>    <span class="PreProc">break-if-=</span>
-<span id="L147" class="LineNr">147 </span>    <a href='../../405screen.mu.html#L541'>start-underline</a> <a href='../../405screen.mu.html#L9'>screen</a>
+<span id="L147" class="LineNr">147 </span>    <a href='../../405screen.mu.html#L540'>start-underline</a> <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L148" class="LineNr">148 </span>  <span class="Delimiter">}</span>
 <span id="L149" class="LineNr">149 </span>  <span class="Delimiter">{</span>
 <span id="L150" class="LineNr">150 </span>    tmp <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, reverse?
 <span id="L151" class="LineNr">151 </span>    compare *tmp, <span class="Constant">0</span>
 <span id="L152" class="LineNr">152 </span>    <span class="PreProc">break-if-=</span>
-<span id="L153" class="LineNr">153 </span>    <a href='../../405screen.mu.html#L555'>start-reverse-video</a> <a href='../../405screen.mu.html#L9'>screen</a>
+<span id="L153" class="LineNr">153 </span>    <a href='../../405screen.mu.html#L554'>start-reverse-video</a> <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L154" class="LineNr">154 </span>  <span class="Delimiter">}</span>
 <span id="L155" class="LineNr">155 </span>  <span class="Delimiter">{</span>
 <span id="L156" class="LineNr">156 </span>    tmp <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, blink?
 <span id="L157" class="LineNr">157 </span>    compare *tmp, <span class="Constant">0</span>
 <span id="L158" class="LineNr">158 </span>    <span class="PreProc">break-if-=</span>
-<span id="L159" class="LineNr">159 </span>    <a href='../../405screen.mu.html#L569'>start-blinking</a> <a href='../../405screen.mu.html#L9'>screen</a>
+<span id="L159" class="LineNr">159 </span>    <a href='../../405screen.mu.html#L568'>start-blinking</a> <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L160" class="LineNr">160 </span>  <span class="Delimiter">}</span>
 <span id="L161" class="LineNr">161 </span>  <span class="PreProc">var</span> g/<span class="Constant">eax</span>: (addr grapheme) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> cell, data
 <span id="L162" class="LineNr">162 </span>  <a href='../../405screen.mu.html#L210'>print-grapheme</a> <a href='../../405screen.mu.html#L9'>screen</a>, *g
@@ -387,9 +387,9 @@ if ('onhashchange' in window) {
 <span id="L327" class="LineNr">327 </span>  <a href='surface.mu.html#L73'>render-surface</a> s-addr
 <span id="L328" class="LineNr">328 </span>  <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> s-addr, <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L329" class="LineNr">329 </span>  <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah
-<span id="L330" class="LineNr">330 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;abcd&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
-<span id="L331" class="LineNr">331 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
-<span id="L332" class="LineNr">332 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;mnop&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
+<span id="L330" class="LineNr">330 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;abcd&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
+<span id="L331" class="LineNr">331 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
+<span id="L332" class="LineNr">332 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;mnop&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-at-origin&quot;</span>
 <span id="L333" class="LineNr">333 </span><span class="Delimiter">}</span>
 <span id="L334" class="LineNr">334 </span>
 <span id="L335" class="LineNr">335 </span><span class="muComment"># pin (1, 1) to (2, 1) on screen; screen goes past edge of the universe</span>
@@ -405,9 +405,9 @@ if ('onhashchange' in window) {
 <span id="L345" class="LineNr">345 </span>  <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> s-addr, <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L346" class="LineNr">346 </span>  <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah
 <span id="L347" class="LineNr">347 </span>  <span class="muComment"># surface edge reached (should seldom happen in the app)</span>
-<span id="L348" class="LineNr">348 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;    &quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
-<span id="L349" class="LineNr">349 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;abcd&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
-<span id="L350" class="LineNr">350 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
+<span id="L348" class="LineNr">348 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;    &quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
+<span id="L349" class="LineNr">349 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;abcd&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
+<span id="L350" class="LineNr">350 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-2&quot;</span>
 <span id="L351" class="LineNr">351 </span><span class="Delimiter">}</span>
 <span id="L352" class="LineNr">352 </span>
 <span id="L353" class="LineNr">353 </span><span class="muComment"># pin (2, 1) to (1, 1) on screen</span>
@@ -422,9 +422,9 @@ if ('onhashchange' in window) {
 <span id="L362" class="LineNr">362 </span>  <a href='surface.mu.html#L73'>render-surface</a> s-addr
 <span id="L363" class="LineNr">363 </span>  <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> s-addr, <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L364" class="LineNr">364 </span>  <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah
-<span id="L365" class="LineNr">365 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
-<span id="L366" class="LineNr">366 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;mnop&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
-<span id="L367" class="LineNr">367 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;stuv&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
+<span id="L365" class="LineNr">365 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;ghij&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
+<span id="L366" class="LineNr">366 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;mnop&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
+<span id="L367" class="LineNr">367 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;stuv&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-3&quot;</span>
 <span id="L368" class="LineNr">368 </span><span class="Delimiter">}</span>
 <span id="L369" class="LineNr">369 </span>
 <span id="L370" class="LineNr">370 </span><span class="muComment"># pin (1, 1) to (1, 2) on screen; screen goes past edge of the universe</span>
@@ -440,9 +440,9 @@ if ('onhashchange' in window) {
 <span id="L380" class="LineNr">380 </span>  <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> s-addr, <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L381" class="LineNr">381 </span>  <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah
 <span id="L382" class="LineNr">382 </span>  <span class="muComment"># surface edge reached (should seldom happen in the app)</span>
-<span id="L383" class="LineNr">383 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot; abc&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
-<span id="L384" class="LineNr">384 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot; ghi&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
-<span id="L385" class="LineNr">385 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot; mno&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
+<span id="L383" class="LineNr">383 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot; abc&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
+<span id="L384" class="LineNr">384 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot; ghi&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
+<span id="L385" class="LineNr">385 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot; mno&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-4&quot;</span>
 <span id="L386" class="LineNr">386 </span><span class="Delimiter">}</span>
 <span id="L387" class="LineNr">387 </span>
 <span id="L388" class="LineNr">388 </span><span class="muComment"># pin (1, 2) to (1, 1) on screen</span>
@@ -457,9 +457,9 @@ if ('onhashchange' in window) {
 <span id="L397" class="LineNr">397 </span>  <a href='surface.mu.html#L73'>render-surface</a> s-addr
 <span id="L398" class="LineNr">398 </span>  <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> s-addr, <a href='../../405screen.mu.html#L9'>screen</a>
 <span id="L399" class="LineNr">399 </span>  <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah
-<span id="L400" class="LineNr">400 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;bcde&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
-<span id="L401" class="LineNr">401 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;hijk&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
-<span id="L402" class="LineNr">402 </span>  <a href='../../405screen.mu.html#L613'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;nopq&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
+<span id="L400" class="LineNr">400 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">&quot;bcde&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
+<span id="L401" class="LineNr">401 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">&quot;hijk&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
+<span id="L402" class="LineNr">402 </span>  <a href='../../405screen.mu.html#L612'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">&quot;nopq&quot;</span>, <span class="Constant">&quot;F - test-surface-pin-5&quot;</span>
 <span id="L403" class="LineNr">403 </span><span class="Delimiter">}</span>
 <span id="L404" class="LineNr">404 </span>
 <span id="L405" class="LineNr">405 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='surface.mu.html#L405'>initialize-surface-with-fake-screen</a></span> _self: (addr <a href='surface.mu.html#L7'>surface</a>), nrows: int, ncols: int, in: (addr array byte) <span class="Delimiter">{</span>