about summary refs log tree commit diff stats
path: root/html/baremetal/102keyboard.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-01-31 21:08:28 -0800
committerKartik Agaram <vc@akkartik.com>2021-01-31 21:08:28 -0800
commit4106cf7538b83f4985d1c9b5c69e0501213662ea (patch)
treeb66856216187b7fc6f86fbb1cc2351b77155f636 /html/baremetal/102keyboard.subx.html
parent2a9583414bd03399894065a1002e25dbf74b9569 (diff)
downloadmu-4106cf7538b83f4985d1c9b5c69e0501213662ea.tar.gz
7680
Diffstat (limited to 'html/baremetal/102keyboard.subx.html')
-rw-r--r--html/baremetal/102keyboard.subx.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/html/baremetal/102keyboard.subx.html b/html/baremetal/102keyboard.subx.html
index e77a5b10..e0cb3e51 100644
--- a/html/baremetal/102keyboard.subx.html
+++ b/html/baremetal/102keyboard.subx.html
@@ -76,19 +76,19 @@ if ('onhashchange' in window) {
 <span id="L20" class="LineNr">20 </span>    {
 <span id="L21" class="LineNr">21 </span>      75/jump-if-!= <span class="Constant">break</span>/disp8
 <span id="L22" class="LineNr">22 </span>      <span class="subxComment"># var read/ecx: byte = keyboard buffer's read index</span>
-<span id="L23" class="LineNr">23 </span>      8b/-&gt; *0x7dcc 1/r32/CL  <span class="subxComment"># keyboard-buffer-read</span>
+<span id="L23" class="LineNr">23 </span>      8b/-&gt; *0x802c 1/r32/CL  <span class="subxComment"># keyboard-buffer-read</span>
 <span id="L24" class="LineNr">24 </span>      <span class="subxComment"># var next-key/eax: byte = *(keyboard buffer + ecx)</span>
-<span id="L25" class="LineNr">25 </span>      8a/byte-&gt; *(ecx+0x7dd0) 0/r32/AL  <span class="subxComment"># keyboard-buffer-data</span>
-<span id="L26" class="LineNr">26 </span>      <span class="subxComment"># if (next-key != 0) lock and remove from keyboard-buffer</span>
+<span id="L25" class="LineNr">25 </span>      8a/byte-&gt; *(ecx+0x8030) 0/r32/AL  <span class="subxComment"># keyboard-buffer-data</span>
+<span id="L26" class="LineNr">26 </span>      <span class="subxComment"># if (next-key != 0) lock and remove from keyboard buffer</span>
 <span id="L27" class="LineNr">27 </span>      81 7/subop/compare %eax 0/imm32
 <span id="L28" class="LineNr">28 </span>      {
 <span id="L29" class="LineNr">29 </span>        74/jump-if-= <span class="Constant">break</span>/disp8
 <span id="L30" class="LineNr">30 </span>        <span class="subxComment"># TODO: add some instructions in this block to SubX if we ever want to</span>
 <span id="L31" class="LineNr">31 </span>        <span class="subxComment"># use bootstrap on baremetal programs</span>
 <span id="L32" class="LineNr">32 </span>        fa/disable-interrupts
-<span id="L33" class="LineNr">33 </span>        c6 0/subop/copy-byte *(ecx+0x7dd0) 0/imm8
-<span id="L34" class="LineNr">34 </span>        ff 0/subop/increment *0x7dcc  <span class="subxComment"># keyboard-buffer-read</span>
-<span id="L35" class="LineNr">35 </span>        81 4/subop/and *0x7dcc 0xf/imm32  <span class="subxComment"># keyboard-buffer-read</span>
+<span id="L33" class="LineNr">33 </span>        c6 0/subop/copy-byte *(ecx+0x8030) 0/imm8  <span class="subxComment"># keyboard-buffer-data</span>
+<span id="L34" class="LineNr">34 </span>        ff 0/subop/increment *0x802c  <span class="subxComment"># keyboard-buffer-read</span>
+<span id="L35" class="LineNr">35 </span>        81 4/subop/and *0x802c 0xf/imm32  <span class="subxComment"># keyboard-buffer-read</span>
 <span id="L36" class="LineNr">36 </span>        fb/enable-interrupts
 <span id="L37" class="LineNr">37 </span>      }
 <span id="L38" class="LineNr">38 </span>      <span class="subxComment"># return</span>