Rev 6313 | Rev 6322 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6313 | Rev 6314 | ||
---|---|---|---|
Line 163... | Line 163... | ||
163 | jne @f |
163 | jne @f |
164 | call but_save_file |
164 | call but_save_file |
165 | @@: |
165 | @@: |
166 | cmp ah,6 |
166 | cmp ah,6 |
167 | jne @f |
167 | jne @f |
168 | call but_1 |
168 | call draw_file_1 ;®á®¢ ï ¨ä®à¬ æ¨ï |
169 | @@: |
169 | @@: |
170 | cmp ah,7 |
170 | cmp ah,7 |
171 | jne @f |
171 | jne @f |
172 | call but_2 |
172 | call draw_file_2 ;¨ä®à¬ æ¨ï ¯® GPS |
173 | @@: |
173 | @@: |
174 | cmp ah,8 |
174 | cmp ah,8 |
175 | jne @f |
175 | jne @f |
176 | call but_3 |
176 | call draw_file_3 ;¨ä®à¬ æ¨ï app2 |
177 | @@: |
177 | @@: |
178 | cmp ah,9 |
178 | cmp ah,9 |
179 | jne @f |
179 | jne @f |
180 | call but_4 |
180 | call draw_file_4 |
181 | @@: |
181 | @@: |
182 | cmp ah,1 |
182 | cmp ah,1 |
183 | jne still |
183 | jne still |
184 | .exit: |
184 | .exit: |
185 | stdcall [buf2d_delete],buf_0 |
185 | stdcall [buf2d_delete],buf_0 |
Line 220... | Line 220... | ||
220 | mcall SF_FILE,run_file_70 |
220 | mcall SF_FILE,run_file_70 |
221 | cmp eax,0 |
221 | cmp eax,0 |
222 | jne .end_open_file |
222 | jne .end_open_file |
Line 223... | Line 223... | ||
223 | 223 | ||
224 | mov eax,[open_file] |
224 | mov eax,[open_file] |
225 | mov ebx,dword[eax+32] ;dword[eax+32] - à §¬¥à ®âªàë¢ ¥¬®£® ä ©« |
225 | mov ebx,[eax+32] ;dword[eax+32] - à §¬¥à ®âªàë¢ ¥¬®£® ä ©« |
226 | mov dword[open_file_size],ebx ;ebx - à §¬¥à ®âªàë¢ ¥¬®£® ä ©« |
226 | mov [open_file_size],ebx ;ebx - à §¬¥à ®âªàë¢ ¥¬®£® ä ©« |
227 | ;memory_file_size - à §¬¥à ¢ë¤¥«¥®© ¯ ¬ï⨠¤«ï ä ©« |
227 | ;memory_file_size - à §¬¥à ¢ë¤¥«¥®© ¯ ¬ï⨠¤«ï ä ©« |
228 | cmp dword[memory_file_size],ebx |
228 | cmp [memory_file_size],ebx |
229 | jge @f |
229 | jge @f |
230 | ;㢥«¨ç¨¢ ¥¬ ¯ ¬ïâì ¥á«¨ ¥ å¢ â¨«® |
230 | ;㢥«¨ç¨¢ ¥¬ ¯ ¬ïâì ¥á«¨ ¥ å¢ â¨«® |
231 | mov dword[memory_file_size],ebx |
231 | mov [memory_file_size],ebx |
- | 232 | stdcall mem.ReAlloc, [open_file],ebx |
|
232 | stdcall mem.ReAlloc, dword[open_file],ebx |
233 | mov [open_file],eax |
Line 233... | Line 234... | ||
233 | @@: |
234 | @@: |
234 | 235 | ||
235 | mov [run_file_70.Function], SSF_READ_FILE |
236 | mov [run_file_70.Function], SSF_READ_FILE |
Line 481... | Line 482... | ||
481 | cmp dword[h_child],0 |
482 | cmp dword[h_child],0 |
482 | je .end_save_file |
483 | je .end_save_file |
Line 483... | Line 484... | ||
483 | 484 | ||
484 | mov ebx,dword[h_child] ;dword[open_file] |
485 | mov ebx,dword[h_child] ;dword[open_file] |
485 | mov [run_file_70.Buffer], ebx |
486 | mov [run_file_70.Buffer], ebx |
486 | mov ebx,... ; âãâ ¤®«¦¥ ¡ëâì à §¬¥à í᪨§ ¨§®¡à ¦¥¨ï ª®â®àë© ¬¥ìè¥ ç¥¬ [open_file_size] |
487 | mov ebx,dword[h_child_siz] ;à §¬¥à í᪨§ ¨§®¡à ¦¥¨ï |
487 | end if |
488 | end if |
488 | mov dword[run_file_70.Count], ebx ;à §¬¥à ä ©« |
489 | mov dword[run_file_70.Count], ebx ;à §¬¥à ä ©« |
489 | mov byte[run_file_70+20], 0 |
490 | mov byte[run_file_70+20], 0 |
490 | mov dword[run_file_70.FileName], openfile_path |
491 | mov dword[run_file_70.FileName], openfile_path |
Line 495... | Line 496... | ||
495 | 496 | ||
496 | .end_save_file: |
497 | .end_save_file: |
497 | popad |
498 | popad |
Line 498... | Line -... | ||
498 | ret |
- | |
499 | - | ||
500 | align 4 |
- | |
501 | but_1: |
- | |
502 | call draw_file_1 ;®á®¢ ï ¨ä®à¬ æ¨ï |
- | |
503 | ret |
- | |
504 | - | ||
505 | align 4 |
- | |
506 | but_2: |
- | |
507 | call draw_file_2 ;¨ä®à¬ æ¨ï ¯® GPS |
- | |
508 | ret |
- | |
509 | - | ||
510 | align 4 |
- | |
511 | but_3: |
- | |
512 | call draw_file_3 ;¨ä®à¬ æ¨ï app2 |
- | |
513 | ret |
- | |
514 | - | ||
515 | align 4 |
- | |
516 | but_4: |
- | |
517 | call draw_file_4 ;¥é¥ ª ª ï-â® ¨ä®à¬ æ¨ï ... |
- | |
518 | ret |
499 | ret |
519 | 500 | ||
520 | ;¤ ë¥ ¤«ï ¤¨ «®£ ®âªàëâ¨ï ä ©«®¢ |
501 | ;¤ ë¥ ¤«ï ¤¨ «®£ ®âªàëâ¨ï ä ©«®¢ |
521 | align 4 |
502 | align 4 |
522 | OpenDialog_data: |
503 | OpenDialog_data: |