Subversion Repositories Kolibri OS

Rev

Rev 3555 | Rev 4288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3555 Rev 3626
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: 3555 $
8
$Revision: 3626 $
9
 
9
 
10
 
10
 
Line 522... Line 522...
522
        push    ecx
522
        push    ecx
523
;--------------------------------------
523
;--------------------------------------
524
align 4
524
align 4
525
@@:
525
@@:
526
        mov     edi, ebx
526
        mov     edi, ebx
527
        add     ebx, [BytesPerScanLine]
527
        add     ebx, [_display.pitch]
Line 528... Line 528...
528
 
528
 
529
        mov     ecx, [esp]
529
        mov     ecx, [esp]
530
        rep movsb
530
        rep movsb
531
        dec     edx
531
        dec     edx
Line 557... Line 557...
557
        mov     esi, cur_saved_data
557
        mov     esi, cur_saved_data
558
;--------------------------------------
558
;--------------------------------------
559
align 4
559
align 4
560
@@:
560
@@:
561
        mov     edi, ebx
561
        mov     edi, ebx
562
        add     ebx, [BytesPerScanLine]
562
        add     ebx, [_display.pitch]
Line 563... Line 563...
563
 
563
 
564
        mov     ecx, [cur.w]
564
        mov     ecx, [cur.w]
565
        rep movsd
565
        rep movsd
566
        dec     edx
566
        dec     edx
Line 648... Line 648...
648
        mov     edi, cur_saved_data
648
        mov     edi, cur_saved_data
649
;--------------------------------------
649
;--------------------------------------
650
align 4
650
align 4
651
@@:
651
@@:
652
        mov     esi, edx
652
        mov     esi, edx
653
        add     edx, [BytesPerScanLine]
653
        add     edx, [_display.pitch]
654
        mov     ecx, [cur.w]
654
        mov     ecx, [cur.w]
655
        lea     ecx, [ecx+ecx*2]
655
        lea     ecx, [ecx+ecx*2]
656
        rep movsb
656
        rep movsb
657
        dec     eax
657
        dec     eax
658
        jnz     @B
658
        jnz     @B
Line 671... Line 671...
671
.row:
671
.row:
672
        mov     ecx, [cur.w]
672
        mov     ecx, [cur.w]
673
        mov     esi, edx
673
        mov     esi, edx
674
        mov     edi, ebx
674
        mov     edi, ebx
675
        add     edx, 32*4
675
        add     edx, 32*4
676
        add     ebx, [BytesPerScanLine]
676
        add     ebx, [_display.pitch]
677
;--------------------------------------
677
;--------------------------------------
678
align 4
678
align 4
679
.pix:
679
.pix:
680
        lodsd
680
        lodsd
681
        test    eax, 0xFF000000
681
        test    eax, 0xFF000000
Line 766... Line 766...
766
        mov     edi, cur_saved_data
766
        mov     edi, cur_saved_data
767
;--------------------------------------
767
;--------------------------------------
768
align 4
768
align 4
769
@@:
769
@@:
770
        mov     esi, edx
770
        mov     esi, edx
771
        add     edx, [BytesPerScanLine]
771
        add     edx, [_display.pitch]
772
        mov     ecx, [cur.w]
772
        mov     ecx, [cur.w]
773
        rep movsd
773
        rep movsd
774
        dec     eax
774
        dec     eax
775
        jnz     @B
775
        jnz     @B
Line 788... Line 788...
788
.row:
788
.row:
789
        mov     ecx, [cur.w]
789
        mov     ecx, [cur.w]
790
        mov     esi, edx
790
        mov     esi, edx
791
        mov     edi, ebx
791
        mov     edi, ebx
792
        add     edx, 32*4
792
        add     edx, 32*4
793
        add     ebx, [BytesPerScanLine]
793
        add     ebx, [_display.pitch]
794
;--------------------------------------
794
;--------------------------------------
795
align 4
795
align 4
796
.pix:
796
.pix:
797
        lodsd
797
        lodsd
798
        test    eax, 0xFF000000
798
        test    eax, 0xFF000000