Rev 1316 | Rev 2430 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1316 | Rev 1730 | ||
---|---|---|---|
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: 1316 $ |
8 | $Revision: 1730 $ |
9 | 9 | ||
10 | 10 | ||
Line 290... | Line 290... | ||
290 | inc ecx |
290 | inc ecx |
291 | imul ecx,ebx |
291 | imul ecx,ebx |
292 | add ecx,eax |
292 | add ecx,eax |
293 | add ecx, [_WinMapAddress] |
293 | add ecx, [_WinMapAddress] |
294 | mov eax, [CURRENT_TASK] |
294 | mov eax, [CURRENT_TASK] |
295 | movzx ebx, byte [ecx] |
- | |
296 | cmp eax,ebx |
295 | cmp al, [ecx] |
297 | je yes_mouse_disable |
296 | je yes_mouse_disable |
298 | movzx ebx, byte [ecx+16] |
- | |
299 | cmp eax,ebx |
297 | cmp al, [ecx+16] |
300 | je yes_mouse_disable |
298 | je yes_mouse_disable |
- | 299 | add ebx, 10 |
|
- | 300 | cmp ebx, [Screen_Max_Y] |
|
- | 301 | jae no_mouse_disable |
|
301 | mov ebx,[Screen_Max_X] |
302 | mov ebx,[Screen_Max_X] |
302 | inc ebx |
303 | inc ebx |
303 | imul ebx,10 |
304 | imul ebx,10 |
304 | add ecx,ebx |
305 | add ecx,ebx |
305 | movzx ebx, byte [ecx] |
- | |
306 | cmp eax,ebx |
306 | cmp al, [ecx] |
307 | je yes_mouse_disable |
307 | je yes_mouse_disable |
308 | movzx ebx, byte [ecx+16] |
- | |
309 | cmp eax,ebx |
308 | cmp al, [ecx+16] |
310 | je yes_mouse_disable |
309 | je yes_mouse_disable |
311 | jmp no_mouse_disable |
310 | jmp no_mouse_disable |
312 | yes_mouse_disable: |
311 | yes_mouse_disable: |
313 | mov edx,[CURRENT_TASK] |
312 | mov edx,[CURRENT_TASK] |
314 | shl edx,5 |
313 | shl edx,5 |