Subversion Repositories Kolibri OS

Rev

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

Rev 6036 Rev 6037
Line 41... Line 41...
41
;;  20.05.2002 Hd status check - VT                             ;;
41
;;  20.05.2002 Hd status check - VT                             ;;
42
;;  01.05.2002 Bugfix in device write - VT                      ;;
42
;;  01.05.2002 Bugfix in device write - VT                      ;;
43
;;                                                              ;;
43
;;                                                              ;;
44
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
44
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 45... Line 45...
45
 
45
 
Line 46... Line 46...
46
$Revision: 6036 $
46
$Revision: 6037 $
Line 47... Line 47...
47
 
47
 
48
cache_max equ 1919      ; max. is 1919*512+0x610000=0x6ffe00
48
cache_max equ 1919      ; max. is 1919*512+0x610000=0x6ffe00
Line 1806... Line 1806...
1806
        mov     edx, [ebx+4]    ; file offset
1806
        mov     edx, [ebx+4]    ; file offset
1807
        mov     ecx, [ebx+12]   ; size
1807
        mov     ecx, [ebx+12]   ; size
1808
        mov     ebx, [ebx+16]   ; buffer
1808
        mov     ebx, [ebx+16]   ; buffer
1809
        push    ebx
1809
        push    ebx
1810
        push    0
1810
        push    0
-
 
1811
        test    ecx, ecx
-
 
1812
        jz      .done
1811
        mov     eax, [edi+28]
1813
        mov     eax, [edi+28]
1812
        sub     eax, edx
1814
        sub     eax, edx
1813
        jb      .fileEnd
1815
        jb      .fileEnd
1814
        cmp     eax, ecx
1816
        cmp     eax, ecx
1815
        jae     @f
1817
        jae     @f