Rev 3626 | Rev 4423 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3626 | Rev 4288 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 3626 $ |
8 | $Revision: 4288 $ |
9 | 9 | ||
10 | 10 | ||
Line 616... | Line 616... | ||
616 | mov eax, [BPSLine_calc_area+eax*4] |
616 | mov eax, [BPSLine_calc_area+eax*4] |
617 | lea edx, [LFB_BASE+ecx*3] |
617 | lea edx, [LFB_BASE+ecx*3] |
618 | add edx, eax |
618 | add edx, eax |
619 | mov [cur_saved_base], edx |
619 | mov [cur_saved_base], edx |
Line 620... | Line 620... | ||
620 | 620 | ||
621 | cmp ebx, [Screen_Max_X] |
621 | cmp ebx, [_display.width] |
622 | jbe @F |
622 | jb @F |
- | 623 | mov ebx, [_display.width] |
|
623 | mov ebx, [Screen_Max_X] |
624 | dec ebx |
624 | ;-------------------------------------- |
625 | ;-------------------------------------- |
625 | align 4 |
626 | align 4 |
626 | @@: |
627 | @@: |
627 | cmp edi, [Screen_Max_Y] |
628 | cmp edi, [_display.height] |
628 | jbe @F |
629 | jb @F |
- | 630 | mov edi, [_display.height] |
|
629 | mov edi, [Screen_Max_Y] |
631 | dec edi |
630 | ;-------------------------------------- |
632 | ;-------------------------------------- |
631 | align 4 |
633 | align 4 |
632 | @@: |
634 | @@: |
633 | mov [cur.right], ebx |
635 | mov [cur.right], ebx |
Line 734... | Line 736... | ||
734 | ; mul dword [BytesPerScanLine] |
736 | ; mul dword [BytesPerScanLine] |
735 | mov eax, [BPSLine_calc_area+eax*4] |
737 | mov eax, [BPSLine_calc_area+eax*4] |
736 | lea edx, [LFB_BASE+eax+ecx*4] |
738 | lea edx, [LFB_BASE+eax+ecx*4] |
737 | mov [cur_saved_base], edx |
739 | mov [cur_saved_base], edx |
Line 738... | Line 740... | ||
738 | 740 | ||
739 | cmp ebx, [Screen_Max_X] |
741 | cmp ebx, [_display.width] |
740 | jbe @F |
742 | jb @F |
- | 743 | mov ebx, [_display.width] |
|
741 | mov ebx, [Screen_Max_X] |
744 | dec ebx |
742 | ;-------------------------------------- |
745 | ;-------------------------------------- |
743 | align 4 |
746 | align 4 |
744 | @@: |
747 | @@: |
745 | cmp edi, [Screen_Max_Y] |
748 | cmp edi, [_display.height] |
746 | jbe @F |
749 | jb @F |
- | 750 | mov edi, [_display.height] |
|
747 | mov edi, [Screen_Max_Y] |
751 | dec edi |
748 | ;-------------------------------------- |
752 | ;-------------------------------------- |
749 | align 4 |
753 | align 4 |
750 | @@: |
754 | @@: |
751 | mov [cur.right], ebx |
755 | mov [cur.right], ebx |