Subversion Repositories Kolibri OS

Rev

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

Rev 171 Rev 237
Line 96... Line 96...
96
        mov     esi, [esi]
96
        mov     esi, [esi]
97
        add     esi, std_application_base_address
97
        add     esi, std_application_base_address
98
        mov     ebp, esi
98
        mov     ebp, esi
99
        lodsb
99
        lodsb
100
@@:
100
@@:
-
 
101
        cmp dword [ebx], 7
-
 
102
        jne @F
-
 
103
        mov edx, [ebx+4]
-
 
104
        mov ebx, [ebx+8]
-
 
105
        test ebx, ebx
-
 
106
        jz .l1
-
 
107
        add ebx, new_app_base
-
 
108
.l1:
-
 
109
        call fs_execute  ; ebp, ebx, edx
-
 
110
        mov [esp+36], eax
-
 
111
        ret
-
 
112
@@:
101
        cmp     al, '/'
113
        cmp     al, '/'
102
        jz      @f
114
        jz      @f
103
.notfound:
115
.notfound:
104
        mov     dword [esp+36], 5       ; file not found
116
        mov     dword [esp+36], 5       ; file not found
105
        ret
117
        ret