about summary refs log tree commit diff stats
path: root/html/504test-screen.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-10-11 21:35:16 -0700
committerKartik Agaram <vc@akkartik.com>2021-10-11 21:35:16 -0700
commit132d72d28a63e58ec7f5e6fc955be140ee5844b0 (patch)
treea169eda8e804e45aaca32bf23df4dcb27b25e255 /html/504test-screen.mu.html
parenta54b2cb7af733ae053b0aa78eca2bd4a3419d23d (diff)
downloadmu-132d72d28a63e58ec7f5e6fc955be140ee5844b0.tar.gz
.
Diffstat (limited to 'html/504test-screen.mu.html')
-rw-r--r--html/504test-screen.mu.html94
1 files changed, 47 insertions, 47 deletions
diff --git a/html/504test-screen.mu.html b/html/504test-screen.mu.html
index 6c1d225f..086e25eb 100644
--- a/html/504test-screen.mu.html
+++ b/html/504test-screen.mu.html
@@ -68,14 +68,14 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr">  4 </span><span class="muComment"># Mu doesn't have multi-line strings, so we provide functions for rows or portions of rows.</span>
 <span id="L5" class="LineNr">  5 </span><span class="muComment"># Tab characters (that translate into multiple screen cells) not supported.</span>
 <span id="L6" class="LineNr">  6 </span>
-<span id="L7" class="LineNr">  7 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L7'>check-screen-row</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L8" class="LineNr">  8 </span>  <a href='504test-screen.mu.html#L11'>check-screen-row-from</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, expected, msg
+<span id="L7" class="LineNr">  7 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L7'>check-screen-row</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L8" class="LineNr">  8 </span>  <a href='504test-screen.mu.html#L11'>check-screen-row-from</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/x, y, expected, msg
 <span id="L9" class="LineNr">  9 </span><span class="Delimiter">}</span>
 <span id="L10" class="LineNr"> 10 </span>
-<span id="L11" class="LineNr"> 11 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L11'>check-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L12" class="LineNr"> 12 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L11" class="LineNr"> 11 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L11'>check-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), x: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L12" class="LineNr"> 12 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> copy _screen
 <span id="L13" class="LineNr"> 13 </span>  <span class="PreProc">var</span> failure-count/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L14" class="LineNr"> 14 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L14" class="LineNr"> 14 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L244'>screen-cell-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y
 <span id="L15" class="LineNr"> 15 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L16" class="LineNr"> 16 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L17" class="LineNr"> 17 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -85,10 +85,10 @@ if ('onhashchange' in window) {
 <span id="L21" class="LineNr"> 21 </span>    compare done?, <span class="Constant">0</span>
 <span id="L22" class="LineNr"> 22 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L23" class="LineNr"> 23 </span>    <span class="Delimiter">{</span>
-<span id="L24" class="LineNr"> 24 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L24" class="LineNr"> 24 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L513'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L25" class="LineNr"> 25 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L26" class="LineNr"> 26 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L27" class="LineNr"> 27 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L27" class="LineNr"> 27 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L531'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L28" class="LineNr"> 28 </span>      <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _c
 <span id="L29" class="LineNr"> 29 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L30" class="LineNr"> 30 </span>      <span class="PreProc">var</span> expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -136,13 +136,13 @@ if ('onhashchange' in window) {
 <span id="L72" class="LineNr"> 72 </span>
 <span id="L73" class="LineNr"> 73 </span><span class="muComment"># various variants by screen-cell attribute; spaces in the 'expected' data should not match the attribute</span>
 <span id="L74" class="LineNr"> 74 </span>
-<span id="L75" class="LineNr"> 75 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), fg: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L76" class="LineNr"> 76 </span>  <a href='504test-screen.mu.html#L79'>check-screen-row-in-color-from</a> <a href='500fake-screen.mu.html#L14'>screen</a>, fg, y, <span class="Constant">0</span>/x, expected, msg
+<span id="L75" class="LineNr"> 75 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), fg: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L76" class="LineNr"> 76 </span>  <a href='504test-screen.mu.html#L79'>check-screen-row-in-color-from</a> <a href='500fake-screen.mu.html#L16'>screen</a>, fg, y, <span class="Constant">0</span>/x, expected, msg
 <span id="L77" class="LineNr"> 77 </span><span class="Delimiter">}</span>
 <span id="L78" class="LineNr"> 78 </span>
