Rev 1899 | Rev 2318 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1899 | Rev 1929 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. 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: 1899 $ |
8 | $Revision: 1929 $ |
9 | 9 | ||
10 | ; // Alver 22.06.2008 // { |
10 | ; // Alver 22.06.2008 // { |
11 | align 4 |
11 | align 4 |
Line 69... | Line 69... | ||
69 | or dl, 1 shl 6 |
69 | or dl, 1 shl 6 |
70 | .pixloop1: |
70 | .pixloop1: |
71 | shr dl, 1 |
71 | shr dl, 1 |
72 | jz .pixloop1end |
72 | jz .pixloop1end |
73 | jnc .nopix |
73 | jnc .nopix |
74 | call _putpixel |
74 | call [putpixel] |
75 | jmp .pixloop1cont |
75 | jmp .pixloop1cont |
76 | .nopix: |
76 | .nopix: |
77 | test ecx, 0x40000000 |
77 | test ecx, 0x40000000 |
78 | jz .pixloop1cont |
78 | jz .pixloop1cont |
79 | push ecx |
79 | push ecx |
80 | mov ecx, [esp+4+20h+20h] ; original eax? |
80 | mov ecx, [esp+4+20h+20h] ; original eax? |
81 | call _putpixel |
81 | call [putpixel] |
82 | pop ecx |
82 | pop ecx |
83 | .pixloop1cont: |
83 | .pixloop1cont: |
84 | inc eax |
84 | inc eax |
85 | jmp .pixloop1 |
85 | jmp .pixloop1 |
86 | .pixloop1end: |
86 | .pixloop1end: |
Line 101... | Line 101... | ||
101 | mov dl, byte [ebp] |
101 | mov dl, byte [ebp] |
102 | push esi |
102 | push esi |
103 | .pixloop2: |
103 | .pixloop2: |
104 | shr dl, 1 |
104 | shr dl, 1 |
105 | jnc .nopix2 |
105 | jnc .nopix2 |
106 | call _putpixel |
106 | call [putpixel] |
107 | jmp .pixloop2cont |
107 | jmp .pixloop2cont |
108 | .nopix2: |
108 | .nopix2: |
109 | test ecx, 0x40000000 |
109 | test ecx, 0x40000000 |
110 | jz .pixloop2cont |
110 | jz .pixloop2cont |
111 | push ecx |
111 | push ecx |
112 | mov ecx, [esp+12+20h+20h] |
112 | mov ecx, [esp+12+20h+20h] |
113 | call _putpixel |
113 | call [putpixel] |
114 | pop ecx |
114 | pop ecx |
115 | .pixloop2cont: |
115 | .pixloop2cont: |
116 | inc eax |
116 | inc eax |
117 | dec esi |
117 | dec esi |
118 | jnz .pixloop2 |
118 | jnz .pixloop2 |