diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
commit | 132d72d28a63e58ec7f5e6fc955be140ee5844b0 (patch) | |
tree | a169eda8e804e45aaca32bf23df4dcb27b25e255 /html/shell/global.mu.html | |
parent | a54b2cb7af733ae053b0aa78eca2bd4a3419d23d (diff) | |
download | mu-132d72d28a63e58ec7f5e6fc955be140ee5844b0.tar.gz |
.
Diffstat (limited to 'html/shell/global.mu.html')
-rw-r--r-- | html/shell/global.mu.html | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/html/shell/global.mu.html b/html/shell/global.mu.html index 71d3db10..4e24dccb 100644 --- a/html/shell/global.mu.html +++ b/html/shell/global.mu.html @@ -178,8 +178,8 @@ if ('onhashchange' in window) { <span id="L115" class="LineNr">115 </span><span class="Delimiter">}</span> <span id="L116" class="LineNr">116 </span> <span id="L117" class="LineNr">117 </span><span class="muComment"># globals layout: 1 char padding, 41 code, 1 padding, 41 code, 1 padding = 85 chars</span> -<span id="L118" class="LineNr">118 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L118'>render-globals</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>), show-cursor?: boolean <span class="Delimiter">{</span> -<span id="L119" class="LineNr">119 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L118" class="LineNr">118 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L118'>render-globals</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>), show-cursor?: boolean <span class="Delimiter">{</span> +<span id="L119" class="LineNr">119 </span> <a href='../500fake-screen.mu.html#L432'>clear-rect</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg <span id="L120" class="LineNr">120 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Special"><-</span> copy _self <span id="L121" class="LineNr">121 </span> compare self, <span class="Constant">0</span> <span id="L122" class="LineNr">122 </span> <span class="Delimiter">{</span> @@ -226,7 +226,7 @@ if ('onhashchange' in window) { <span id="L163" class="LineNr">163 </span> <span class="PreProc">var</span> <a href='global.mu.html#L591'>render-image?</a>/eax: boolean <span class="Special"><-</span> <a href='global.mu.html#L591'>render-image?</a> curr, cursor-in-current-line? <span id="L164" class="LineNr">164 </span> compare <a href='global.mu.html#L591'>render-image?</a>, <span class="Constant">0</span>/false <span id="L165" class="LineNr">165 </span> <span class="PreProc">break-if-=</span> -<span id="L166" class="LineNr">166 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='global.mu.html#L620'>render-image-definition</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr, <span class="Constant">0</span>/x y1 +<span id="L166" class="LineNr">166 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='global.mu.html#L620'>render-image-definition</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, curr, <span class="Constant">0</span>/x y1 <span id="L167" class="LineNr">167 </span> y <span class="Special"><-</span> increment <span class="muComment"># padding</span> <span id="L168" class="LineNr">168 </span> copy-to y1, y <span id="L169" class="LineNr">169 </span> <span class="PreProc">break</span> $render-globals:iter @@ -245,16 +245,16 @@ if ('onhashchange' in window) { <span id="L182" class="LineNr">182 </span> compare y, y2 <span id="L183" class="LineNr">183 </span> <span class="Delimiter">{</span> <span id="L184" class="LineNr">184 </span> <span class="PreProc">break-if->=</span> -<span id="L185" class="LineNr">185 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L185" class="LineNr">185 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L186" class="LineNr">186 </span> y <span class="Special"><-</span> increment -<span id="L187" class="LineNr">187 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">1</span>/padding-left, y, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor +<span id="L187" class="LineNr">187 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, curr-trace, <span class="Constant">1</span>/padding-left, y, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor <span id="L188" class="LineNr">188 </span> y <span class="Special"><-</span> increment <span id="L189" class="LineNr">189 </span> copy-to y1, y <span id="L190" class="LineNr">190 </span> <span class="PreProc">break</span> $render-globals:render-global <span id="L191" class="LineNr">191 </span> <span class="Delimiter">}</span> -<span id="L192" class="LineNr">192 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L192" class="LineNr">192 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L193" class="LineNr">193 </span> y <span class="Special"><-</span> increment -<span id="L194" class="LineNr">194 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">0x2b</span>/xmin, y, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor +<span id="L194" class="LineNr">194 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, curr-trace, <span class="Constant">0x2b</span>/xmin, y, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor <span id="L195" class="LineNr">195 </span> y <span class="Special"><-</span> increment <span id="L196" class="LineNr">196 </span> copy-to y2, y <span id="L197" class="LineNr">197 </span> <span class="Delimiter">}</span> @@ -263,34 +263,34 @@ if ('onhashchange' in window) { <span id="L200" class="LineNr">200 </span> <span class="PreProc">loop</span> <span id="L201" class="LineNr">201 </span> <span class="Delimiter">}</span> <span id="L202" class="LineNr">202 </span> <span class="muComment"># render primitives on top</span> -<span id="L203" class="LineNr">203 </span> <a href='primitives.mu.html#L72'>render-primitives</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/xmin=padding-left, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax +<span id="L203" class="LineNr">203 </span> <a href='primitives.mu.html#L72'>render-primitives</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">1</span>/xmin=padding-left, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax <span id="L204" class="LineNr">204 </span><span class="Delimiter">}</span> <span id="L205" class="LineNr">205 </span> -<span id="L206" class="LineNr">206 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L206'>render-globals-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Delimiter">{</span> +<span id="L206" class="LineNr">206 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L206'>render-globals-menu</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Delimiter">{</span> <span id="L207" class="LineNr">207 </span> <span class="PreProc">var</span> _width/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L208" class="LineNr">208 </span> <span class="PreProc">var</span> height/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L209" class="LineNr">209 </span> _width, height <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L73'>screen-size</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L209" class="LineNr">209 </span> _width, height <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L75'>screen-size</a> <a href='../500fake-screen.mu.html#L16'>screen</a> <span id="L210" class="LineNr">210 </span> <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy _width <span id="L211" class="LineNr">211 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy height <span id="L212" class="LineNr">212 </span> y <span class="Special"><-</span> decrement <span id="L213" class="LineNr">213 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy y <span id="L214" class="LineNr">214 </span> height <span class="Special"><-</span> increment -<span id="L215" class="LineNr">215 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L216" class="LineNr">216 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L217" class="LineNr">217 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L218" class="LineNr">218 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L219" class="LineNr">219 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L220" class="LineNr">220 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <a href='sandbox.mu.html#L1'>sandbox</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L221" class="LineNr">221 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L222" class="LineNr">222 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L223" class="LineNr">223 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L224" class="LineNr">224 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L225" class="LineNr">225 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L226" class="LineNr">226 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L227" class="LineNr">227 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L228" class="LineNr">228 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L229" class="LineNr">229 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L230" class="LineNr">230 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L215" class="LineNr">215 </span> <a href='../500fake-screen.mu.html#L432'>clear-rect</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L216" class="LineNr">216 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L217" class="LineNr">217 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L218" class="LineNr">218 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" run <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L219" class="LineNr">219 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L220" class="LineNr">220 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" run <a href='sandbox.mu.html#L1'>sandbox</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L221" class="LineNr">221 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L222" class="LineNr">222 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L223" class="LineNr">223 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L224" class="LineNr">224 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L225" class="LineNr">225 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L226" class="LineNr">226 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L227" class="LineNr">227 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L228" class="LineNr">228 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L229" class="LineNr">229 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L230" class="LineNr">230 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L231" class="LineNr">231 </span><span class="Delimiter">}</span> <span id="L232" class="LineNr">232 </span> <span id="L233" class="LineNr">233 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L233'>edit-globals</a></span> _self: (addr <a href='global.mu.html#L1'>global-table</a>), key: grapheme <span class="Delimiter">{</span> @@ -680,17 +680,17 @@ if ('onhashchange' in window) { <span id="L617" class="LineNr">617 </span> <span class="PreProc">return</span> <a href='evaluate.mu.html#L1567'>litimg?</a> <span id="L618" class="LineNr">618 </span><span class="Delimiter">}</span> <span id="L619" class="LineNr">619 </span> -<span id="L620" class="LineNr">620 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L620'>render-image-definition</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L8'>global</a>), x: int, _y: int<span class="PreProc"> -> </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> +<span id="L620" class="LineNr">620 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L620'>render-image-definition</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), _self: (addr <a href='global.mu.html#L8'>global</a>), x: int, _y: int<span class="PreProc"> -> </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> <span id="L621" class="LineNr">621 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special"><-</span> copy _self <span id="L622" class="LineNr">622 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy _y -<span id="L623" class="LineNr">623 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span> +<span id="L623" class="LineNr">623 </span> <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span> <span id="L624" class="LineNr">624 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg <span id="L625" class="LineNr">625 </span> <span class="Delimiter">{</span> <span id="L626" class="LineNr">626 </span> <span class="PreProc">var</span> name-ah/eax: (addr handle array byte) <span class="Special"><-</span> get self, name <span id="L627" class="LineNr">627 </span> <span class="PreProc">var</span> _name/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-ah <span id="L628" class="LineNr">628 </span> <span class="PreProc">var</span> name/<span class="muRegEdx">edx</span>: (addr array byte) <span class="Special"><-</span> copy _name -<span id="L629" class="LineNr">629 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"define "</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L630" class="LineNr">630 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L629" class="LineNr">629 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">"define "</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L630" class="LineNr">630 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L631" class="LineNr">631 </span> <span class="Delimiter">}</span> <span id="L632" class="LineNr">632 </span> y <span class="Special"><-</span> increment <span class="muComment"># skip definition line</span> <span id="L633" class="LineNr">633 </span> <span class="muComment"># y is now in pixels</span> @@ -712,7 +712,7 @@ if ('onhashchange' in window) { <span id="L649" class="LineNr">649 </span> <span class="PreProc">var</span> img-ah/eax: (addr handle <a href='../511image.mu.html#L6'>image</a>) <span class="Special"><-</span> get img-cell, image-data <span id="L650" class="LineNr">650 </span> <span class="PreProc">var</span> img/eax: (addr <a href='../511image.mu.html#L6'>image</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *img-ah <span id="L651" class="LineNr">651 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> <a href='../511image.mu.html#L1102'>scale-image-height</a> img, <span class="Constant">0x80</span>/width -<span id="L652" class="LineNr">652 </span> <a href='../511image.mu.html#L55'>render-image</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, img, x y, <span class="Constant">0x80</span>/width height +<span id="L652" class="LineNr">652 </span> <a href='../511image.mu.html#L55'>render-image</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, img, x y, <span class="Constant">0x80</span>/width height <span id="L653" class="LineNr">653 </span> y <span class="Special"><-</span> add height <span id="L654" class="LineNr">654 </span> <span class="muComment"># switch y back to characters</span> <span id="L655" class="LineNr">655 </span> y <span class="Special"><-</span> <a href='../408float.mu.html#L26'>scale-down-and-round-up</a> y, <span class="Constant">0x10</span>/font-height |