Subversion Repositories Kolibri OS

Rev

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

Rev 2439 Rev 2465
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2008. 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: 2439 $
8
$Revision: 2465 $
9
 
9
 
10
;------------------------------------------------------------------------------
10
;------------------------------------------------------------------------------
11
align 4
11
align 4
Line 75... Line 75...
75
.pixloop1:
75
.pixloop1:
76
        shr     dl, 1
76
        shr     dl, 1
77
        jz      .pixloop1end
77
        jz      .pixloop1end
78
        jnc     .nopix
78
        jnc     .nopix
79
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
79
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
80
        call    [putpixel]
80
;        call    [putpixel]
-
 
81
        call    __sys_putpixel
81
        jmp     .pixloop1cont
82
        jmp     .pixloop1cont
82
;--------------------------------------
83
;--------------------------------------
83
align 4
84
align 4
84
.nopix:
85
.nopix:
85
        test    ecx, 0x40000000
86
        test    ecx, 0x40000000
86
        jz      .pixloop1cont
87
        jz      .pixloop1cont
87
        push    ecx
88
        push    ecx
88
        mov     ecx, [esp+4+20h+20h]
89
        mov     ecx, [esp+4+20h+20h]
89
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
90
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
90
        call    [putpixel]
91
;        call    [putpixel]
-
 
92
        call    __sys_putpixel
91
        pop     ecx
93
        pop     ecx
92
;--------------------------------------
94
;--------------------------------------
93
align 4
95
align 4
94
.pixloop1cont:
96
.pixloop1cont:
95
        inc     eax
97
        inc     eax
Line 121... Line 123...
121
align 4
123
align 4
122
.pixloop2:
124
.pixloop2:
123
        shr     dl, 1
125
        shr     dl, 1
124
        jnc     .nopix2
126
        jnc     .nopix2
125
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
127
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
126
        call    [putpixel]
128
;        call    [putpixel]
-
 
129
        call    __sys_putpixel
127
        jmp     .pixloop2cont
130
        jmp     .pixloop2cont
128
;--------------------------------------
131
;--------------------------------------
129
align 4
132
align 4
130
.nopix2:
133
.nopix2:
131
        test    ecx, 0x40000000
134
        test    ecx, 0x40000000
132
        jz      .pixloop2cont
135
        jz      .pixloop2cont
133
        push    ecx
136
        push    ecx
134
        mov     ecx, [esp+12+20h+20h]
137
        mov     ecx, [esp+12+20h+20h]
135
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
138
        and     ecx, 0xFBFFFFFF  ;negate 0x04000000 save to mouseunder area
136
        call    [putpixel]
139
;        call    [putpixel]
-
 
140
        call    __sys_putpixel
137
        pop     ecx
141
        pop     ecx
138
;--------------------------------------
142
;--------------------------------------
139
align 4
143
align 4
140
.pixloop2cont:
144
.pixloop2cont:
141
        inc     eax
145
        inc     eax