Subversion Repositories Kolibri OS

Rev

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

Rev 521 Rev 527
Line 1... Line 1...
1
$Revision: 521 $
1
$Revision: 527 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                                      ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
7
;; RAMDISK functions                                                    ;;
7
;; RAMDISK functions                                            ;;
8
;; (C) 2004 Ville Turjanmaa, License: GPL                               ;;
8
;; (C) 2004 Ville Turjanmaa, License: GPL                       ;;
9
;; Addings by M.Lisovin                                                 ;;
9
;; Addings by M.Lisovin                                         ;;
10
;; LFN support by diamond                                               ;;
10
;; LFN support by diamond                                       ;;
11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 12... Line 12...
12
 
12
 
Line 13... Line 13...
13
; calculate fat chain
13
; calculate fat chain
Line 1442... Line 1442...
1442
        jz      .firstdot
1442
        jz      .firstdot
1443
        pop     ebx
1443
        pop     ebx
1444
        add     ebx, edi
1444
        add     ebx, edi
1445
        sub     ebx, ecx
1445
        sub     ebx, ecx
1446
        push    ebx
1446
        push    ebx
-
 
1447
        cmp     ebx, ecx
-
 
1448
        jb      @f
-
 
1449
        pop     ebx
-
 
1450
        push    ecx
-
 
1451
@@:
1447
        cmp     edi, ecx
1452
        cmp     edi, ecx
1448
        jbe     .skip
1453
        jbe     .skip
1449
@@:
1454
@@:
1450
        dec     edi
1455
        dec     edi
1451
        mov     al, ' '
-
 
1452
        xchg    al, [edi]
1456
        mov     al, [edi]
1453
        dec     ebx
1457
        dec     ebx
1454
        mov     [ebx], al
1458
        mov     [ebx], al
-
 
1459
        mov     byte [edi], ' '
1455
        cmp     edi, ecx
1460
        cmp     edi, ecx
1456
        ja      @b
1461
        ja      @b
1457
.skip:
1462
.skip:
1458
        mov     bh, 3
1463
        mov     bh, 3
1459
        jmp     @f
1464
        jmp     @f