Rev 1376 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1376 | Rev 2382 | ||
---|---|---|---|
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: 1376 $ |
8 | $Revision: 2382 $ |
9 | 9 | ||
10 | 10 | ||
Line 26... | Line 26... | ||
26 | mousedata dd 0x0 |
26 | mousedata dd 0x0 |
27 | endg |
27 | endg |
Line 28... | Line 28... | ||
28 | 28 | ||
29 | iglobal |
29 | iglobal |
30 | mouse_delay dd 10 |
30 | mouse_delay dd 10 |
- | 31 | mouse_speed_factor: |
|
31 | mouse_speed_factor: dd 3 |
32 | dd 3 |
32 | mouse_timer_ticks dd 0 |
33 | mouse_timer_ticks dd 0 |
Line 33... | Line 34... | ||
33 | endg |
34 | endg |
Line 290... | Line 291... | ||
290 | inc ecx |
291 | inc ecx |
291 | imul ecx,ebx |
292 | imul ecx, ebx |
292 | add ecx,eax |
293 | add ecx, eax |
293 | add ecx, [_WinMapAddress] |
294 | add ecx, [_WinMapAddress] |
294 | mov eax, [CURRENT_TASK] |
295 | mov eax, [CURRENT_TASK] |
295 | movzx ebx, byte [ecx] |
- | |
296 | cmp eax,ebx |
296 | cmp al, [ecx] |
297 | je yes_mouse_disable |
297 | je yes_mouse_disable |
298 | movzx ebx, byte [ecx+16] |
298 | cmp al, [ecx+16] |
299 | cmp eax,ebx |
- | |
300 | je yes_mouse_disable |
299 | je yes_mouse_disable |
- | 300 | add ebx, 10 |
|
- | 301 | cmp ebx, [Screen_Max_Y] |
|
- | 302 | jae no_mouse_disable |
|
301 | mov ebx,[Screen_Max_X] |
303 | mov ebx, [Screen_Max_X] |
302 | inc ebx |
304 | inc ebx |
303 | imul ebx,10 |
305 | imul ebx, 10 |
304 | add ecx,ebx |
306 | add ecx, ebx |
305 | movzx ebx, byte [ecx] |
- | |
306 | cmp eax,ebx |
307 | cmp al, [ecx] |
307 | je yes_mouse_disable |
308 | je yes_mouse_disable |
308 | movzx ebx, byte [ecx+16] |
309 | cmp al, [ecx+16] |
309 | cmp eax,ebx |
- | |
310 | je yes_mouse_disable |
310 | je yes_mouse_disable |
311 | jmp no_mouse_disable |
311 | jmp no_mouse_disable |
312 | yes_mouse_disable: |
312 | yes_mouse_disable: |
313 | mov edx,[CURRENT_TASK] |
313 | mov edx, [CURRENT_TASK] |
314 | shl edx,5 |
314 | shl edx, 5 |