Rev 6357 | Rev 6379 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6357 | Rev 6359 | ||
---|---|---|---|
Line 243... | Line 243... | ||
243 | jnz screen_y |
243 | jnz screen_y |
Line 244... | Line 244... | ||
244 | 244 | ||
245 | fps: |
245 | fps: |
246 | mov ebx,[ScreenPointer] |
246 | mov ebx,[ScreenPointer] |
247 | mov ecx,[WorkScreen_SizeX] |
- | |
248 | mov edx,[WorkScreen_SizeY] |
247 | mov ecx,[WorkScreen_SizeX] |
249 | shl ecx,16 |
248 | shl ecx,16 |
250 | add ecx,edx |
249 | add ecx,[WorkScreen_SizeY] |
251 | mov edx,((ci_edit_wnd_x_pos+ci_edit_wnd_border) shl 16)\ |
250 | mov edx,((ci_edit_wnd_x_pos+ci_edit_wnd_border) shl 16)\ |
252 | + (ci_edit_wnd_y_pos+ci_edit_wnd_border) |
251 | + (ci_edit_wnd_y_pos+ci_edit_wnd_border) |
253 | mcall SF_PUT_IMAGE |
252 | mcall SF_PUT_IMAGE |
254 | ret |
253 | ret |
Line 261... | Line 260... | ||
261 | imul ebx,[WorkScreen_SizeY] |
260 | imul ebx,[WorkScreen_SizeY] |
262 | lea ebx,[ebx+ebx*2] |
261 | lea ebx,[ebx+ebx*2] |
263 | mov eax,0xffffffff |
262 | mov eax,0xffffffff |
264 | mov ecx,ebx |
263 | mov ecx,ebx |
265 | shr ecx,2 |
264 | shr ecx,2 |
- | 265 | cld |
|
266 | rep stosd |
266 | rep stosd |
267 | mov ecx,ebx |
267 | mov ecx,ebx |
268 | and ecx,3 |
268 | and ecx,3 |
269 | rep stosb |
269 | rep stosb |
270 | ret |
270 | ret |
Line 277... | Line 277... | ||
277 | imul ebx,[Picture_SizeY] |
277 | imul ebx,[Picture_SizeY] |
278 | lea ebx,[ebx+ebx*2] |
278 | lea ebx,[ebx+ebx*2] |
279 | mov eax,0xffffffff |
279 | mov eax,0xffffffff |
280 | mov ecx,ebx |
280 | mov ecx,ebx |
281 | shr ecx,2 |
281 | shr ecx,2 |
- | 282 | cld |
|
282 | rep stosd |
283 | rep stosd |
283 | mov ecx,ebx |
284 | mov ecx,ebx |
284 | and ecx,3 |
285 | and ecx,3 |
285 | rep stosb |
286 | rep stosb |
286 | ret |
287 | ret |