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/apps/ex10.mu.html | |
parent | a54b2cb7af733ae053b0aa78eca2bd4a3419d23d (diff) | |
download | mu-132d72d28a63e58ec7f5e6fc955be140ee5844b0.tar.gz |
.
Diffstat (limited to 'html/apps/ex10.mu.html')
-rw-r--r-- | html/apps/ex10.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/ex10.mu.html b/html/apps/ex10.mu.html index 46ee2178..87b2fe5d 100644 --- a/html/apps/ex10.mu.html +++ b/html/apps/ex10.mu.html @@ -68,7 +68,7 @@ if ('onhashchange' in window) { <span id="L9" class="LineNr"> 9 </span><span class="muComment"># Values between -256 and +255 as you move the mouse over the window.</span> <span id="L10" class="LineNr">10 </span><span class="muComment"># You might need to click on the window once.</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='ex10.mu.html#L12'>main</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span> +<span id="L12" class="LineNr">12 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex10.mu.html#L12'>main</a></span> <a href='../500fake-screen.mu.html#L16'>screen</a>: (addr <a href='../500fake-screen.mu.html#L16'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span> <span id="L13" class="LineNr">13 </span> <span class="muComment"># repeatedly print out mouse driver results if non-zero</span> <span id="L14" class="LineNr">14 </span> $main:event-loop: <span class="Delimiter">{</span> <span id="L15" class="LineNr">15 </span> <span class="PreProc">var</span> dx/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> @@ -84,15 +84,15 @@ if ('onhashchange' in window) { <span id="L25" class="LineNr">25 </span> <span class="Delimiter">{</span> <span id="L26" class="LineNr">26 </span> <span class="PreProc">var</span> dummy1/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L27" class="LineNr">27 </span> <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L28" class="LineNr">28 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L316'>draw-text-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg +<span id="L28" class="LineNr">28 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L316'>draw-text-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">" "</span>, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L29" class="LineNr">29 </span> <span class="Delimiter">}</span> <span id="L30" class="LineNr">30 </span> <span class="Delimiter">{</span> <span id="L31" class="LineNr">31 </span> <span class="PreProc">var</span> dummy/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L32" class="LineNr">32 </span> dx, dummy <span class="Special"><-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dx, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg +<span id="L32" class="LineNr">32 </span> dx, dummy <span class="Special"><-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, dx, <span class="Constant">0</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L33" class="LineNr">33 </span> <span class="Delimiter">}</span> <span id="L34" class="LineNr">34 </span> <span class="Delimiter">{</span> <span id="L35" class="LineNr">35 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L36" class="LineNr">36 </span> dummy, dy <span class="Special"><-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, dy, <span class="Constant">5</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg +<span id="L36" class="LineNr">36 </span> dummy, dy <span class="Special"><-</span> <a href='../501draw-text.mu.html#L426'>draw-int32-decimal-wrapping-right-then-down-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, dy, <span class="Constant">5</span>/x, <span class="Constant">0x10</span>/y, <span class="Constant">0x31</span>/fg, <span class="Constant">0</span>/bg <span id="L37" class="LineNr">37 </span> <span class="Delimiter">}</span> <span id="L38" class="LineNr">38 </span> <span class="PreProc">loop</span> <span id="L39" class="LineNr">39 </span> <span class="Delimiter">}</span> |