Subversion Repositories Kolibri OS

Rev

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

Rev 1379 Rev 1491
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2009. 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: 1379 $
8
$Revision: 1491 $
9
 
9
 
Line 10... Line 10...
10
 
10
 
11
image_of_eax EQU esp+36
11
image_of_eax EQU esp+32
Line 12... Line 12...
12
image_of_ebx EQU esp+24
12
image_of_ebx EQU esp+20
Line 87... Line 87...
87
        dd      biosdisk_handler, biosdisk_enum_root
87
        dd      biosdisk_handler, biosdisk_enum_root
88
; add new handlers here
88
; add new handlers here
89
        dd      0
89
        dd      0
Line 90... Line 90...
90
 
90
 
91
endg
-
 
92
 
91
endg
93
file_system_lfn:
92
file_system_lfn:
94
; in: eax->fileinfo block
93
; in: ebx->fileinfo block
95
; operation codes:
94
; operation codes:
96
; 0 : read file
95
; 0 : read file
97
; 1 : read folder
96
; 1 : read folder
98
; 2 : create/rewrite file
97
; 2 : create/rewrite file
Line 103... Line 102...
103
; 7 : start application
102
; 7 : start application
104
; 8 : delete file
103
; 8 : delete file
105
; 9 : create directory
104
; 9 : create directory
Line 106... Line 105...
106
 
105
 
107
; parse file name
-
 
108
	xchg	ebx, eax
106
; parse file name
109
	lea	esi, [ebx+20]
107
	lea	esi, [ebx+20]
110
	lodsb
108
	lodsb
111
	test	al, al
109
	test	al, al
112
	jnz	@f
110
	jnz	@f