-<span id="L79" class="LineNr"> 79 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L79'>check-screen-row-in-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), fg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L81" class="LineNr"> 81 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L79" class="LineNr"> 79 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L79'>check-screen-row-in-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), fg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L80" class="LineNr"> 80 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L81" class="LineNr"> 81 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L244'>screen-cell-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y
 <span id="L82" class="LineNr"> 82 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L83" class="LineNr"> 83 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L84" class="LineNr"> 84 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -152,10 +152,10 @@ if ('onhashchange' in window) {
 <span id="L88" class="LineNr"> 88 </span>    compare done?, <span class="Constant">0</span>
 <span id="L89" class="LineNr"> 89 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L90" class="LineNr"> 90 </span>    <span class="Delimiter">{</span>
-<span id="L91" class="LineNr"> 91 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L91" class="LineNr"> 91 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L513'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L92" class="LineNr"> 92 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L93" class="LineNr"> 93 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L94" class="LineNr"> 94 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L94" class="LineNr"> 94 </span>      <span class="PreProc">var</span> _c/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L531'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L95" class="LineNr"> 95 </span>      <span class="PreProc">var</span> c/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _c
 <span id="L96" class="LineNr"> 96 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L97" class="LineNr"> 97 </span>      <span class="PreProc">var</span> _expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -172,7 +172,7 @@ if ('onhashchange' in window) {
 <span id="L108" class="LineNr">108 </span>        <span class="Delimiter">{</span>
 <span id="L109" class="LineNr">109 </span>          compare expected-code-point, <span class="Constant">0x20</span>
 <span id="L110" class="LineNr">110 </span>          <span class="PreProc">break-if-!=</span>
-<span id="L111" class="LineNr">111 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L547'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L111" class="LineNr">111 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L549'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L112" class="LineNr">112 </span>          compare color, fg
 <span id="L113" class="LineNr">113 </span>          <span class="PreProc">break-if-!=</span> $check-screen-row-in-color-from:compare-cells
 <span id="L114" class="LineNr">114 </span>        <span class="Delimiter">}</span>
@@ -200,7 +200,7 @@ if ('onhashchange' in window) {
 <span id="L136" class="LineNr">136 </span>          <a href='501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen
 <span id="L137" class="LineNr">137 </span>        <span class="Delimiter">}</span>
 <span id="L138" class="LineNr">138 </span>        $check-screen-row-in-color-from:compare-colors: <span class="Delimiter">{</span>
-<span id="L139" class="LineNr">139 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L547'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L139" class="LineNr">139 </span>          <span class="PreProc">var</span> color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L549'>screen-color-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L140" class="LineNr">140 </span>          compare fg, color
 <span id="L141" class="LineNr">141 </span>          <span class="Delimiter">{</span>
 <span id="L142" class="LineNr">142 </span>            <span class="PreProc">break-if-!=</span>
@@ -230,13 +230,13 @@ if ('onhashchange' in window) {
 <span id="L166" class="LineNr">166 </span>  <span class="Delimiter">}</span>
 <span id="L167" class="LineNr">167 </span><span class="Delimiter">}</span>
 <span id="L168" class="LineNr">168 </span>
-<span id="L169" class="LineNr">169 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L169'>check-screen-row-in-background-color</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L170" class="LineNr">170 </span>  <a href='504test-screen.mu.html#L173'>check-screen-row-in-background-color-from</a> <a href='500fake-screen.mu.html#L14'>screen</a>, bg, y, <span class="Constant">0</span>/x, expected, msg
+<span id="L169" class="LineNr">169 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L169'>check-screen-row-in-background-color</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), bg: int, y: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L170" class="LineNr">170 </span>  <a href='504test-screen.mu.html#L173'>check-screen-row-in-background-color-from</a> <a href='500fake-screen.mu.html#L16'>screen</a>, bg, y, <span class="Constant">0</span>/x, expected, msg
 <span id="L171" class="LineNr">171 </span><span class="Delimiter">}</span>
 <span id="L172" class="LineNr">172 </span>
-<span id="L173" class="LineNr">173 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L173'>check-screen-row-in-background-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L174" class="LineNr">174 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
-<span id="L175" class="LineNr">175 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L173" class="LineNr">173 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L173'>check-screen-row-in-background-color-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), bg: int, y: int, x: int, expected: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L174" class="LineNr">174 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L175" class="LineNr">175 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L244'>screen-cell-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y
 <span id="L176" class="LineNr">176 </span>  <span class="muComment"># compare 'expected' with the screen contents starting at 'index', grapheme by grapheme</span>
 <span id="L177" class="LineNr">177 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L178" class="LineNr">178 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -246,10 +246,10 @@ if ('onhashchange' in window) {
 <span id="L182" class="LineNr">182 </span>    compare done?, <span class="Constant">0</span>
 <span id="L183" class="LineNr">183 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L184" class="LineNr">184 </span>    <span class="Delimiter">{</span>
-<span id="L185" class="LineNr">185 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L185" class="LineNr">185 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L513'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L186" class="LineNr">186 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L187" class="LineNr">187 </span>      <span class="PreProc">break-if-!=</span>
-<span id="L188" class="LineNr">188 </span>      <span class="PreProc">var</span> _g/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L529'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L188" class="LineNr">188 </span>      <span class="PreProc">var</span> _g/eax: code-point <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L531'>screen-code-point-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L189" class="LineNr">189 </span>      <span class="PreProc">var</span> g/<span class="muRegEbx">ebx</span>: code-point <span class="Special">&lt;-</span> copy _g
 <span id="L190" class="LineNr">190 </span>      <span class="PreProc">var</span> expected-grapheme/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L191" class="LineNr">191 </span>      <span class="PreProc">var</span> _expected-code-point/eax: code-point <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> expected-grapheme
@@ -266,7 +266,7 @@ if ('onhashchange' in window) {
 <span id="L202" class="LineNr">202 </span>        <span class="Delimiter">{</span>
 <span id="L203" class="LineNr">203 </span>          compare expected-code-point, <span class="Constant">0x20</span>
 <span id="L204" class="LineNr">204 </span>          <span class="PreProc">break-if-!=</span>
-<span id="L205" class="LineNr">205 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L205" class="LineNr">205 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L568'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L206" class="LineNr">206 </span>          compare background-color, bg
 <span id="L207" class="LineNr">207 </span>          <span class="PreProc">break-if-!=</span> $check-screen-row-in-background-color-from:compare-cells
 <span id="L208" class="LineNr">208 </span>        <span class="Delimiter">}</span>
@@ -295,7 +295,7 @@ if ('onhashchange' in window) {
 <span id="L231" class="LineNr">231 </span>          <span class="PreProc">break</span> $check-screen-row-in-background-color-from:compare-graphemes
 <span id="L232" class="LineNr">232 </span>        <span class="Delimiter">}</span>
 <span id="L233" class="LineNr">233 </span>        $check-screen-row-in-background-color-from:compare-background-colors: <span class="Delimiter">{</span>
-<span id="L234" class="LineNr">234 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L234" class="LineNr">234 </span>          <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L568'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L235" class="LineNr">235 </span>          compare bg, background-color
 <span id="L236" class="LineNr">236 </span>          <span class="Delimiter">{</span>
 <span id="L237" class="LineNr">237 </span>            <span class="PreProc">break-if-!=</span>
@@ -328,14 +328,14 @@ if ('onhashchange' in window) {
 <span id="L264" class="LineNr">264 </span><span class="muComment"># helpers for checking just background color, not screen contents</span>
 <span id="L265" class="LineNr">265 </span><span class="muComment"># these can validate bg for spaces</span>
 <span id="L266" class="LineNr">266 </span>
-<span id="L267" class="LineNr">267 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, expected-bitmap: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L268" class="LineNr">268 </span>  <a href='504test-screen.mu.html#L271'>check-background-color-in-screen-row-from</a> <a href='500fake-screen.mu.html#L14'>screen</a>, bg, y, <span class="Constant">0</span>/x, expected-bitmap, msg
+<span id="L267" class="LineNr">267 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), bg: int, y: int, expected-bitmap: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L268" class="LineNr">268 </span>  <a href='504test-screen.mu.html#L271'>check-background-color-in-screen-row-from</a> <a href='500fake-screen.mu.html#L16'>screen</a>, bg, y, <span class="Constant">0</span>/x, expected-bitmap, msg
 <span id="L269" class="LineNr">269 </span><span class="Delimiter">}</span>
 <span id="L270" class="LineNr">270 </span>
-<span id="L271" class="LineNr">271 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L271'>check-background-color-in-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), bg: int, y: int, x: int, expected-bitmap: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
-<span id="L272" class="LineNr">272 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> copy _screen
+<span id="L271" class="LineNr">271 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='504test-screen.mu.html#L271'>check-background-color-in-screen-row-from</a></span> _screen: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), bg: int, y: int, x: int, expected-bitmap: (addr array byte), msg: (addr array byte) <span class="Delimiter">{</span>
+<span id="L272" class="LineNr">272 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> copy _screen
 <span id="L273" class="LineNr">273 </span>  <span class="PreProc">var</span> failure-count: int
-<span id="L274" class="LineNr">274 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L242'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y
+<span id="L274" class="LineNr">274 </span>  <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L244'>screen-cell-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, x, y
 <span id="L275" class="LineNr">275 </span>  <span class="muComment"># compare background color where 'expected-bitmap' is a non-space</span>
 <span id="L276" class="LineNr">276 </span>  <span class="PreProc">var</span> e: (stream byte <span class="Constant">0x100</span>)
 <span id="L277" class="LineNr">277 </span>  <span class="PreProc">var</span> e-addr/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special">&lt;-</span> address e
@@ -345,13 +345,13 @@ if ('onhashchange' in window) {
 <span id="L281" class="LineNr">281 </span>    compare done?, <span class="Constant">0</span>
 <span id="L282" class="LineNr">282 </span>    <span class="PreProc">break-if-!=</span>
 <span id="L283" class="LineNr">283 </span>    <span class="Delimiter">{</span>
-<span id="L284" class="LineNr">284 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L511'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L284" class="LineNr">284 </span>      <span class="PreProc">var</span> unused?/eax: boolean <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L513'>screen-cell-unused-at-index?</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L285" class="LineNr">285 </span>      compare unused?, <span class="Constant">0</span>/false
 <span id="L286" class="LineNr">286 </span>      <span class="PreProc">break-if-!=</span>
 <span id="L287" class="LineNr">287 </span>      <span class="PreProc">var</span> _expected-bit/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L236'>read-grapheme</a> e-addr
 <span id="L288" class="LineNr">288 </span>      <span class="PreProc">var</span> expected-bit/<span class="muRegEdi">edi</span>: grapheme <span class="Special">&lt;-</span> copy _expected-bit
 <span id="L289" class="LineNr">289 </span>      $check-background-color-in-screen-row-from:compare-cells: <span class="Delimiter">{</span>
-<span id="L290" class="LineNr">290 </span>        <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L566'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, index
+<span id="L290" class="LineNr">290 </span>        <span class="PreProc">var</span> background-color/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L568'>screen-background-color-at-index</a> <a href='500fake-screen.mu.html#L16'>screen</a>, index
 <span id="L291" class="LineNr">291 </span>        <span class="muComment"># if expected-bit is space, assert that background is NOT bg</span>
 <span id="L292" class="LineNr">292 </span>        compare expected-bit, <span class="Constant">0x20</span>
 <span id="L293" class="LineNr">293 </span>        <span class="Delimiter">{</span>
@@ -401,24 +401,24 @@ if ('onhashchange' in window) {
 <span id="L337" class="LineNr">337 </span><span class="Delimiter">}</span>
 <span id="L338" class="LineNr">338 </span>
 <span id="L339" class="LineNr">339 </span><span class="PreProc">fn</span> <span class="muTest"><a href='504test-screen.mu.html#L339'>test-draw-single-grapheme</a></span> <span class="Delimiter">{</span>
-<span id="L340" class="LineNr">340 </span>  <span class="PreProc">var</span> _screen: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L341" class="LineNr">341 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address _screen
-<span id="L342" class="LineNr">342 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L343" class="LineNr">343 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L92'>draw-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x61</span>/a, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
-<span id="L344" class="LineNr">344 </span>  <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme&quot;</span>  <span class="muComment"># top-left corner of the screen</span>
-<span id="L345" class="LineNr">345 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/fg, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-fg&quot;</span>
-<span id="L346" class="LineNr">346 </span>  <a href='504test-screen.mu.html#L169'>check-screen-row-in-background-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-bg&quot;</span>
-<span id="L347" class="LineNr">347 </span>  <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;x &quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-bg2&quot;</span>
+<span id="L340" class="LineNr">340 </span>  <span class="PreProc">var</span> _screen: <a href='500fake-screen.mu.html#L16'>screen</a>
+<span id="L341" class="LineNr">341 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> address _screen
+<span id="L342" class="LineNr">342 </span>  <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L343" class="LineNr">343 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='500fake-screen.mu.html#L94'>draw-code-point</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x61</span>/a, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
+<span id="L344" class="LineNr">344 </span>  <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme&quot;</span>  <span class="muComment"># top-left corner of the screen</span>
+<span id="L345" class="LineNr">345 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">1</span>/fg, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-fg&quot;</span>
+<span id="L346" class="LineNr">346 </span>  <a href='504test-screen.mu.html#L169'>check-screen-row-in-background-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;a&quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-bg&quot;</span>
+<span id="L347" class="LineNr">347 </span>  <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;x &quot;</span>, <span class="Constant">&quot;F - test-draw-single-grapheme-bg2&quot;</span>
 <span id="L348" class="LineNr">348 </span><span class="Delimiter">}</span>
 <span id="L349" class="LineNr">349 </span>
 <span id="L350" class="LineNr">350 </span><span class="PreProc">fn</span> <span class="muTest"><a href='504test-screen.mu.html#L350'>test-draw-multiple-graphemes</a></span> <span class="Delimiter">{</span>
-<span id="L351" class="LineNr">351 </span>  <span class="PreProc">var</span> _screen: <a href='500fake-screen.mu.html#L14'>screen</a>
-<span id="L352" class="LineNr">352 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special">&lt;-</span> address _screen
-<span id="L353" class="LineNr">353 </span>  <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x10</span>/rows, <span class="Constant">4</span>/cols, <span class="Constant">0</span>/no-pixel-graphics
-<span id="L354" class="LineNr">354 </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;Hello, 世界&quot;</span>, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
-<span id="L355" class="LineNr">355 </span>  <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes&quot;</span>
-<span id="L356" class="LineNr">356 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/fg, <span class="Constant">0</span>/y, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-fg&quot;</span>
-<span id="L357" class="LineNr">357 </span>  <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;xxxxxxxxx &quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-bg2&quot;</span>
+<span id="L351" class="LineNr">351 </span>  <span class="PreProc">var</span> _screen: <a href='500fake-screen.mu.html#L16'>screen</a>
+<span id="L352" class="LineNr">352 </span>  <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special">&lt;-</span> address _screen
+<span id="L353" class="LineNr">353 </span>  <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0x10</span>/rows, <span class="Constant">4</span>/cols, <span class="Constant">0</span>/no-pixel-graphics
+<span id="L354" class="LineNr">354 </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;Hello, 世界&quot;</span>, <span class="Constant">1</span>/fg, <span class="Constant">2</span>/bg
+<span id="L355" class="LineNr">355 </span>  <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes&quot;</span>
+<span id="L356" class="LineNr">356 </span>  <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">1</span>/fg, <span class="Constant">0</span>/y, <span class="Constant">&quot;Hello, 世界&quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-fg&quot;</span>
+<span id="L357" class="LineNr">357 </span>  <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/bg, <span class="Constant">0</span>/y, <span class="Constant">&quot;xxxxxxxxx &quot;</span>, <span class="Constant">&quot;F - test-draw-multiple-graphemes-bg2&quot;</span>
 <span id="L358" class="LineNr">358 </span><span class="Delimiter">}</span>
 </pre>
 </body>