Subversion Repositories Kolibri OS

Rev

Rev 3908 | Rev 5201 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3908 Rev 4423
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. 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: 3908 $
8
$Revision: 4423 $
Line 9... Line 9...
9
 
9
 
Line 83... Line 83...
83
        mov     edi, ebp
83
        mov     edi, ebp
84
        add     esi, DWORD PTR [edx+268]
84
        add     esi, DWORD PTR [edx+268]
85
        mov     ecx, eax
85
        mov     ecx, eax
86
        add     edi, DWORD PTR [edx+260]
86
        add     edi, DWORD PTR [edx+260]
Line -... Line 87...
-
 
87
 
87
 
88
        add     ecx, 3
88
        shr     ecx, 2
89
        shr     ecx, 2
Line 89... Line 90...
89
        rep movsd
90
        rep movsd
90
 
91
 
91
L4:
-
 
92
        mov     ecx, DWORD PTR [edx+256]
-
 
93
        add     ecx, 4095
92
L4:
94
        and     ecx, -4096
93
        mov     ecx, DWORD PTR [edx+256]
95
        cmp     ecx, eax
94
        cmp     ecx, eax
96
        jbe     L6
95
        jbe     L6
97
        sub     ecx, eax
96
        sub     ecx, eax
Line 109... Line 108...
109
        cmp     DWORD PTR [esp+36], esi
108
        cmp     DWORD PTR [esp+36], esi
110
        jne     L3
109
        jne     L3
111
        mov     edi, DWORD PTR [esp+32]
110
        mov     edi, DWORD PTR [esp+32]
112
        cmp     DWORD PTR [edi+164], 0
111
        cmp     DWORD PTR [edi+164], 0
113
        je      L9
112
        je      L9
-
 
113
        pushd   [edi+164]
114
        mov     esi, ebp
114
        mov     esi, ebp
115
        mov     ecx, ebp
115
        mov     ecx, ebp
116
        sub     esi, DWORD PTR [edi+52]
116
        sub     esi, DWORD PTR [edi+52]
117
        add     ecx, DWORD PTR [edi+160]
117
        add     ecx, DWORD PTR [edi+160]
118
        mov     eax, esi
118
        mov     eax, esi
119
        shr     eax, 16
119
        shr     eax, 16
120
        mov     DWORD PTR [esp+12], eax
120
        mov     DWORD PTR [esp+16], eax
121
        jmp     L11
-
 
122
L12:
121
L12:
-
 
122
        mov     eax, [ecx+4]
-
 
123
        sub     [esp], eax
123
        lea     ebx, [eax-8]
124
        lea     ebx, [eax-8]
124
        xor     edi, edi
125
        xor     edi, edi
125
        shr     ebx, 1
126
        shr     ebx, 1
126
        jmp     L13
127
        jmp     L13
127
L14:
128
L14:
Line 134... Line 135...
134
        je      L17
135
        je      L17
135
        cmp     ax, 3
136
        cmp     ax, 3
136
        je      L18
137
        je      L18
137
        dec     ax
138
        dec     ax
138
        jne     L15
139
        jne     L15
139
        mov     eax, DWORD PTR [esp+12]
140
        mov     eax, DWORD PTR [esp+16]
140
        add     WORD PTR [edx+ebp], ax
141
        add     WORD PTR [edx+ebp], ax
141
L17:
142
L17:
142
        add     WORD PTR [edx+ebp], si
143
        add     WORD PTR [edx+ebp], si
143
L18:
144
L18:
144
        add     DWORD PTR [edx+ebp], esi
145
        add     DWORD PTR [edx+ebp], esi
Line 147... Line 148...
147
L13:
148
L13:
148
        cmp     edi, ebx
149
        cmp     edi, ebx
149
        jne     L14
150
        jne     L14
150
        add     ecx, DWORD PTR [ecx+4]
151
        add     ecx, DWORD PTR [ecx+4]
151
L11:
152
L11:
152
        mov     eax, DWORD PTR [ecx+4]
153
        cmp     dword [esp], 0
153
        test    eax, eax
154
        jg      L12
154
        jne     L12
155
        pop     eax
155
L9:
156
L9:
156
        mov     edx, DWORD PTR [esp+32]
157
        mov     edx, DWORD PTR [esp+32]
157
        cmp     DWORD PTR [edx+132], 0
158
        cmp     DWORD PTR [edx+132], 0
158
        je      L20
159
        je      L20
159
        mov     eax, ebp
160
        mov     eax, ebp
Line 176... Line 177...
176
        add     esi, OS_BASE
177
        add     esi, OS_BASE
177
        mov     DWORD PTR [esp+44], esi
178
        mov     DWORD PTR [esp+44], esi
178
        mov     ecx, DWORD PTR [eax-4]
179
        mov     ecx, DWORD PTR [eax-4]
179
        mov     DWORD PTR [esp+48], edi
180
        mov     DWORD PTR [esp+48], edi
180
        mov     edx, DWORD PTR [eax-20]
181
        mov     edx, DWORD PTR [eax-20]
-
 
182
        test    edx, edx
-
 
183
        jnz     @f
-
 
184
        mov     edx, ecx
-
 
185
@@:
181
        mov     DWORD PTR [esp+52], 0
186
        mov     DWORD PTR [esp+52], 0
182
        add     ecx, ebp
187
        add     ecx, ebp
183
        add     edx, ebp
188
        add     edx, ebp
184
        mov     DWORD PTR [esp+24], edx
189
        mov     DWORD PTR [esp+24], edx
185
        mov     DWORD PTR [esp+28], ecx
190
        mov     DWORD PTR [esp+28], ecx