Rev 1588 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1588 | Rev 1595 | ||
---|---|---|---|
Line 85... | Line 85... | ||
85 | START: |
85 | START: |
86 | mcall 68, 11 |
86 | mcall 68, 11 |
Line 87... | Line 87... | ||
87 | 87 | ||
Line -... | Line 88... | ||
- | 88 | load_libraries l_libs_start,end_l_libs |
|
- | 89 | ||
- | 90 | mov esi,I_PARAM |
|
- | 91 | cmp dword[esi],0 |
|
- | 92 | jz @f |
|
- | 93 | mov edi,filename |
|
- | 94 | mov ecx,256/4 |
|
- | 95 | rep movsd |
|
88 | load_libraries l_libs_start,end_l_libs |
96 | mov byte [edi-1], 0 |
89 | 97 | @@: |
|
90 | ;OpenDialog initialisation |
98 | ;OpenDialog initialisation |
Line 91... | Line 99... | ||
91 | push dword OpenDialog_data |
99 | push dword OpenDialog_data |
Line 122... | Line 130... | ||
122 | cmp al,'/' |
130 | cmp al,'/' |
123 | je .defact |
131 | je .defact |
124 | mov [param],al |
132 | mov [param],al |
125 | inc esi |
133 | inc esi |
126 | .defact: |
134 | .defact: |
127 | mov edi,filename;fnbuf |
135 | mov edi,filename;fnbuf |
128 | mov ecx,64 |
136 | mov ecx,64 |
129 | rep movsd |
137 | rep movsd |
130 | jmp open_file |
138 | jmp open_file |
131 | clearpath: |
139 | clearpath: |
132 | newline |
140 | newline |