diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-08-15 23:44:43 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-08-15 23:44:43 -0700 |
commit | 52e3ea8a4bec791e4c2d64fb8aca9e26cdf60f25 (patch) | |
tree | 331a98b558b8d638348b3e93ce4ef036ae70130c /html/shell/trace.mu.html | |
parent | 8765064d6910c65ea5ed5526b27e9752df000c3d (diff) | |
download | mu-52e3ea8a4bec791e4c2d64fb8aca9e26cdf60f25.tar.gz |
.
Diffstat (limited to 'html/shell/trace.mu.html')
-rw-r--r-- | html/shell/trace.mu.html | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/html/shell/trace.mu.html b/html/shell/trace.mu.html index 86928413..43f17c95 100644 --- a/html/shell/trace.mu.html +++ b/html/shell/trace.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE html> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> -<meta charset="UTF-8"> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Mu - shell/trace.mu</title> -<meta name="Generator" content="Vim/8.2"> -<meta name="plugin-version" content="vim8.1_v2"> +<meta name="Generator" content="Vim/8.1"> +<meta name="plugin-version" content="vim8.1_v1"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> <meta name="colorscheme" content="minimal-light"> -<style> +<style type="text/css"> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -16,22 +16,22 @@ a { color:inherit; } * { font-size:12pt; font-size: 1em; } .LineNr { } .Delimiter { color: #c000c0; } -.muRegEcx { color: #870000; } -.muRegEdx { color: #af5f00; } +.muFunction { color: #af5f00; text-decoration: underline; } .muRegEbx { color: #5f00ff; } .muRegEsi { color: #005faf; } .muRegEdi { color: #00af00; } .Constant { color: #008787; } .Special { color: #ff6060; } .PreProc { color: #c000c0; } -.muFunction { color: #af5f00; text-decoration: underline; } +.CommentedCode { color: #8a8a8a; } .muTest { color: #5f8700; } .muComment { color: #005faf; } -.CommentedCode { color: #8a8a8a; } +.muRegEcx { color: #870000; } +.muRegEdx { color: #af5f00; } --> </style> -<script> +<script type='text/javascript'> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -165,7 +165,7 @@ if ('onhashchange' in window) { <span id="L100" class="LineNr"> 100 </span> <span class="Delimiter">}</span> <span id="L101" class="LineNr"> 101 </span> <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L102" class="LineNr"> 102 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L103" class="LineNr"> 103 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L103" class="LineNr"> 103 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L104" class="LineNr"> 104 </span> <span class="PreProc">var</span> trace/<span class="muRegEsi">esi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L105" class="LineNr"> 105 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L106" class="LineNr"> 106 </span> <span class="Delimiter">{</span> @@ -217,7 +217,7 @@ if ('onhashchange' in window) { <span id="L152" class="LineNr"> 152 </span> <span class="PreProc">return</span> <span id="L153" class="LineNr"> 153 </span> <span class="Delimiter">}</span> <span id="L154" class="LineNr"> 154 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L155" class="LineNr"> 155 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L155" class="LineNr"> 155 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L156" class="LineNr"> 156 </span> <span class="PreProc">var</span> index-addr/<span class="muRegEdi">edi</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L157" class="LineNr"> 157 </span> <span class="Delimiter">{</span> <span id="L158" class="LineNr"> 158 </span> compare *index-addr, <span class="Constant">0x8000</span>/lines @@ -377,7 +377,7 @@ if ('onhashchange' in window) { <span id="L312" class="LineNr"> 312 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L312'>trace-contains?</a></span> _self: (addr trace), label: (addr array byte), data: (addr array byte), start: int<span class="PreProc"> -> </span>_/eax: boolean <span class="Delimiter">{</span> <span id="L313" class="LineNr"> 313 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L314" class="LineNr"> 314 </span> <span class="PreProc">var</span> candidates-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L315" class="LineNr"> 315 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *candidates-ah +<span id="L315" class="LineNr"> 315 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *candidates-ah <span id="L316" class="LineNr"> 316 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy start <span id="L317" class="LineNr"> 317 </span> <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L318" class="LineNr"> 318 </span> <span class="Delimiter">{</span> @@ -392,13 +392,13 @@ if ('onhashchange' in window) { <span id="L327" class="LineNr"> 327 </span> <span class="PreProc">var</span> curr/<span class="muRegEcx">ecx</span>: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> index candidates, curr-offset <span id="L328" class="LineNr"> 328 </span> <span class="muComment"># if curr->label does not match, return false</span> <span id="L329" class="LineNr"> 329 </span> <span class="PreProc">var</span> curr-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, label -<span id="L330" class="LineNr"> 330 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-label-ah +<span id="L330" class="LineNr"> 330 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-label-ah <span id="L331" class="LineNr"> 331 </span> <span class="PreProc">var</span> match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> curr-label, label <span id="L332" class="LineNr"> 332 </span> compare match?, <span class="Constant">0</span>/false <span id="L333" class="LineNr"> 333 </span> <span class="PreProc">break-if-=</span> <span id="L334" class="LineNr"> 334 </span> <span class="muComment"># if curr->data does not match, return false</span> <span id="L335" class="LineNr"> 335 </span> <span class="PreProc">var</span> curr-data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, data -<span id="L336" class="LineNr"> 336 </span> <span class="PreProc">var</span> curr-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-data-ah +<span id="L336" class="LineNr"> 336 </span> <span class="PreProc">var</span> curr-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-data-ah <span id="L337" class="LineNr"> 337 </span> <span class="PreProc">var</span> match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> curr-data, data <span id="L338" class="LineNr"> 338 </span> compare match?, <span class="Constant">0</span>/false <span id="L339" class="LineNr"> 339 </span> <span class="PreProc">break-if-=</span> @@ -422,10 +422,10 @@ if ('onhashchange' in window) { <span id="L357" class="LineNr"> 357 </span> <span class="PreProc">return</span> <span class="Constant">0</span>/false <span id="L358" class="LineNr"> 358 </span> <span class="Delimiter">}</span> <span id="L359" class="LineNr"> 359 </span> <span class="PreProc">var</span> a-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get a, label -<span id="L360" class="LineNr"> 360 </span> <span class="PreProc">var</span> _a-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *a-label-ah +<span id="L360" class="LineNr"> 360 </span> <span class="PreProc">var</span> _a-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *a-label-ah <span id="L361" class="LineNr"> 361 </span> <span class="PreProc">var</span> a-label/<span class="muRegEcx">ecx</span>: (addr array byte) <span class="Special"><-</span> copy _a-label <span id="L362" class="LineNr"> 362 </span> <span class="PreProc">var</span> b-label-ah/<span class="muRegEbx">ebx</span>: (addr handle array byte) <span class="Special"><-</span> get b, label -<span id="L363" class="LineNr"> 363 </span> <span class="PreProc">var</span> b-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *b-label-ah +<span id="L363" class="LineNr"> 363 </span> <span class="PreProc">var</span> b-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *b-label-ah <span id="L364" class="LineNr"> 364 </span> <span class="PreProc">var</span> label-match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> a-label, b-label <span id="L365" class="LineNr"> 365 </span> <span class="Delimiter">{</span> <span id="L366" class="LineNr"> 366 </span> compare label-match?, <span class="Constant">0</span>/false @@ -433,10 +433,10 @@ if ('onhashchange' in window) { <span id="L368" class="LineNr"> 368 </span> <span class="PreProc">return</span> <span class="Constant">0</span>/false <span id="L369" class="LineNr"> 369 </span> <span class="Delimiter">}</span> <span id="L370" class="LineNr"> 370 </span> <span class="PreProc">var</span> a-data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get a, data -<span id="L371" class="LineNr"> 371 </span> <span class="PreProc">var</span> _a-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *a-data-ah +<span id="L371" class="LineNr"> 371 </span> <span class="PreProc">var</span> _a-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *a-data-ah <span id="L372" class="LineNr"> 372 </span> <span class="PreProc">var</span> a-data/<span class="muRegEcx">ecx</span>: (addr array byte) <span class="Special"><-</span> copy _a-data <span id="L373" class="LineNr"> 373 </span> <span class="PreProc">var</span> b-data-ah/<span class="muRegEbx">ebx</span>: (addr handle array byte) <span class="Special"><-</span> get b, data -<span id="L374" class="LineNr"> 374 </span> <span class="PreProc">var</span> b-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *b-data-ah +<span id="L374" class="LineNr"> 374 </span> <span class="PreProc">var</span> b-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *b-data-ah <span id="L375" class="LineNr"> 375 </span> <span class="PreProc">var</span> data-match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> a-data, b-data <span id="L376" class="LineNr"> 376 </span> <span class="PreProc">return</span> data-match? <span id="L377" class="LineNr"> 377 </span><span class="Delimiter">}</span> @@ -450,7 +450,7 @@ if ('onhashchange' in window) { <span id="L385" class="LineNr"> 385 </span> <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">"null trace"</span> <span id="L386" class="LineNr"> 386 </span> <span class="Delimiter">}</span> <span id="L387" class="LineNr"> 387 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L388" class="LineNr"> 388 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L388" class="LineNr"> 388 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L389" class="LineNr"> 389 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L390" class="LineNr"> 390 </span> <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L391" class="LineNr"> 391 </span> <span class="PreProc">var</span> max-addr/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special"><-</span> get self, first-free @@ -477,7 +477,7 @@ if ('onhashchange' in window) { <span id="L412" class="LineNr"> 412 </span> <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">"null trace"</span> <span id="L413" class="LineNr"> 413 </span> <span class="Delimiter">}</span> <span id="L414" class="LineNr"> 414 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L415" class="LineNr"> 415 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L415" class="LineNr"> 415 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L416" class="LineNr"> 416 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L417" class="LineNr"> 417 </span> <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L418" class="LineNr"> 418 </span> <span class="PreProc">var</span> max-addr/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special"><-</span> get self, first-free @@ -489,7 +489,7 @@ if ('onhashchange' in window) { <span id="L424" class="LineNr"> 424 </span> <span class="PreProc">var</span> offset/<span class="muRegEbx">ebx</span>: (offset <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> compute-offset trace, i <span id="L425" class="LineNr"> 425 </span> <span class="PreProc">var</span> curr/<span class="muRegEbx">ebx</span>: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> index trace, offset <span id="L426" class="LineNr"> 426 </span> <span class="PreProc">var</span> curr-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, label -<span id="L427" class="LineNr"> 427 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-label-ah +<span id="L427" class="LineNr"> 427 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-label-ah <span id="L428" class="LineNr"> 428 </span> <span class="PreProc">var</span> show?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> curr-label, label <span id="L429" class="LineNr"> 429 </span> compare show?, <span class="Constant">0</span>/false <span id="L430" class="LineNr"> 430 </span> <span class="PreProc">break-if-=</span> @@ -541,7 +541,7 @@ if ('onhashchange' in window) { <span id="L476" class="LineNr"> 476 </span> <span class="Delimiter">}</span> <span id="L477" class="LineNr"> 477 </span> <a href='trace.mu.html#L672'>clamp-cursor-to-top</a> self, y <span id="L478" class="LineNr"> 478 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L479" class="LineNr"> 479 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L479" class="LineNr"> 479 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L480" class="LineNr"> 480 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L481" class="LineNr"> 481 </span> <span class="PreProc">var</span> max-addr/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L482" class="LineNr"> 482 </span> <span class="PreProc">var</span> max/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy *max-addr @@ -559,7 +559,7 @@ if ('onhashchange' in window) { <span id="L494" class="LineNr"> 494 </span> <span class="Delimiter">}</span> <span id="L495" class="LineNr"> 495 </span> <a href='../500fake-screen.mu.html#L190'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x70</span>/x, y <span id="L496" class="LineNr"> 496 </span> <a href='../501draw-text.mu.html#L141'>draw-text-rightward-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"trace depth: "</span>, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L387'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L384'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L498" class="LineNr"> 498 </span> <span class="Delimiter">}</span> <span id="L499" class="LineNr"> 499 </span> <span class="PreProc">var</span> top-line-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, top-line-index <span id="L500" class="LineNr"> 500 </span> <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy *top-line-addr @@ -572,7 +572,7 @@ if ('onhashchange' in window) { <span id="L507" class="LineNr"> 507 </span> <span class="PreProc">var</span> offset/<span class="muRegEbx">ebx</span>: (offset <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> compute-offset trace, i <span id="L508" class="LineNr"> 508 </span> <span class="PreProc">var</span> curr/<span class="muRegEbx">ebx</span>: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> index trace, offset <span id="L509" class="LineNr"> 509 </span> <span class="PreProc">var</span> curr-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, label -<span id="L510" class="LineNr"> 510 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-label-ah +<span id="L510" class="LineNr"> 510 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-label-ah <span id="L511" class="LineNr"> 511 </span> <span class="PreProc">var</span> bg: int <span id="L512" class="LineNr"> 512 </span> copy-to bg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L513" class="LineNr"> 513 </span> <span class="PreProc">var</span> fg: int @@ -655,14 +655,14 @@ if ('onhashchange' in window) { <span id="L590" class="LineNr"> 590 </span> <span class="PreProc">break-if-=</span> <span id="L591" class="LineNr"> 591 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xsave <span id="L592" class="LineNr"> 592 </span> <span class="Delimiter">{</span> -<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L340'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L337'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L594" class="LineNr"> 594 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L174'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L595" class="LineNr"> 595 </span> <span class="muComment"># don't show label in UI; it's just for tests</span> <span id="L596" class="LineNr"> 596 </span> <span class="Delimiter">}</span> <span id="L597" class="LineNr"> 597 </span> xsave <span class="Special"><-</span> copy x <span id="L598" class="LineNr"> 598 </span> <span class="Delimiter">}</span> <span id="L599" class="LineNr"> 599 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get self, data -<span id="L600" class="LineNr"> 600 </span> <span class="PreProc">var</span> _data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L600" class="LineNr"> 600 </span> <span class="PreProc">var</span> _data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L601" class="LineNr"> 601 </span> <span class="PreProc">var</span> data/<span class="muRegEbx">ebx</span>: (addr array byte) <span class="Special"><-</span> copy _data <span id="L602" class="LineNr"> 602 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xsave <span id="L603" class="LineNr"> 603 </span> compare unclip?, <span class="Constant">0</span>/false @@ -691,7 +691,7 @@ if ('onhashchange' in window) { <span id="L626" class="LineNr"> 626 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L627" class="LineNr"> 627 </span> <span class="PreProc">var</span> max-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L628" class="LineNr"> 628 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L629" class="LineNr"> 629 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L629" class="LineNr"> 629 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L630" class="LineNr"> 630 </span> <span class="PreProc">var</span> trace/<span class="muRegEsi">esi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L631" class="LineNr"> 631 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L632" class="LineNr"> 632 </span> <span class="Delimiter">{</span> @@ -709,7 +709,7 @@ if ('onhashchange' in window) { <span id="L644" class="LineNr"> 644 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L645" class="LineNr"> 645 </span> <span class="muComment"># recompute</span> <span id="L646" class="LineNr"> 646 </span> <span class="PreProc">var</span> candidates-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, visible -<span id="L647" class="LineNr"> 647 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *candidates-ah +<span id="L647" class="LineNr"> 647 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *candidates-ah <span id="L648" class="LineNr"> 648 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L649" class="LineNr"> 649 </span> <span class="PreProc">var</span> len/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> length candidates <span id="L650" class="LineNr"> 650 </span> <span class="Delimiter">{</span> @@ -760,7 +760,7 @@ if ('onhashchange' in window) { <span id="L695" class="LineNr"> 695 </span> copy-to *cursor-y, y <span id="L696" class="LineNr"> 696 </span> <span class="muComment"># redraw cursor-line</span> <span id="L697" class="LineNr"> 697 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L698" class="LineNr"> 698 </span> <span class="PreProc">var</span> trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L698" class="LineNr"> 698 </span> <span class="PreProc">var</span> trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L699" class="LineNr"> 699 </span> <span class="PreProc">var</span> cursor-line-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get self, cursor-line-index <span id="L700" class="LineNr"> 700 </span> <span class="PreProc">var</span> cursor-line-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy *cursor-line-index-addr <span id="L701" class="LineNr"> 701 </span> <span class="PreProc">var</span> first-free/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, first-free @@ -1050,7 +1050,7 @@ if ('onhashchange' in window) { <span id="L985" class="LineNr"> 985 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L985'>expand</a></span> _self: (addr trace) <span class="Delimiter">{</span> <span id="L986" class="LineNr"> 986 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L987" class="LineNr"> 987 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L988" class="LineNr"> 988 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L988" class="LineNr"> 988 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L989" class="LineNr"> 989 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L990" class="LineNr"> 990 </span> <span class="PreProc">var</span> cursor-line-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get self, cursor-line-index <span id="L991" class="LineNr"> 991 </span> <span class="PreProc">var</span> cursor-line-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy *cursor-line-index-addr @@ -1091,7 +1091,7 @@ if ('onhashchange' in window) { <span id="L1026" class="LineNr">1026 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L1026'>collapse</a></span> _self: (addr trace) <span class="Delimiter">{</span> <span id="L1027" class="LineNr">1027 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L1028" class="LineNr">1028 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L1029" class="LineNr">1029 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L1029" class="LineNr">1029 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L1030" class="LineNr">1030 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L1031" class="LineNr">1031 </span> <span class="PreProc">var</span> cursor-line-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get self, cursor-line-index <span id="L1032" class="LineNr">1032 </span> <span class="PreProc">var</span> cursor-line-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy *cursor-line-index-addr @@ -1157,7 +1157,7 @@ if ('onhashchange' in window) { <span id="L1092" class="LineNr">1092 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L1092'>reveal-trace-line</a></span> _self: (addr trace), line: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Delimiter">{</span> <span id="L1093" class="LineNr">1093 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L1094" class="LineNr">1094 </span> <span class="PreProc">var</span> visible-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, visible -<span id="L1095" class="LineNr">1095 </span> <span class="PreProc">var</span> visible/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *visible-ah +<span id="L1095" class="LineNr">1095 </span> <span class="PreProc">var</span> visible/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *visible-ah <span id="L1096" class="LineNr">1096 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L1097" class="LineNr">1097 </span> <span class="PreProc">var</span> len/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> length visible <span id="L1098" class="LineNr">1098 </span> <span class="Delimiter">{</span> @@ -1182,7 +1182,7 @@ if ('onhashchange' in window) { <span id="L1117" class="LineNr">1117 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L1117'>hide-trace-line</a></span> _self: (addr trace), line: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Delimiter">{</span> <span id="L1118" class="LineNr">1118 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L1119" class="LineNr">1119 </span> <span class="PreProc">var</span> visible-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, visible -<span id="L1120" class="LineNr">1120 </span> <span class="PreProc">var</span> visible/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *visible-ah +<span id="L1120" class="LineNr">1120 </span> <span class="PreProc">var</span> visible/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *visible-ah <span id="L1121" class="LineNr">1121 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L1122" class="LineNr">1122 </span> <span class="PreProc">var</span> len/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> length visible <span id="L1123" class="LineNr">1123 </span> <span class="Delimiter">{</span> @@ -1204,7 +1204,7 @@ if ('onhashchange' in window) { <span id="L1139" class="LineNr">1139 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L1139'>cursor-too-deep?</a></span> _self: (addr trace)<span class="PreProc"> -> </span>_/eax: boolean <span class="Delimiter">{</span> <span id="L1140" class="LineNr">1140 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L1141" class="LineNr">1141 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L1142" class="LineNr">1142 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L1142" class="LineNr">1142 </span> <span class="PreProc">var</span> _trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L1143" class="LineNr">1143 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _trace <span id="L1144" class="LineNr">1144 </span> <span class="PreProc">var</span> cursor-line-index-addr/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get self, cursor-line-index <span id="L1145" class="LineNr">1145 </span> <span class="PreProc">var</span> cursor-line-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy *cursor-line-index-addr @@ -2008,7 +2008,7 @@ if ('onhashchange' in window) { <span id="L1943" class="LineNr">1943 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L1943'>count-line?</a></span> _self: (addr trace), index: int, _already-hiding-lines?: (addr boolean)<span class="PreProc"> -> </span>_/eax: boolean <span class="Delimiter">{</span> <span id="L1944" class="LineNr">1944 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L1945" class="LineNr">1945 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L1946" class="LineNr">1946 </span> <span class="PreProc">var</span> trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *trace-ah +<span id="L1946" class="LineNr">1946 </span> <span class="PreProc">var</span> trace/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *trace-ah <span id="L1947" class="LineNr">1947 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> compute-offset trace, index <span id="L1948" class="LineNr">1948 </span> <span class="PreProc">var</span> curr/eax: (addr <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> index trace, offset <span id="L1949" class="LineNr">1949 </span> <span class="PreProc">var</span> already-hiding-lines?/<span class="muRegEcx">ecx</span>: (addr boolean) <span class="Special"><-</span> copy _already-hiding-lines? @@ -2164,7 +2164,7 @@ if ('onhashchange' in window) { <span id="L2099" class="LineNr">2099 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L2100" class="LineNr">2100 </span> <span class="PreProc">var</span> out/<span class="muRegEdi">edi</span>: (addr <a href='trace.mu.html#L50'>trace-index-stash</a>) <span class="Special"><-</span> copy _out <span id="L2101" class="LineNr">2101 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L2102" class="LineNr">2102 </span> <span class="PreProc">var</span> _data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L2102" class="LineNr">2102 </span> <span class="PreProc">var</span> _data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L2103" class="LineNr">2103 </span> <span class="PreProc">var</span> data/<span class="muRegEbx">ebx</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _data <span id="L2104" class="LineNr">2104 </span> <span class="muComment"># cursor</span> <span id="L2105" class="LineNr">2105 </span> <span class="PreProc">var</span> cursor-line-index-addr/eax: (addr int) <span class="Special"><-</span> get self, cursor-line-index @@ -2210,25 +2210,25 @@ if ('onhashchange' in window) { <span id="L2145" class="LineNr">2145 </span> <span class="PreProc">var</span> self/<span class="muRegEdi">edi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L2146" class="LineNr">2146 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='trace.mu.html#L50'>trace-index-stash</a>) <span class="Special"><-</span> copy _in <span id="L2147" class="LineNr">2147 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L2148" class="LineNr">2148 </span> <span class="PreProc">var</span> _data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L2148" class="LineNr">2148 </span> <span class="PreProc">var</span> _data/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L2149" class="LineNr">2149 </span> <span class="PreProc">var</span> data/<span class="muRegEbx">ebx</span>: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> copy _data <span id="L2150" class="LineNr">2150 </span> <span class="muComment"># cursor</span> <span id="L2151" class="LineNr">2151 </span> <span class="PreProc">var</span> cursor-depth/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get in, cursor-line-depth <span id="L2152" class="LineNr">2152 </span> <span class="PreProc">var</span> cursor-line-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get in, cursor-line-label -<span id="L2153" class="LineNr">2153 </span> <span class="PreProc">var</span> _cursor-line-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *cursor-line-label-ah +<span id="L2153" class="LineNr">2153 </span> <span class="PreProc">var</span> _cursor-line-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *cursor-line-label-ah <span id="L2154" class="LineNr">2154 </span> <span class="PreProc">var</span> cursor-line-label/<span class="muRegEcx">ecx</span>: (addr array byte) <span class="Special"><-</span> copy _cursor-line-label <span id="L2155" class="LineNr">2155 </span> <span class="PreProc">var</span> cursor-line-data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get in, cursor-line-data -<span id="L2156" class="LineNr">2156 </span> <span class="PreProc">var</span> cursor-line-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *cursor-line-data-ah +<span id="L2156" class="LineNr">2156 </span> <span class="PreProc">var</span> cursor-line-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *cursor-line-data-ah <span id="L2157" class="LineNr">2157 </span> <span class="PreProc">var</span> new-cursor-line-index/eax: int <span class="Special"><-</span> <a href='trace.mu.html#L2174'>find-in-trace</a> self, *cursor-depth, cursor-line-label, cursor-line-data <span id="L2158" class="LineNr">2158 </span> <span class="PreProc">var</span> dest/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, cursor-line-index <span id="L2159" class="LineNr">2159 </span> copy-to *dest, new-cursor-line-index <span id="L2160" class="LineNr">2160 </span> <span class="muComment"># top of screen</span> <span id="L2161" class="LineNr">2161 </span> <span class="PreProc">var</span> top-depth/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get in, top-line-depth <span id="L2162" class="LineNr">2162 </span> <span class="PreProc">var</span> top-line-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get in, top-line-label -<span id="L2163" class="LineNr">2163 </span> <span class="PreProc">var</span> _top-line-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *top-line-label-ah +<span id="L2163" class="LineNr">2163 </span> <span class="PreProc">var</span> _top-line-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *top-line-label-ah <span id="L2164" class="LineNr">2164 </span> <span class="PreProc">var</span> top-line-label/<span class="muRegEcx">ecx</span>: (addr array byte) <span class="Special"><-</span> copy _top-line-label <span id="L2165" class="LineNr">2165 </span> <span class="PreProc">var</span> top-line-data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get in, top-line-data -<span id="L2166" class="LineNr">2166 </span> <span class="PreProc">var</span> top-line-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *top-line-data-ah +<span id="L2166" class="LineNr">2166 </span> <span class="PreProc">var</span> top-line-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *top-line-data-ah <span id="L2167" class="LineNr">2167 </span> <span class="PreProc">var</span> new-top-line-index/eax: int <span class="Special"><-</span> <a href='trace.mu.html#L2174'>find-in-trace</a> self, *top-depth, top-line-label, top-line-data <span id="L2168" class="LineNr">2168 </span> <span class="PreProc">var</span> dest/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, top-line-index <span id="L2169" class="LineNr">2169 </span> copy-to *dest, new-top-line-index @@ -2239,7 +2239,7 @@ if ('onhashchange' in window) { <span id="L2174" class="LineNr">2174 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L2174'>find-in-trace</a></span> _self: (addr trace), depth: int, label: (addr array byte), data: (addr array byte)<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> <span id="L2175" class="LineNr">2175 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr trace) <span class="Special"><-</span> copy _self <span id="L2176" class="LineNr">2176 </span> <span class="PreProc">var</span> candidates-ah/eax: (addr handle array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> get self, data -<span id="L2177" class="LineNr">2177 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *candidates-ah +<span id="L2177" class="LineNr">2177 </span> <span class="PreProc">var</span> candidates/eax: (addr array <a href='trace.mu.html#L41'>trace-line</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *candidates-ah <span id="L2178" class="LineNr">2178 </span> <span class="PreProc">var</span> i/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L2179" class="LineNr">2179 </span> <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, first-free <span id="L2180" class="LineNr">2180 </span> <span class="Delimiter">{</span> @@ -2255,13 +2255,13 @@ if ('onhashchange' in window) { <span id="L2190" class="LineNr">2190 </span> <span class="PreProc">break-if-!=</span> <span id="L2191" class="LineNr">2191 </span> <span class="muComment"># if curr->label does not match, continue</span> <span id="L2192" class="LineNr">2192 </span> <span class="PreProc">var</span> curr-label-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, label -<span id="L2193" class="LineNr">2193 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-label-ah +<span id="L2193" class="LineNr">2193 </span> <span class="PreProc">var</span> curr-label/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-label-ah <span id="L2194" class="LineNr">2194 </span> <span class="PreProc">var</span> match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> curr-label, label <span id="L2195" class="LineNr">2195 </span> compare match?, <span class="Constant">0</span>/false <span id="L2196" class="LineNr">2196 </span> <span class="PreProc">break-if-=</span> <span id="L2197" class="LineNr">2197 </span> <span class="muComment"># if curr->data does not match, continue</span> <span id="L2198" class="LineNr">2198 </span> <span class="PreProc">var</span> curr-data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get curr, data -<span id="L2199" class="LineNr">2199 </span> <span class="PreProc">var</span> curr-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *curr-data-ah +<span id="L2199" class="LineNr">2199 </span> <span class="PreProc">var</span> curr-data/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-data-ah <span id="L2200" class="LineNr">2200 </span> <span class="Delimiter">{</span> <span id="L2201" class="LineNr">2201 </span> <span class="PreProc">var</span> match?/eax: boolean <span class="Special"><-</span> <a href='../105string-equal.subx.html#L8'>string-equal?</a> curr-data, data <span id="L2202" class="LineNr">2202 </span> compare match?, <span class="Constant">0</span>/false |