Subversion Repositories Kolibri OS

Rev

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

Rev 2119 Rev 2288
Line 42... Line 42...
42
;;  20.5.2002  Hd status check - VT                                ;;
42
;;  20.5.2002  Hd status check - VT                                ;;
43
;;  29.6.2002  Improved fat32 verification - VT                    ;;
43
;;  29.6.2002  Improved fat32 verification - VT                    ;;
44
;;                                                                 ;;
44
;;                                                                 ;;
45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
45
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 46... Line 46...
46
 
46
 
Line 47... Line 47...
47
$Revision: 2119 $
47
$Revision: 2288 $
Line 48... Line 48...
48
 
48
 
Line 92... Line 92...
92
fat_in_cache         dd -1
92
fat_in_cache         dd -1
93
endg
93
endg
Line 94... Line 94...
94
 
94
 
95
uglobal
95
uglobal
-
 
96
align 4
96
align 4
97
fat_cache:
97
fat_cache:           times 512 db 0
98
                     times 512 db 0
-
 
99
 Sector512:                      ; label for dev_hdcd.inc
98
 Sector512:                      ; label for dev_hdcd.inc
100
  buffer:
-
 
101
                       times 512 db 0
99
  buffer:              times 512 db 0
102
  fsinfo_buffer:
100
  fsinfo_buffer:       times 512 db 0
103
                       times 512 db 0
Line 101... Line 104...
101
endg
104
endg
102
 
105
 
103
uglobal
106
uglobal
Line 2343... Line 2346...
2343
        xor     esi, esi
2346
        xor     esi, esi
2344
@@:
2347
@@:
2345
        sub     dword [esp], 0x200
2348
        sub     dword [esp], 0x200
2346
        jae     @f
2349
        jae     @f
2347
        and     dword [esp], 0
2350
        and     dword [esp], 0
-
 
2351
@@:
2348
@@:     jmp     .write_loop
2352
        jmp     .write_loop
Line 2349... Line 2353...
2349
 
2353
 
2350
hd_extend_file.zero_size:
2354
hd_extend_file.zero_size:
2351
        xor     eax, eax
2355
        xor     eax, eax
Line 2452... Line 2456...
2452
        push    ERROR_DISK_FULL
2456
        push    ERROR_DISK_FULL
2453
        pop     eax
2457
        pop     eax
2454
        cmp     [hd_error], 0
2458
        cmp     [hd_error], 0
2455
        jz      @f
2459
        jz      @f
2456
        mov     al, 11
2460
        mov     al, 11
-
 
2461
@@:
2457
@@:     stc
2462
        stc
2458
        ret
2463
        ret
Line 2459... Line 2464...
2459
 
2464
 
2460
;----------------------------------------------------------------
2465
;----------------------------------------------------------------
2461
;
2466
;