Rev 117 | Rev 150 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 117 | Rev 142 | ||
---|---|---|---|
Line 143... | Line 143... | ||
143 | ; ebx y start |
143 | ; ebx y start |
144 | ; ecx x end |
144 | ; ecx x end |
145 | ; edx y end |
145 | ; edx y end |
146 | ; esi process number |
146 | ; esi process number |
147 | pushad |
147 | pushad |
- | 148 | ; \begin{diamond}[29.08.2006] |
|
- | 149 | cmp esi, 1 |
|
- | 150 | jz @f |
|
- | 151 | mov edi, esi |
|
- | 152 | shl edi, 5 |
|
- | 153 | cmp [edi+window_data+WDATA.box.width], 0 |
|
- | 154 | jnz @f |
|
- | 155 | cmp [edi+window_data+WDATA.box.height], 0 |
|
- | 156 | jz .ret |
|
- | 157 | @@: |
|
- | 158 | ; \end{diamond}[29.08.2006] |
|
148 | mov edi, esi ;;;word [esi*2+0xc400] |
159 | mov edi, esi ;;;word [esi*2+0xc400] |
149 | shl edi, 8 |
160 | shl edi, 8 |
150 | add edi, 0x80000 ; address of random shaped window area |
161 | add edi, 0x80000 ; address of random shaped window area |
151 | cmp [edi+APPDATA.wnd_shape], dword 0 |
162 | cmp [edi+APPDATA.wnd_shape], dword 0 |
152 | jne .free_form |
163 | jne .free_form |
Line 181... | Line 192... | ||
181 | add edi, [0xFE00] |
192 | add edi, [0xFE00] |
182 | inc edi |
193 | inc edi |
183 | sub edi, ecx |
194 | sub edi, ecx |
184 | dec edx |
195 | dec edx |
185 | jnz .new_y |
196 | jnz .new_y |
- | 197 | .ret: |
|
186 | popad |
198 | popad |
187 | ret |
199 | ret |
188 | .read_byte: |
200 | .read_byte: |
189 | ;eax - address |
201 | ;eax - address |
190 | ;esi - slot |
202 | ;esi - slot |