diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-04-13 21:11:26 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-04-13 21:11:26 -0700 |
commit | 5a3f9a31850d6da72dff7211c9760cd4a8e1090b (patch) | |
tree | da45bfbfa58a4573b6c1898006dfaf146352eb40 /html/103grapheme.subx.html | |
parent | fea45ccbea6bee563b41da199fb3c456c6069cb5 (diff) | |
download | mu-5a3f9a31850d6da72dff7211c9760cd4a8e1090b.tar.gz |
.
Diffstat (limited to 'html/103grapheme.subx.html')
-rw-r--r-- | html/103grapheme.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/103grapheme.subx.html b/html/103grapheme.subx.html index 773f156b..6f3c3864 100644 --- a/html/103grapheme.subx.html +++ b/html/103grapheme.subx.html @@ -58,7 +58,7 @@ if ('onhashchange' in window) { <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Use the built-in font to draw a grapheme to real screen.</span> <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># We need to do this in machine code because Mu doesn't have global variables</span> -<span id="L4" class="LineNr"> 4 </span><span class="subxComment"># yet (for the start of video memory).</span> +<span id="L4" class="LineNr"> 4 </span><span class="subxComment"># yet (for the start of the font).</span> <span id="L5" class="LineNr"> 5 </span><span class="subxComment">#</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># There are uncomfortable assumptions baked in here about english/latin</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># script. We convert the grid of pixels into a fixed-width grid of graphemes,</span> @@ -84,7 +84,7 @@ if ('onhashchange' in window) { <span id="L27" class="LineNr"> 27 </span> <span class="subxComment"># var letter-bitmap/esi = font[g]</span> <span id="L28" class="LineNr"> 28 </span> 8b/-> *(ebp+8) 6/r32/esi <span id="L29" class="LineNr"> 29 </span> c1 4/subop/shift-left %esi 4/imm8 -<span id="L30" class="LineNr"> 30 </span> 81 0/subop/add %esi <span class="SpecialChar"><a href='boot.subx.html#L568'>Font</a></span>/imm32 +<span id="L30" class="LineNr"> 30 </span> 81 0/subop/add %esi <span class="SpecialChar"><a href='boot.subx.html#L628'>Font</a></span>/imm32 <span id="L31" class="LineNr"> 31 </span> <span class="subxComment"># if (letter-bitmap >= 0x9400) return # characters beyond ASCII currently not supported</span> <span id="L32" class="LineNr"> 32 </span> 81 7/subop/compare %esi 0x9400/imm32 <span id="L33" class="LineNr"> 33 </span> 7d/jump-if->= $draw-grapheme-on-real-screen:end/disp8 |