Subversion Repositories Kolibri OS

Rev

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

Rev 1229 Rev 1322
Line 6... Line 6...
6
;; FAT12.INC                                                    ;;
6
;; FAT12.INC                                                    ;;
7
;; (C) 2005 Mario79, License: GPL                               ;;
7
;; (C) 2005 Mario79, License: GPL                               ;;
8
;;                                                              ;;
8
;;                                                              ;;
9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 10... Line 10...
10
 
10
 
Line 11... Line 11...
11
$Revision: 1229 $
11
$Revision: 1322 $
12
 
12
 
13
 
13
 
Line 63... Line 63...
63
;            10 = access denied
63
;            10 = access denied
64
;--------------------------------------------------------------
64
;--------------------------------------------------------------
Line 65... Line 65...
65
 
65
 
66
    mov    [save_flag],0
66
    mov    [save_flag],0
67
    mov    [path_pointer_flp],edi
67
    mov    [path_pointer_flp],edi
68
    cmp    esi,0           ; return ramdisk root
68
    test   esi,esi           ; return ramdisk root
69
    jne    fr_noroot_1
69
    jnz    fr_noroot_1
70
    cmp    ebx,224/16
70
    cmp    ebx,224/16
71
    jbe    fr_do_1
71
    jbe    fr_do_1
72
    mov    eax,5
72
    mov    eax,5
73
    mov    ebx,0
73
    xor    ebx,ebx
74
    mov   [flp_status],0
74
    mov   [flp_status],ebx
Line 75... Line 75...
75
    ret
75
    ret
76
 
76
 
77
fr_do_1:
77
fr_do_1:
Line 2132... Line 2132...
2132
        pusha
2132
        pusha
2133
        call    save_chs_sector
2133
        call    save_chs_sector
2134
        popa
2134
        popa
2135
        pop     edi
2135
        pop     edi
2136
        xor     eax, eax
2136
        xor     eax, eax
2137
        cmp     [FDC_Status], 0
2137
        cmp     [FDC_Status], al
2138
        jz      @f
2138
        jz      @f
2139
        mov     al, 11
2139
        mov     al, 11
2140
@@:
2140
@@:
2141
        ret
2141
        ret