Rev 5363 | Rev 7136 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5363 | Rev 6790 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2011-2015. 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: 5363 $ |
8 | $Revision: 6790 $ |
9 | 9 | ||
10 | 10 | ||
Line 204... | Line 204... | ||
204 | push ebx |
204 | push ebx |
205 | virtual at sizeof.BLITTER |
205 | virtual at sizeof.BLITTER |
206 | .position dd ? ; (x shl 16) + y |
206 | .position dd ? ; (x shl 16) + y |
207 | ; ??? |
207 | ; ??? |
208 | .extra_var1 dd ? |
208 | .extra_var1 dd ? |
- | 209 | .flags dd ? |
|
209 | .local_vars_size = $ |
210 | .local_vars_size = $ |
210 | end virtual |
211 | end virtual |
211 | sub esp, .local_vars_size |
212 | sub esp, .local_vars_size |
Line -... | Line 213... | ||
- | 213 | ||
- | 214 | mov [esp+.flags], ebx |
|
212 | 215 | ||
213 | mov eax, [TASK_BASE] |
216 | mov eax, [TASK_BASE] |
214 | mov ebx, [eax-twdw + WDATA.box.width] |
217 | mov ebx, [eax-twdw + WDATA.box.width] |
215 | mov edx, [eax-twdw + WDATA.box.height] |
218 | mov edx, [eax-twdw + WDATA.box.height] |
216 | inc ebx |
219 | inc ebx |
Line 261... | Line 264... | ||
261 | mov ebx, [esp+BLITTER.dst_x] |
264 | mov ebx, [esp+BLITTER.dst_x] |
262 | mov ebp, [esp+BLITTER.dst_y] |
265 | mov ebp, [esp+BLITTER.dst_y] |
263 | add ebx, [eax-twdw + WDATA.box.left] |
266 | add ebx, [eax-twdw + WDATA.box.left] |
264 | add ebp, [eax-twdw + WDATA.box.top] |
267 | add ebp, [eax-twdw + WDATA.box.top] |
Line -... | Line 268... | ||
- | 268 | ||
- | 269 | test [esp+.flags], BLIT_CLIENT_RELATIVE |
|
- | 270 | jz .no_client_relative |
|
- | 271 | ||
- | 272 | mov eax, [current_slot] |
|
- | 273 | add ebx, [eax + APPDATA.wnd_clientbox.left] |
|
- | 274 | add ebp, [eax + APPDATA.wnd_clientbox.top] |
|
- | 275 | .no_client_relative: |
|
265 | 276 | ||
266 | mov ecx, ebx |
277 | mov ecx, ebx |
267 | add ecx, [esp+BLITTER.w] |
278 | add ecx, [esp+BLITTER.w] |
268 | shl ecx, 16 |
279 | shl ecx, 16 |
269 | mov cx, bp |
280 | mov cx, bp |