about summary refs log tree commit diff stats
path: root/html/apps/ex4.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-08-30 09:21:52 -0700
committerKartik Agaram <vc@akkartik.com>2021-08-30 09:21:52 -0700
commit61ec86b71928afc4a7b0a9c787ba88d5b4b3040b (patch)
tree1c3da9ed40fa8bb36adb081e6dc538dfebf87afd /html/apps/ex4.mu.html
parenta479f0d0837be5fec7e92ef806cc50b9c17ed50c (diff)
downloadmu-61ec86b71928afc4a7b0a9c787ba88d5b4b3040b.tar.gz
.
Diffstat (limited to 'html/apps/ex4.mu.html')
-rw-r--r--html/apps/ex4.mu.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/html/apps/ex4.mu.html b/html/apps/ex4.mu.html
index 9113dde4..89fca96e 100644
--- a/html/apps/ex4.mu.html
+++ b/html/apps/ex4.mu.html
@@ -15,8 +15,10 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color:
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .PreProc { color: #c000c0; }
+.Special { color: #ff6060; }
 .LineNr { }
 .Constant { color: #008787; }
+.CommentedCode { color: #8a8a8a; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muComment { color: #005faf; }
@@ -61,13 +63,13 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr"> 4 </span><span class="muComment">#   ./translate apps/ex4.mu        # emits code.img</span>
 <span id="L5" class="LineNr"> 5 </span><span class="muComment"># To run:</span>
 <span id="L6" class="LineNr"> 6 </span><span class="muComment">#   qemu-system-i386 code.img</span>
-<span id="L7" class="LineNr"> 7 </span><span class="muComment"># Or:</span>
-<span id="L8" class="LineNr"> 8 </span><span class="muComment">#   bochs -f bochsrc               # bochsrc loads code.img</span>
-<span id="L9" class="LineNr"> 9 </span><span class="muComment">#</span>
-<span id="L10" class="LineNr">10 </span><span class="muComment"># Expected output: letter 'A' in green near the top-left corner of screen</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='ex4.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="L13" class="LineNr">13 </span>  <a href='../500fake-screen.mu.html#L130'>draw-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x41</span>/A, <span class="Constant">2</span>/row, <span class="Constant">1</span>/col, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L7" class="LineNr"> 7 </span><span class="muComment">#</span>
+<span id="L8" class="LineNr"> 8 </span><span class="muComment"># Expected output: letter 'A' in green near the top-left corner of screen</span>
+<span id="L9" class="LineNr"> 9 </span>
+<span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex4.mu.html#L10'>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="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../500fake-screen.mu.html#L92'>draw-code-point</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x41</span>/A, <span class="Constant">2</span>/row, <span class="Constant">1</span>/col, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L12" class="LineNr">12 </span>  <span class="muComment"># wide glyph</span>
+<span id="L13" class="LineNr">13 </span><span class="CommentedCode">#?   var dummy/eax: int &lt;- draw-code-point screen, 0x1b/esc, 2/row, 1/col, 0xa/fg, 0/bg</span>
 <span id="L14" class="LineNr">14 </span><span class="Delimiter">}</span>
 </pre>
 </body>