Subversion Repositories Kolibri OS

Rev

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

Rev 2465 Rev 3500
Line 7... Line 7...
7
;; (C) 2004 Ville Turjanmaa, License: GPL                       ;;
7
;; (C) 2004 Ville Turjanmaa, License: GPL                       ;;
8
;; Addings by M.Lisovin                                         ;;
8
;; Addings by M.Lisovin                                         ;;
9
;; LFN support by diamond                                       ;;
9
;; LFN support by diamond                                       ;;
10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 11... Line 11...
11
 
11
 
Line 12... Line 12...
12
$Revision: 2465 $
12
$Revision: 3500 $
Line 13... Line 13...
13
 
13
 
Line 2255... Line 2255...
2255
	jnz	.lfndone
2255
	jnz	.lfndone
2256
	mov	byte [edi], 0xE5
2256
	mov	byte [edi], 0xE5
2257
	jmp	.lfndel
2257
	jmp	.lfndel
2258
.lfndone:
2258
.lfndone:
2259
; delete FAT chain
2259
; delete FAT chain
2260
	test	eax, eax
2260
        cmp     eax, 2
2261
	jz	.done
2261
        jb      .done
-
 
2262
        cmp     eax, 0xFF8
-
 
2263
        jae     .done
2262
	lea	eax, [RAMDISK_FAT + eax*2]
2264
	lea	eax, [RAMDISK_FAT + eax*2]
2263
	push	dword [eax]
2265
	push	dword [eax]
2264
	and	word [eax], 0
2266
	and	word [eax], 0
2265
	pop	eax
2267
	pop	eax
2266
	and	eax, 0xFFF
2268
	and	eax, 0xFFF