Rev 1563 | Rev 2288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1563 | Rev 2119 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2009. 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: 1563 $ |
8 | $Revision: 2119 $ |
9 | 9 | ||
Line 83... | Line 83... | ||
83 | ;********************************************** |
83 | ;********************************************** |
84 | dd 0 |
84 | dd 0 |
Line 85... | Line 85... | ||
85 | 85 | ||
86 | fs_additional_handlers: |
86 | fs_additional_handlers: |
- | 87 | dd biosdisk_handler, biosdisk_enum_root |
|
87 | dd biosdisk_handler, biosdisk_enum_root |
88 | dd dyndisk_handler, dyndisk_enum_root |
88 | ; add new handlers here |
89 | ; add new handlers here |
Line 89... | Line 90... | ||
89 | dd 0 |
90 | dd 0 |
90 | 91 | ||
Line 381... | Line 382... | ||
381 | ret |
382 | ret |
Line 382... | Line 383... | ||
382 | 383 | ||
383 | .notfounda: |
384 | .notfounda: |
384 | cmp edi, esp |
385 | cmp edi, esp |
- | 386 | jnz .notfound |
|
385 | jnz .notfound |
387 | call dword [edi+4] |
386 | add esp, 8 |
388 | add esp, 16 |
Line 387... | Line 389... | ||
387 | jmp .notfound |
389 | jmp .notfound |
388 | 390 | ||
389 | .found1: |
391 | .found1: |
Line 848... | Line 850... | ||
848 | jnz @f |
850 | jnz @f |
849 | mov esi, fs_BdNext |
851 | mov esi, fs_BdNext |
850 | jmp file_system_lfn.maindir_noesi |
852 | jmp file_system_lfn.maindir_noesi |
851 | @@: |
853 | @@: |
852 | push ecx |
854 | push ecx |
- | 855 | push ecx |
|
- | 856 | push biosdisk_cleanup |
|
853 | push fs_OnBd |
857 | push fs_OnBd |
854 | mov edi, esp |
858 | mov edi, esp |
855 | jmp file_system_lfn.found2 |
859 | jmp file_system_lfn.found2 |
Line 856... | Line 860... | ||
856 | 860 | ||
857 | fs_BdNext: |
861 | fs_BdNext: |
858 | cmp eax, [BiosDiskPartitions+ecx*4] |
862 | cmp eax, [BiosDiskPartitions+ecx*4] |
859 | inc eax |
863 | inc eax |
- | 864 | cmc |
|
860 | cmc |
865 | biosdisk_cleanup: |
Line 861... | Line 866... | ||
861 | ret |
866 | ret |
862 | 867 | ||
863 | fs_OnBd: |
868 | fs_OnBd: |
864 | pop edx edx |
869 | pop edx edx edx edx |
865 | ; edx = disk number, ecx = partition number |
870 | ; edx = disk number, ecx = partition number |
866 | ; esi+ebp = name |
871 | ; esi+ebp = name |
867 | call reserve_hd1 |
872 | call reserve_hd1 |