Subversion Repositories Kolibri OS

Rev

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

Rev 593 Rev 820
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 593 $
8
$Revision: 820 $
9
 
9
 
10
 
10
 
Line 791... Line 791...
791
        cmp     [ntfs_cur_size], 0
791
        cmp     [ntfs_cur_size], 0
792
        jnz     .readloop
792
        jnz     .readloop
793
        add     esp, 10h
793
        add     esp, 10h
794
        mov     eax, [ntfs_cur_tail]
794
        mov     eax, [ntfs_cur_tail]
795
        test    eax, eax
795
        test    eax, eax
796
        jz      .okret
796
        jz      @f
797
        sub     eax, 0x200
797
        sub     eax, 0x200
798
        add     [ntfs_cur_read], eax
798
        add     [ntfs_cur_read], eax
-
 
799
@@:
-
 
800
        clc
799
        jmp     .okret
801
        ret
800
.errread2:
802
.errread2:
801
        pop     ecx
803
        pop     ecx
802
        add     esp, 10h
804
        add     esp, 10h
-
 
805
        stc
803
        jmp     .errret
806
        ret
804
.break:
807
.break:
805
        add     esp, 10h        ; CF=0
808
        add     esp, 10h        ; CF=0
806
        mov     [ntfs_bCanContinue], 1
809
        mov     [ntfs_bCanContinue], 1
807
        ret
810
        ret
Line 1030... Line 1033...
1030
        call    uni2ansi_char
1033
        call    uni2ansi_char
1031
        call    char_toupper
1034
        call    char_toupper
1032
        push    eax
1035
        push    eax
1033
        mov     al, [edi]
1036
        mov     al, [edi]
1034
        inc     edi
1037
        inc     edi
-
 
1038
        cmp     al, '/'
-
 
1039
        jz      .slash
1035
        call    char_toupper
1040
        call    char_toupper
1036
        cmp     al, [esp]
1041
        cmp     al, [esp]
1037
        pop     eax
1042
        pop     eax
1038
        loopz   @b
1043
        loopz   @b
1039
        jz      .found
1044
        jz      .found
Line 1042... Line 1047...
1042
        jb      .subnode
1047
        jb      .subnode
1043
.scanloopcont:
1048
.scanloopcont:
1044
        movzx   eax, word [esi+8]
1049
        movzx   eax, word [esi+8]
1045
        add     esi, eax
1050
        add     esi, eax
1046
        jmp     .scanloopint
1051
        jmp     .scanloopint
-
 
1052
.slash:
-
 
1053
        pop     eax
-
 
1054
        pop     edi
-
 
1055
        pop     esi
1047
.subnode:
1056
.subnode:
1048
        test    byte [esi+0Ch], 1
1057
        test    byte [esi+0Ch], 1
1049
        jz      .notfound
1058
        jz      .notfound
1050
        movzx   eax, word [esi+8]
1059
        movzx   eax, word [esi+8]
1051
        mov     eax, [esi+eax-8]
1060
        mov     eax, [esi+eax-8]