Rev 2443 | Rev 2453 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2443 | Rev 2446 | ||
---|---|---|---|
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: 2443 $ |
9 | $Revision: 2446 $ |
10 | 10 | ||
11 | ;============================================================================== |
11 | ;============================================================================== |
Line 1828... | Line 1828... | ||
1828 | inc ecx |
1828 | inc ecx |
1829 | inc edx |
1829 | inc edx |
Line 1830... | Line 1830... | ||
1830 | 1830 | ||
1831 | ; get WinMap start |
1831 | ; get WinMap start |
1832 | push esi |
1832 | push esi |
1833 | mov edi, [Screen_Max_X] |
1833 | ; mov edi, [Screen_Max_X] |
1834 | inc edi |
1834 | ; inc edi |
- | 1835 | ; mov esi, edi |
|
- | 1836 | mov esi, [Screen_Max_X] |
|
1835 | mov esi, edi |
1837 | inc esi |
- | 1838 | ; imul edi, ebx |
|
- | 1839 | mov edi, [d_width_calc_area + ebx*4] |
|
1836 | imul edi, ebx |
1840 | |
1837 | add edi, eax |
1841 | add edi, eax |
1838 | add edi, [_WinMapAddress] |
1842 | add edi, [_WinMapAddress] |
1839 | pop eax |
1843 | pop eax |
1840 | mov ah, al |
1844 | mov ah, al |
Line 1872... | Line 1876... | ||
1872 | 1876 | ||
Line 1873... | Line 1877... | ||
1873 | push [edi + APPDATA.wnd_shape_scale] ; push scale first -> for loop |
1877 | push [edi + APPDATA.wnd_shape_scale] ; push scale first -> for loop |
1874 | 1878 | ||
1875 | ; get WinMap start -> ebp |
1879 | ; get WinMap start -> ebp |
1876 | push eax |
1880 | push eax |
1877 | mov eax, [Screen_Max_X] ; screen_sx |
1881 | ; mov eax, [Screen_Max_X] ; screen_sx |
- | 1882 | ; inc eax |
|
- | 1883 | ; imul eax, ebx |
|
1878 | inc eax |
1884 | mov eax, [d_width_calc_area + ebx*4] |
1879 | imul eax, ebx |
1885 | |
1880 | add eax, [esp] |
1886 | add eax, [esp] |
Line 1881... | Line 1887... | ||
1881 | add eax, [_WinMapAddress] |
1887 | add eax, [_WinMapAddress] |