Rev 1225 | Rev 1324 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1225 | Rev 1300 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 1225 $ |
9 | $Revision: 1300 $ |
10 | 10 | ||
11 | 11 | ||
Line 182... | Line 182... | ||
182 | ; get WinMap start |
182 | ; get WinMap start |
183 | mov edi, [Screen_Max_X] ; screen_sx |
183 | mov edi, [Screen_Max_X] ; screen_sx |
184 | inc edi |
184 | inc edi |
185 | imul edi, ebx |
185 | imul edi, ebx |
186 | add edi, eax |
186 | add edi, eax |
187 | add edi, WinMapAddress |
187 | add edi, [_WinMapAddress] |
Line 188... | Line 188... | ||
188 | 188 | ||
189 | .new_y: |
189 | .new_y: |
190 | push ecx ; sx |
190 | push ecx ; sx |
Line 243... | Line 243... | ||
243 | push eax |
243 | push eax |
244 | mov eax, [Screen_Max_X] ; screen_sx |
244 | mov eax, [Screen_Max_X] ; screen_sx |
245 | inc eax |
245 | inc eax |
246 | imul eax, ebx |
246 | imul eax, ebx |
247 | add eax, [esp] |
247 | add eax, [esp] |
248 | add eax, WinMapAddress |
248 | add eax, [_WinMapAddress] |
249 | mov ebp, eax |
249 | mov ebp, eax |
Line 250... | Line 250... | ||
250 | 250 | ||
251 | mov edi, [edi+APPDATA.wnd_shape] |
251 | mov edi, [edi+APPDATA.wnd_shape] |