Rev 2430 | Rev 2448 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2430 | Rev 2446 | ||
---|---|---|---|
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: 2430 $ |
8 | $Revision: 2446 $ |
9 | 9 | ||
10 | 10 | ||
Line 108... | Line 108... | ||
108 | movzx eax, word [MOUSE_Y] |
108 | movzx eax, word [MOUSE_Y] |
109 | movzx ebx, word [MOUSE_X] |
109 | movzx ebx, word [MOUSE_X] |
110 | push eax |
110 | push eax |
111 | push ebx |
111 | push ebx |
Line 112... | Line 112... | ||
112 | 112 | ||
113 | mov ecx, [Screen_Max_X] |
113 | ; mov ecx, [Screen_Max_X] |
114 | inc ecx |
114 | ; inc ecx |
- | 115 | ; mul ecx |
|
- | 116 | mov eax, [d_width_calc_area + eax*4] |
|
115 | mul ecx |
117 | |
116 | add eax, [_WinMapAddress] |
118 | add eax, [_WinMapAddress] |
117 | movzx edx, byte [ebx+eax] |
119 | movzx edx, byte [ebx+eax] |
118 | shl edx, 8 |
120 | shl edx, 8 |