Rev 12 | Rev 106 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 24 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | ;edx - symbol |
120 | ;edx - symbol |
121 | ;edi - force? |
121 | ;edi - force? |
122 | ;result - eax=eax+sym_size |
122 | ;result - eax=eax+sym_size |
123 | pushad |
123 | pushad |
124 | call [disable_mouse] |
124 | call [disable_mouse] |
- | 125 | shl edx,1 |
|
125 | mov esi,9 |
126 | mov esi,9 |
126 | lea ebp,[0x3EC00+8*edx+edx] |
127 | lea ebp,[0x3EC00+4*edx+edx+1] |
127 | push dword -1 ;size |
- | |
128 | .symloop: |
128 | .symloop: |
129 | push esi |
129 | push esi |
130 | mov dl,byte [ebp] |
130 | mov dl,byte [ebp] |
131 | xor esi,esi |
131 | xor esi,esi |
132 | .pixloop: |
132 | .pixloop: |
133 | test dl,1 |
133 | test dl,1 |
134 | jz .nopix |
134 | jz .nopix |
135 | cmp [esp+4],esi |
- | |
136 | jge .no_inc |
- | |
137 | mov [esp+4],esi |
- | |
138 | .no_inc: |
- | |
139 | call [putpixel] |
135 | call [putpixel] |
140 | .nopix: |
136 | .nopix: |
141 | shr dl,1 |
137 | shr dl,1 |
142 | inc esi |
138 | inc esi |
143 | inc eax |
139 | inc eax |
Line 147... | Line 143... | ||
147 | inc ebx |
143 | inc ebx |
148 | pop esi |
144 | pop esi |
149 | inc ebp |
145 | inc ebp |
150 | dec esi |
146 | dec esi |
151 | jnz .symloop |
147 | jnz .symloop |
152 | pop edx |
- | |
153 | test edx,edx |
- | |
154 | jge .nospace |
- | |
155 | mov edx,4 |
148 | movzx edx,byte [ebp-10] |
156 | .nospace: |
- | |
157 | add edx,2 |
- | |
158 | add [esp+32-4],edx |
149 | add [esp+32-4],edx |
159 | popad |
150 | popad |
160 | ret |
151 | ret |
161 | 152 |