diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-08-30 09:21:52 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-08-30 09:21:52 -0700 |
commit | 61ec86b71928afc4a7b0a9c787ba88d5b4b3040b (patch) | |
tree | 1c3da9ed40fa8bb36adb081e6dc538dfebf87afd /html/apps/ex8.mu.html | |
parent | a479f0d0837be5fec7e92ef806cc50b9c17ed50c (diff) | |
download | mu-61ec86b71928afc4a7b0a9c787ba88d5b4b3040b.tar.gz |
.
Diffstat (limited to 'html/apps/ex8.mu.html')
-rw-r--r-- | html/apps/ex8.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/ex8.mu.html b/html/apps/ex8.mu.html index 1e920f16..429cddf4 100644 --- a/html/apps/ex8.mu.html +++ b/html/apps/ex8.mu.html @@ -61,8 +61,8 @@ if ('onhashchange' in window) { <span id="L3" class="LineNr"> 3 </span><span class="muComment"># To build a disk image:</span> <span id="L4" class="LineNr"> 4 </span><span class="muComment"># ./translate apps/ex8.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"># bochs -f bochsrc # bochsrc loads code.img</span> -<span id="L7" class="LineNr"> 7 </span><span class="muComment"># Set a breakpoint at 0x7c00 and start stepping.</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"># You shouldn't see any exceptions.</span> <span id="L8" class="LineNr"> 8 </span> <span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex8.mu.html#L9'>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="L10" class="LineNr">10 </span> <span class="PreProc">var</span> n/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> |