diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
commit | 372367f59a897162912d0646158bdea1e07d6e66 (patch) | |
tree | 16cd7f70de3505f35fbc86ed2b7d3810cab0d148 /html/linux/tile/box.mu.html | |
parent | dc5a0acf3feea227d03a98cedf427d2aef462320 (diff) | |
download | mu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz |
html: better highlighting for int registers
Diffstat (limited to 'html/linux/tile/box.mu.html')
-rw-r--r-- | html/linux/tile/box.mu.html | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/html/linux/tile/box.mu.html b/html/linux/tile/box.mu.html index 55d8a5ca..1898f0fc 100644 --- a/html/linux/tile/box.mu.html +++ b/html/linux/tile/box.mu.html @@ -14,16 +14,15 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background- body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } -.muRegEsi { color: #87d787; } -.Special { color: #ff6060; } +.PreProc { color: #c000c0; } .LineNr { } +.muRegEsi { color: #005faf; } +.muComment { color: #005faf; } .Constant { color: #008787; } -.muRegEax { color: #875f00; } +.muRegEcx { color: #870000; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.muRegEcx { color: #af875f; } -.PreProc { color: #c000c0; } -.muComment { color: #005faf; } +.Special { color: #ff6060; } --> </style> @@ -71,7 +70,7 @@ if ('onhashchange' in window) { <span id="L10" class="LineNr"> 10 </span><span class="Delimiter">}</span> <span id="L11" class="LineNr"> 11 </span> <span id="L12" class="LineNr"> 12 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='box.mu.html#L12'>draw-hatching</a></span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), row1: int, col1: int, row2: int, col2: int <span class="Delimiter">{</span> -<span id="L13" class="LineNr"> 13 </span> <span class="PreProc">var</span> c/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy col1 +<span id="L13" class="LineNr"> 13 </span> <span class="PreProc">var</span> c/eax: int <span class="Special"><-</span> copy col1 <span id="L14" class="LineNr"> 14 </span> <span class="PreProc">var</span> r1/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy row1 <span id="L15" class="LineNr"> 15 </span> r1 <span class="Special"><-</span> increment <span id="L16" class="LineNr"> 16 </span> c <span class="Special"><-</span> add <span class="Constant">2</span> @@ -85,7 +84,7 @@ if ('onhashchange' in window) { <span id="L24" class="LineNr"> 24 </span><span class="Delimiter">}</span> <span id="L25" class="LineNr"> 25 </span> <span id="L26" class="LineNr"> 26 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='box.mu.html#L26'>draw-horizontal-line</a></span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), row: int, col1: int, col2: int <span class="Delimiter">{</span> -<span id="L27" class="LineNr"> 27 </span> <span class="PreProc">var</span> col/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy col1 +<span id="L27" class="LineNr"> 27 </span> <span class="PreProc">var</span> col/eax: int <span class="Special"><-</span> copy col1 <span id="L28" class="LineNr"> 28 </span> <a href='../405screen.mu.html#L109'>move-cursor</a> <a href='../405screen.mu.html#L9'>screen</a>, row, col <span id="L29" class="LineNr"> 29 </span> <span class="Delimiter">{</span> <span id="L30" class="LineNr"> 30 </span> compare col, col2 @@ -97,7 +96,7 @@ if ('onhashchange' in window) { <span id="L36" class="LineNr"> 36 </span><span class="Delimiter">}</span> <span id="L37" class="LineNr"> 37 </span> <span id="L38" class="LineNr"> 38 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='box.mu.html#L38'>draw-vertical-line</a></span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), row1: int, row2: int, col: int <span class="Delimiter">{</span> -<span id="L39" class="LineNr"> 39 </span> <span class="PreProc">var</span> row/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy row1 +<span id="L39" class="LineNr"> 39 </span> <span class="PreProc">var</span> row/eax: int <span class="Special"><-</span> copy row1 <span id="L40" class="LineNr"> 40 </span> <span class="Delimiter">{</span> <span id="L41" class="LineNr"> 41 </span> compare row, row2 <span id="L42" class="LineNr"> 42 </span> <span class="PreProc">break-if->=</span> @@ -130,7 +129,7 @@ if ('onhashchange' in window) { <span id="L69" class="LineNr"> 69 </span> <span id="L70" class="LineNr"> 70 </span><span class="muComment"># erase parts of screen the slow way</span> <span id="L71" class="LineNr"> 71 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='box.mu.html#L71'>clear-rect</a></span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), row1: int, col1: int, row2: int, col2: int <span class="Delimiter">{</span> -<span id="L72" class="LineNr"> 72 </span> <span class="PreProc">var</span> i/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy row1 +<span id="L72" class="LineNr"> 72 </span> <span class="PreProc">var</span> i/eax: int <span class="Special"><-</span> copy row1 <span id="L73" class="LineNr"> 73 </span> <span class="Delimiter">{</span> <span id="L74" class="LineNr"> 74 </span> compare i, row2 <span id="L75" class="LineNr"> 75 </span> <span class="PreProc">break-if-></span> @@ -149,7 +148,7 @@ if ('onhashchange' in window) { <span id="L88" class="LineNr"> 88 </span><span class="Delimiter">}</span> <span id="L89" class="LineNr"> 89 </span> <span id="L90" class="LineNr"> 90 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='box.mu.html#L90'>clear-rect2</a></span> <a href='../405screen.mu.html#L9'>screen</a>: (addr <a href='../405screen.mu.html#L9'>screen</a>), row1: int, col1: int, w: int, h: int <span class="Delimiter">{</span> -<span id="L91" class="LineNr"> 91 </span> <span class="PreProc">var</span> i/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> +<span id="L91" class="LineNr"> 91 </span> <span class="PreProc">var</span> i/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L92" class="LineNr"> 92 </span> <span class="PreProc">var</span> curr-row/<span class="muRegEsi">esi</span>: int <span class="Special"><-</span> copy row1 <span id="L93" class="LineNr"> 93 </span> <span class="Delimiter">{</span> <span id="L94" class="LineNr"> 94 </span> compare i, w |