Rev 1608 | Rev 6763 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1608 | Rev 3450 | ||
---|---|---|---|
Line 128... | Line 128... | ||
128 | mov esi,[scr_buf.ptr] |
128 | mov esi,[scr_buf.ptr] |
129 | mov edi,[sf_buf.end] |
129 | mov edi,[sf_buf.end] |
130 | movzx edx,word [scr_buf.height] |
130 | movzx edx,word [scr_buf.height] |
131 | movzx ebx,word [scr_buf.width] |
131 | movzx ebx,word [scr_buf.width] |
132 | lea ebx,[ebx*3] |
132 | lea ebx,[ebx*3] |
- | 133 | mov ecx,ebx |
|
Line 133... | Line 134... | ||
133 | 134 | ||
134 | test ebx,11b |
135 | test ebx,11b |
135 | jz @f |
136 | jz @f |
136 | shr ebx,2 |
137 | shr ebx,2 |
137 | inc ebx |
138 | inc ebx |
138 | shl ebx,2 |
139 | shl ebx,2 |
- | 140 | @@: |
|
- | 141 | mov eax,ebx |
|
139 | @@: |
142 | sub eax,ecx |
140 | cld |
143 | cld |
141 | align 4 |
144 | align 4 |
142 | .next_str: |
145 | .next_str: |
143 | sub edi,ebx |
146 | sub edi,ebx |
144 | mov ecx,ebx |
147 | mov ecx,ebx |
145 | shr ecx,2 |
148 | shr ecx,2 |
146 | rep movsd |
149 | rep movsd |
- | 150 | sub edi,ebx |
|
147 | sub edi,ebx |
151 | sub esi,eax |
148 | dec edx |
152 | dec edx |
Line 149... | Line 153... | ||
149 | jnz .next_str |
153 | jnz .next_str |
150 | 154 |