File system addition: fileinfo structure allows new syntax

git-svn-id: svn://kolibrios.org@84 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond) 2006-06-02 14:59:59 +00:00
parent 1e5f55f29c
commit 8c3875e438
2 changed files with 13 additions and 5 deletions

View File

@ -55,6 +55,7 @@ d80x25_bottom_num = 3
novesa db "Display: EGA/CGA",13,10,0 novesa db "Display: EGA/CGA",13,10,0
vervesa db "Version of Vesa: Vesa x.x",13,10,0 vervesa db "Version of Vesa: Vesa x.x",13,10,0
vervesa_off=22 vervesa_off=22
msg_apm db " APM x.x ", 0
gr_mode db 186," Vesa 2.0+ 16 M LFB: [1] 640x480, [2] 800x600, " gr_mode db 186," Vesa 2.0+ 16 M LFB: [1] 640x480, [2] 800x600, "
db "[3] 1024x768, [4] 1280x1024",13,10 db "[3] 1024x768, [4] 1280x1024",13,10
db 186," Vesa 1.2 16 M Bnk: [5] 640x480, [6] 800x600, " db 186," Vesa 1.2 16 M Bnk: [5] 640x480, [6] 800x600, "

View File

@ -53,17 +53,24 @@ file_system_lfn:
; 1 : read folder ; 1 : read folder
; 2 : create/rewrite file ; 2 : create/rewrite file
; 3 : write/append to file - not implemented yet ; 3 : write/append to file - not implemented yet
; 4 : delete file - not implemented yet ; 4 : set end of file - not implemented yet
; 5 : create directory - not implemented yet ; 5 : get file attributes structure - not implemented yet
; 6 : rename file/directory - not implemented yet ; 6 : start application - not implemented yet
; 7 : get file attributes structure - not implemented yet ; 7 : delete file - not implemented yet
; 8 : start application - not implemented yet ; 8 : create directory - not implemented yet
; 9 : rename file/directory - not implemented yet
add eax, std_application_base_address add eax, std_application_base_address
; parse file name ; parse file name
xchg ebx, eax xchg ebx, eax
lea esi, [ebx+20] lea esi, [ebx+20]
lodsb lodsb
test al, al
jnz @f
mov esi, [esi]
add esi, std_application_base_address
lodsb
@@:
cmp al, '/' cmp al, '/'
jz @f jz @f
.notfound: .notfound: