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/500fake-screen.mu.html | |
parent | 8765064d6910c65ea5ed5526b27e9752df000c3d (diff) | |
download | mu-52e3ea8a4bec791e4c2d64fb8aca9e26cdf60f25.tar.gz |
.
Diffstat (limited to 'html/500fake-screen.mu.html')
-rw-r--r-- | html/500fake-screen.mu.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/html/500fake-screen.mu.html b/html/500fake-screen.mu.html index 609ab4e4..59f760f2 100644 --- a/html/500fake-screen.mu.html +++ b/html/500fake-screen.mu.html @@ -1,35 +1,35 @@ -<!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 - 500fake-screen.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; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } .PreProc { color: #c000c0; } -.muRegEbx { color: #5f00ff; } -.muRegEcx { color: #870000; } .muRegEdx { color: #af5f00; } +.Special { color: #ff6060; } .LineNr { } +.Constant { color: #008787; } +.muRegEbx { color: #5f00ff; } .muRegEsi { color: #005faf; } .muRegEdi { color: #00af00; } -.Constant { color: #008787; } -.muFunction { color: #af5f00; text-decoration: underline; } +.muRegEcx { color: #870000; } .Delimiter { color: #c000c0; } +.muFunction { color: #af5f00; text-decoration: underline; } .muComment { color: #005faf; } -.Special { color: #ff6060; } --> </style> -<script> +<script type='text/javascript'> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -175,7 +175,7 @@ if ('onhashchange' in window) { <span id="L112" class="LineNr">112 </span> <span class="muComment"># fake screen</span> <span id="L113" class="LineNr">113 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='500fake-screen.mu.html#L136'>screen-cell-index</a> <a href='500fake-screen.mu.html#L14'>screen</a>, x, y <span id="L114" class="LineNr">114 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data -<span id="L115" class="LineNr">115 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L115" class="LineNr">115 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L116" class="LineNr">116 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> compute-offset data, idx <span id="L117" class="LineNr">117 </span> <span class="PreProc">var</span> dest-cell/<span class="muRegEcx">ecx</span>: (addr <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> index data, offset <span id="L118" class="LineNr">118 </span> <span class="PreProc">var</span> dest-grapheme/eax: (addr grapheme) <span class="Special"><-</span> get dest-cell, data @@ -340,7 +340,7 @@ if ('onhashchange' in window) { <span id="L277" class="LineNr">277 </span> <span class="Delimiter">}</span> <span id="L278" class="LineNr">278 </span> <a href='500fake-screen.mu.html#L190'>set-cursor-position</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>, <span class="Constant">0</span> <span id="L279" class="LineNr">279 </span> <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels -<span id="L280" class="LineNr">280 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *pixels-ah +<span id="L280" class="LineNr">280 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah <span id="L281" class="LineNr">281 </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="L282" class="LineNr">282 </span> <span class="PreProc">var</span> max/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> length pixels <span id="L283" class="LineNr">283 </span> <span class="Delimiter">{</span> @@ -381,7 +381,7 @@ if ('onhashchange' in window) { <span id="L318" class="LineNr">318 </span> <span class="PreProc">loop</span> <span id="L319" class="LineNr">319 </span> <span class="Delimiter">}</span> <span id="L320" class="LineNr">320 </span> <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels -<span id="L321" class="LineNr">321 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *pixels-ah +<span id="L321" class="LineNr">321 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah <span id="L322" class="LineNr">322 </span> <span class="PreProc">var</span> y/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L323" class="LineNr">323 </span> <span class="PreProc">var</span> height-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height <span id="L324" class="LineNr">324 </span> <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy *height-addr @@ -497,7 +497,7 @@ if ('onhashchange' in window) { <span id="L434" class="LineNr">434 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L434'>screen-grapheme-at-idx</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), idx-on-stack: int<span class="PreProc"> -> </span>_/eax: grapheme <span class="Delimiter">{</span> <span id="L435" class="LineNr">435 </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"><-</span> copy _screen <span id="L436" class="LineNr">436 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data -<span id="L437" class="LineNr">437 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L437" class="LineNr">437 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L438" class="LineNr">438 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy idx-on-stack <span id="L439" class="LineNr">439 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> compute-offset data, idx <span id="L440" class="LineNr">440 </span> <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> index data, offset @@ -515,7 +515,7 @@ if ('onhashchange' in window) { <span id="L452" class="LineNr">452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L452'>screen-color-at-idx</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), idx-on-stack: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> <span id="L453" class="LineNr">453 </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"><-</span> copy _screen <span id="L454" class="LineNr">454 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data -<span id="L455" class="LineNr">455 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L455" class="LineNr">455 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L456" class="LineNr">456 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy idx-on-stack <span id="L457" class="LineNr">457 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> compute-offset data, idx <span id="L458" class="LineNr">458 </span> <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> index data, offset @@ -534,7 +534,7 @@ if ('onhashchange' in window) { <span id="L471" class="LineNr">471 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L471'>screen-background-color-at-idx</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), idx-on-stack: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> <span id="L472" class="LineNr">472 </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"><-</span> copy _screen <span id="L473" class="LineNr">473 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, data -<span id="L474" class="LineNr">474 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *data-ah +<span id="L474" class="LineNr">474 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L475" class="LineNr">475 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy idx-on-stack <span id="L476" class="LineNr">476 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> compute-offset data, idx <span id="L477" class="LineNr">477 </span> <span class="PreProc">var</span> cell/eax: (addr <a href='500fake-screen.mu.html#L27'>screen-cell</a>) <span class="Special"><-</span> index data, offset @@ -553,7 +553,7 @@ if ('onhashchange' in window) { <span id="L490" class="LineNr">490 </span> <span class="muComment"># fake screen</span> <span id="L491" class="LineNr">491 </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"><-</span> copy <a href='500fake-screen.mu.html#L14'>screen</a> <span id="L492" class="LineNr">492 </span> <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels -<span id="L493" class="LineNr">493 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *pixels-ah +<span id="L493" class="LineNr">493 </span> <span class="PreProc">var</span> pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah <span id="L494" class="LineNr">494 </span> <span class="Delimiter">{</span> <span id="L495" class="LineNr">495 </span> compare pixels, <span class="Constant">0</span> <span id="L496" class="LineNr">496 </span> <span class="PreProc">break-if-!=</span> @@ -611,7 +611,7 @@ if ('onhashchange' in window) { <span id="L548" class="LineNr">548 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='500fake-screen.mu.html#L548'>copy-pixels</a></span> _screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), target-screen: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span> <span id="L549" class="LineNr">549 </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"><-</span> copy _screen <span id="L550" class="LineNr">550 </span> <span class="PreProc">var</span> pixels-ah/eax: (addr handle array byte) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels -<span id="L551" class="LineNr">551 </span> <span class="PreProc">var</span> _pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L223'>lookup</a> *pixels-ah +<span id="L551" class="LineNr">551 </span> <span class="PreProc">var</span> _pixels/eax: (addr array byte) <span class="Special"><-</span> <a href='120allocate.subx.html#L235'>lookup</a> *pixels-ah <span id="L552" class="LineNr">552 </span> <span class="PreProc">var</span> pixels/<span class="muRegEdi">edi</span>: (addr array byte) <span class="Special"><-</span> copy _pixels <span id="L553" class="LineNr">553 </span> <span class="PreProc">var</span> width-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width <span id="L554" class="LineNr">554 </span> <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy *width-a @@ -653,7 +653,7 @@ if ('onhashchange' in window) { <span id="L590" class="LineNr">590 </span> <span class="PreProc">var</span> width-a/<span class="muRegEbx">ebx</span>: (addr int) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, width <span id="L591" class="LineNr">591 </span> <span class="PreProc">var</span> height-a/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, height <span id="L592" class="LineNr">592 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array byte) <span class="Special"><-</span> get <a href='500fake-screen.mu.html#L14'>screen</a>, pixels -<span id="L593" class="LineNr">593 </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="L593" class="LineNr">593 </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="L594" class="LineNr">594 </span> <span class="PreProc">var</span> data: (addr array byte) <span id="L595" class="LineNr">595 </span> copy-to data, _data <span id="L596" class="LineNr">596 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> |