Subversion Repositories Kolibri OS

Rev

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

Rev 6868 Rev 6876
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2016. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2016. 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: 6868 $
8
$Revision: 6876 $
9
 
9
 
10
; FAT external functions
10
; FAT external functions
11
;   in:
11
;   in:
Line 2919... Line 2919...
2919
        xor     eax, eax
2919
        xor     eax, eax
2920
@@:
2920
@@:
2921
        push    eax
2921
        push    eax
2922
        call    fat_unlock
2922
        call    fat_unlock
2923
        pop     eax
2923
        pop     eax
-
 
2924
@@:
2924
        ret
2925
        ret
Line 2925... Line 2926...
2925
 
2926
 
2926
.volume:
2927
.volume:
2927
        mov     eax, dword[ebp+FAT.Length]
2928
        mov     eax, dword[ebp+FAT.Length]
Line 2932... Line 2933...
2932
        mov     [edi+36], edx
2933
        mov     [edi+36], edx
2933
        mov     [edi+32], eax
2934
        mov     [edi+32], eax
2934
        mov     eax, [ebx+8]
2935
        mov     eax, [ebx+8]
2935
        mov     byte [edi], 8
2936
        mov     byte [edi], 8
2936
        mov     [edi+4], eax
2937
        mov     [edi+4], eax
-
 
2938
        test    eax, eax
-
 
2939
        jz      @b
2937
        lea     esi, [ebp+FAT.volumeLabel]
2940
        lea     esi, [ebp+FAT.volumeLabel]
2938
        mov     ecx, 11
2941
        mov     ecx, 11
2939
@@:
2942
@@:
2940
        mov     byte [esi+ecx], 0
2943
        mov     byte [esi+ecx], 0
2941
        dec     ecx
2944
        dec     ecx