Subversion Repositories Kolibri OS

Rev

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

Rev 6846 Rev 6850
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: 6846 $
8
$Revision: 6850 $
9
 
9
 
10
; FAT external functions
10
; FAT external functions
11
;   in:
11
;   in:
Line 3010... Line 3010...
3010
        mov     eax, [edi+28]
3010
        mov     eax, [edi+28]
3011
        xchg    eax, [esp+20]
3011
        xchg    eax, [esp+20]
3012
        lea     ebx, [ebp+FAT.buffer]
3012
        lea     ebx, [ebp+FAT.buffer]
3013
        call    fs_write32_sys
3013
        call    fs_write32_sys
3014
        test    eax, eax
3014
        test    eax, eax
-
 
3015
        jnz     .pop_ret11
-
 
3016
        mov     eax, [esp+20]
-
 
3017
        sub     eax, [esp+4]
-
 
3018
        cmp     eax, 1000001h
-
 
3019
        jnc     .pop_ret
3015
        mov     eax, [edi+20-2]
3020
        mov     eax, [edi+20-2]
3016
        mov     ax, [edi+26]
3021
        mov     ax, [edi+26]
3017
        mov     edi, eax
3022
        mov     edi, eax
3018
        jnz     .pop_ret11
-
 
3019
        test    edi, edi
3023
        test    edi, edi
3020
        jz      .pop_ret
3024
        jz      .pop_ret
3021
; now zero new data
3025
; now zero new data
3022
        push    0
3026
        push    0
3023
; edi=current cluster, [esp]=sector in cluster
3027
; edi=current cluster, [esp]=sector in cluster