about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--103grapheme.subx9
1 files changed, 5 insertions, 4 deletions
diff --git a/103grapheme.subx b/103grapheme.subx
index 269e3c02..8f1f9e61 100644
--- a/103grapheme.subx
+++ b/103grapheme.subx
@@ -24,13 +24,14 @@ draw-grapheme-on-real-screen:  # g: grapheme, x: int, y: int, color: int, backgr
     52/push-edx
     53/push-ebx
     56/push-esi
-    # var letter-bitmap/esi = font[g]
+    # esi = g
     8b/-> *(ebp+8) 6/r32/esi
+    # if (g >= 128) return  # characters beyond ASCII currently not supported
+    81 7/subop/compare %esi 0x80/imm32
+    7d/jump-if->= $draw-grapheme-on-real-screen:end/disp8
+    # var letter-bitmap/esi = font[g]
     c1 4/subop/shift-left %esi 4/imm8
     81 0/subop/add %esi Font/imm32
-    # if (letter-bitmap >= 0x9400) return  # characters beyond ASCII currently not supported
-    81 7/subop/compare %esi 0x9400/imm32
-    7d/jump-if->= $draw-grapheme-on-real-screen:end/disp8
     # var ycurr/edx: int = y*16
     8b/-> *(ebp+0x10) 2/r32/edx
     c1 4/subop/shift-left %edx 4/imm8
=229d63aad2286135440fccc452e95e1cbb502318'>^
e6b42204 ^
21a6f553 ^

e6b42204 ^
49a99383 ^


71e4f381 ^


67aeff89 ^
c5a3f655 ^
91dc5814 ^

c5a3f655 ^
71e4f381 ^
d94821d3 ^


7b2d39b8 ^
4e70cac9 ^


adc92f49 ^
73744d09 ^
d94821d3 ^
8dc3c85a ^


71e4f381 ^
c9093dbb ^

91dc5814 ^
c54b7e96 ^
c5a3f655 ^
91dc5814 ^
492fb278 ^
71e4f381 ^
4b57c101 ^



71e4f381 ^
91dc5814 ^
cec5ef31 ^
c5a3f655 ^
cec5ef31 ^
c5a3f655 ^
b8d613e7 ^
1a1a1671 ^
91dc5814 ^


1a1a1671 ^
c5a3f655 ^
91dc5814 ^




01b72aa0 ^

91dc5814 ^

01b72aa0 ^
e2b55208 ^
01b72aa0 ^

e2b55208 ^
91dc5814 ^


c5a3f655 ^
eea6659a ^
c5a3f655 ^
86a12476 ^
1a1a1671 ^
91dc5814 ^
eea6659a ^


18d5bab2 ^

91dc5814 ^

71418907 ^

91dc5814 ^

5462619d ^
c79b93ca ^
307745bc ^
71e4f381 ^



6f65b65f ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110