Rev 4796 | Rev 5350 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4796 | Rev 4797 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 4796 $ |
9 | $Revision: 4797 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 175... | Line 175... | ||
175 | mov esi, ecx |
175 | mov esi, ecx |
176 | cmp edx, 192 |
176 | cmp edx, 192 |
177 | jnae @f |
177 | jnae @f |
178 | mov edx, 192 ; max size |
178 | mov edx, 192 ; max size |
179 | @@: |
179 | @@: |
180 | and edx, 255 |
- | |
181 | mov edi, common_colours |
180 | mov edi, common_colours |
182 | mov ecx, edx |
181 | mov ecx, edx |
183 | rep movsb |
182 | rep movsb |
184 | mov [windowtypechanged], ebx |
183 | mov [windowtypechanged], ebx |
185 | ret |
184 | ret |
Line 189... | Line 188... | ||
189 | mov edi, ecx |
188 | mov edi, ecx |
190 | cmp edx, 192 |
189 | cmp edx, 192 |
191 | jnae @f |
190 | jnae @f |
192 | mov edx, 192 ; max size |
191 | mov edx, 192 ; max size |
193 | @@: |
192 | @@: |
194 | and edx, 255 |
- | |
195 | mov esi, common_colours |
193 | mov esi, common_colours |
196 | mov ecx, edx |
194 | mov ecx, edx |
197 | rep movsb |
195 | rep movsb |
198 | ret |
196 | ret |
199 | ;------------------------------------------------------------------------------ |
197 | ;------------------------------------------------------------------------------ |