Rev 983 | Rev 1322 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 983 | Rev 1300 | ||
---|---|---|---|
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: 983 $ |
18 | $Revision: 1300 $ |
19 | 19 | ||
20 | 20 | ||
Line 240... | Line 240... | ||
240 | ret |
240 | ret |
241 | end if |
241 | end if |
Line 242... | Line 242... | ||
242 | 242 | ||
Line 243... | Line 243... | ||
243 | vesa12_drawbackground: |
243 | vesa12_drawbackground: |
Line 244... | Line 244... | ||
244 | 244 | ||
245 | call [disable_mouse] |
245 | call [_display.disable_mouse] |
246 | 246 | ||
247 | push eax |
247 | push eax |
Line 325... | Line 325... | ||
325 | mov esi,eax |
325 | mov esi,eax |
326 | mov edi,ebx |
326 | mov edi,ebx |
327 | mov eax,[Screen_Max_X] |
327 | mov eax,[Screen_Max_X] |
328 | add eax,1 |
328 | add eax,1 |
329 | mul ebx |
329 | mul ebx |
- | 330 | add eax, [_WinMapAddress] |
|
330 | cmp [eax+esi+WinMapAddress],byte 1 |
331 | cmp [eax+esi],byte 1 |
331 | jnz v12nbgp |
332 | jnz v12nbgp |
332 | mov eax,[BytesPerScanLine] |
333 | mov eax,[BytesPerScanLine] |
333 | mov ebx,edi |
334 | mov ebx,edi |
334 | mul ebx |
335 | mul ebx |
335 | add eax, esi |
336 | add eax, esi |
Line 384... | Line 385... | ||
384 | ret |
385 | ret |
Line 385... | Line 386... | ||
385 | 386 | ||
Line 386... | Line 387... | ||
386 | 387 | ||
Line 387... | Line 388... | ||
387 | vesa12_drawbar: |
388 | vesa12_drawbar: |
388 | 389 | ||
389 | call [disable_mouse] |
390 | call [_display.disable_mouse] |
390 | 391 | ||
Line 492... | Line 493... | ||
492 | xor edx,edx |
493 | xor edx,edx |
493 | mov eax,edi |
494 | mov eax,edi |
494 | sub eax,VGABasePtr |
495 | sub eax,VGABasePtr |
495 | mov ebx,3 |
496 | mov ebx,3 |
496 | div ebx |
497 | div ebx |
497 | add eax,WinMapAddress |
498 | add eax, [_WinMapAddress] |
498 | mov ebx,[CURRENT_TASK] |
499 | mov ebx,[CURRENT_TASK] |
499 | cld |
500 | cld |
Line 500... | Line 501... | ||
500 | 501 | ||
Line 583... | Line 584... | ||
583 | push ecx |
584 | push ecx |
Line 584... | Line 585... | ||
584 | 585 | ||
585 | mov eax,edi |
586 | mov eax,edi |
586 | sub eax,VGABasePtr |
587 | sub eax,VGABasePtr |
587 | shr eax,2 |
588 | shr eax,2 |
588 | add eax,WinMapAddress |
589 | add eax, [_WinMapAddress] |
589 | mov ebx,[CURRENT_TASK] |
590 | mov ebx,[CURRENT_TASK] |
Line 590... | Line 591... | ||
590 | cld |
591 | cld |
Line 751... | Line 752... | ||
751 | 752 | ||
752 | ; mov ebx,image |
753 | ; mov ebx,image |
753 | ; mov ecx,320*65536+240 |
754 | ; mov ecx,320*65536+240 |
Line 754... | Line 755... | ||
754 | ; mov edx,20*65536+20 |
755 | ; mov edx,20*65536+20 |
Line 755... | Line 756... | ||
755 | 756 | ||
756 | call [disable_mouse] |
757 | call [_display.disable_mouse] |
757 | 758 | ||
758 | mov [novesachecksum],dword 0 |
759 | mov [novesachecksum],dword 0 |
Line 828... | Line 829... | ||
828 | 829 | ||
829 | mov edx,edi |
830 | mov edx,edi |
830 | sub edx,VGABasePtr |
831 | sub edx,VGABasePtr |
831 | mov ebx,3 |
832 | mov ebx,3 |
832 | div ebx |
833 | div ebx |
833 | add edx,WinMapAddress |
834 | add edx, [_WinMapAddress] |
834 | mov ebx,[CURRENT_TASK] |
835 | mov ebx,[CURRENT_TASK] |
Line 835... | Line 836... | ||
835 | mov bh,[esp+4*3] |
836 | mov bh,[esp+4*3] |
Line 907... | Line 908... | ||
907 | push ebx |
908 | push ebx |
Line 908... | Line 909... | ||
908 | 909 | ||
909 | mov edx,edi |
910 | mov edx,edi |
910 | sub edx,VGABasePtr |
911 | sub edx,VGABasePtr |
911 | shr edx,2 |
912 | shr edx,2 |
912 | add edx,WinMapAddress |
913 | add edx, [_WinMapAddress] |
913 | mov ebx,[CURRENT_TASK] |
914 | mov ebx,[CURRENT_TASK] |
Line 914... | Line 915... | ||
914 | mov bh,[esp+4*3] |
915 | mov bh,[esp+4*3] |