Rev 673 | Rev 911 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 673 | Rev 753 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | ;; ;; |
13 | ;; ;; |
14 | ;; See file COPYING for details ;; |
14 | ;; See file COPYING for details ;; |
15 | ;; ;; |
15 | ;; ;; |
16 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
16 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 17... | Line 17... | ||
17 | 17 | ||
Line 18... | Line 18... | ||
18 | $Revision: 673 $ |
18 | $Revision: 753 $ |
19 | 19 | ||
20 | 20 | ||
Line 288... | Line 288... | ||
288 | jne no_vesa12_stretched_bgr |
288 | jne no_vesa12_stretched_bgr |
Line 289... | Line 289... | ||
289 | 289 | ||
Line 290... | Line 290... | ||
290 | push edx |
290 | push edx |
291 | 291 | ||
292 | mul dword [BgrDataWidth] |
292 | mul dword [BgrDataWidth] |
293 | mov ecx,[ScreenWidth] |
293 | mov ecx,[Screen_Max_X] |
Line 294... | Line 294... | ||
294 | inc ecx |
294 | inc ecx |
295 | div ecx |
295 | div ecx |
296 | 296 | ||
297 | push eax |
297 | push eax |
298 | mov eax,ebx |
298 | mov eax,ebx |
299 | mul dword [BgrDataHeight] |
299 | mul dword [BgrDataHeight] |
300 | mov ecx,[ScreenHeight] |
300 | mov ecx,[Screen_Max_Y] |
301 | inc ecx |
301 | inc ecx |
Line 322... | Line 322... | ||
322 | shl ecx,16 |
322 | shl ecx,16 |
323 | mov cx,[esi] |
323 | mov cx,[esi] |
324 | pusha |
324 | pusha |
325 | mov esi,eax |
325 | mov esi,eax |
326 | mov edi,ebx |
326 | mov edi,ebx |
327 | mov eax,[ScreenWidth] |
327 | mov eax,[Screen_Max_X] |
328 | add eax,1 |
328 | add eax,1 |
329 | mul ebx |
329 | mul ebx |
330 | cmp [eax+esi+WinMapAddress],byte 1 |
330 | cmp [eax+esi+WinMapAddress],byte 1 |
331 | jnz v12nbgp |
331 | jnz v12nbgp |
332 | mov eax,[BytesPerScanLine] |
332 | mov eax,[BytesPerScanLine] |
Line 441... | Line 441... | ||
441 | jnz dbcblimitlset12 |
441 | jnz dbcblimitlset12 |
442 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.top] |
442 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.top] |
443 | cmp ecx,0 |
443 | cmp ecx,0 |
444 | jnz dbcblimitlset12 |
444 | jnz dbcblimitlset12 |
445 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.right] |
445 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.right] |
446 | cmp ecx,[ScreenWidth] |
446 | cmp ecx,[Screen_Max_X] |
447 | jnz dbcblimitlset12 |
447 | jnz dbcblimitlset12 |
448 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.bottom] |
448 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.bottom] |
449 | cmp ecx,[ScreenHeight] |
449 | cmp ecx,[Screen_Max_Y] |
450 | jnz dbcblimitlset12 |
450 | jnz dbcblimitlset12 |
451 | pop ecx |
451 | pop ecx |
452 | pop eax |
452 | pop eax |
453 | push dword 0 |
453 | push dword 0 |
454 | jmp dbcblimitlno12 |
454 | jmp dbcblimitlno12 |
Line 797... | Line 797... | ||
797 | cmp dword [eax+draw_data-CURRENT_TASK+RECT.left], 0 |
797 | cmp dword [eax+draw_data-CURRENT_TASK+RECT.left], 0 |
798 | jnz dbcblimitlset212 |
798 | jnz dbcblimitlset212 |
799 | cmp dword [eax+draw_data-CURRENT_TASK+RECT.top], 0 |
799 | cmp dword [eax+draw_data-CURRENT_TASK+RECT.top], 0 |
800 | jnz dbcblimitlset212 |
800 | jnz dbcblimitlset212 |
801 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.right] |
801 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.right] |
802 | cmp ecx,[ScreenWidth] |
802 | cmp ecx,[Screen_Max_X] |
803 | jnz dbcblimitlset212 |
803 | jnz dbcblimitlset212 |
804 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.bottom] |
804 | mov ecx,[eax+draw_data-CURRENT_TASK+RECT.bottom] |
805 | cmp ecx,[ScreenHeight] |
805 | cmp ecx,[Screen_Max_Y] |
806 | jnz dbcblimitlset212 |
806 | jnz dbcblimitlset212 |
807 | pop ecx |
807 | pop ecx |
808 | push 0 |
808 | push 0 |
809 | jmp dbcblimitlno212 |
809 | jmp dbcblimitlno212 |