diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-04-21 08:28:00 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-04-21 08:28:00 -0700 |
commit | a8fb537a88fdbe77cdcbaa05ee28d1cad94550da (patch) | |
tree | d0fad5f8da140435dcf05b631a4b3f315e0c1f86 /html/ex8.mu.html | |
parent | d27994a9d73f970a7b54ec71f4ae457da3734daa (diff) | |
download | mu-a8fb537a88fdbe77cdcbaa05ee28d1cad94550da.tar.gz |
.
Diffstat (limited to 'html/ex8.mu.html')
-rw-r--r-- | html/ex8.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/ex8.mu.html b/html/ex8.mu.html index ba4d1fd9..b4aafd6c 100644 --- a/html/ex8.mu.html +++ b/html/ex8.mu.html @@ -7,11 +7,11 @@ <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="> -<meta name="colorscheme" content="minimal-light"> +<meta name="colorscheme" content="minimal-dark"> <style type="text/css"> <!-- -pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #c6c6c6; } -body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } +pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #a8a8a8; } +body { font-size:12pt; font-family: monospace; color: #000000; background-color: #a8a8a8; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } .PreProc { color: #c000c0; } @@ -59,12 +59,12 @@ if ('onhashchange' in window) { <span id="L1" class="LineNr"> 1 </span><span class="muComment"># Demo of floating-point support.</span> <span id="L2" class="LineNr"> 2 </span><span class="muComment">#</span> <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 ex8.mu # emits disk.img</span> +<span id="L4" class="LineNr"> 4 </span><span class="muComment"># ./translate 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 disk.img</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="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='500text-screen.mu.html#L9'>screen</a>: (addr <a href='500text-screen.mu.html#L9'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</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/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special"><-</span> convert n <span id="L12" class="LineNr">12 </span><span class="Delimiter">}</span> |