forked from KolibriOS/kolibrios
File system: LFN read 58.0x100 moved to 70.0
git-svn-id: svn://kolibrios.org@72 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7c7f68ee6f
commit
0d97209173
@ -138,7 +138,7 @@ iglobal
|
|||||||
dd sys_window_move ; 67-Window move or resize
|
dd sys_window_move ; 67-Window move or resize
|
||||||
dd sys_internal_services ; 68-Some internal services
|
dd sys_internal_services ; 68-Some internal services
|
||||||
dd sys_debug_services ; 69-Debug
|
dd sys_debug_services ; 69-Debug
|
||||||
dd file_system_v2 ; 70-Common file system interface, version 2
|
dd file_system_lfn ; 70-Common file system interface, version 2
|
||||||
|
|
||||||
times 255 - ( ($-servetable) /4 ) dd undefined_syscall
|
times 255 - ( ($-servetable) /4 ) dd undefined_syscall
|
||||||
|
|
||||||
|
@ -87,10 +87,6 @@ file_system:
|
|||||||
|
|
||||||
; Extract parameters
|
; Extract parameters
|
||||||
add eax, std_application_base_address ; abs start of info block
|
add eax, std_application_base_address ; abs start of info block
|
||||||
; \begin{diamond}
|
|
||||||
cmp byte [eax+1], 1
|
|
||||||
jz file_system_lfn
|
|
||||||
; \end{diamond}
|
|
||||||
|
|
||||||
cmp dword [eax+0],12 ; Get file size
|
cmp dword [eax+0],12 ; Get file size
|
||||||
je fs_read
|
je fs_read
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
; System function 58, subfunctions 1xx
|
; System function 70 - files with long names (LFN)
|
||||||
; diamond, 2006
|
; diamond, 2006
|
||||||
|
|
||||||
iglobal
|
iglobal
|
||||||
@ -26,15 +26,15 @@ endg
|
|||||||
file_system_lfn:
|
file_system_lfn:
|
||||||
; in: eax->fileinfo block
|
; in: eax->fileinfo block
|
||||||
; operation codes:
|
; operation codes:
|
||||||
; 0x100 : read file
|
; 0 : read file
|
||||||
; 0x101 : rewrite file - not implemented yet
|
; 1 : rewrite file - not implemented yet
|
||||||
; 0x102 : delete file - not implemented yet
|
; 2 : delete file - not implemented yet
|
||||||
; 0x103 : write/append to file - not implemented yet
|
; 3 : write/append to file - not implemented yet
|
||||||
; 0x104 : create directory - not implemented yet
|
; 4 : create directory - not implemented yet
|
||||||
; 0x105 : rename file/directory - not implemented yet
|
; 5 : rename file/directory - not implemented yet
|
||||||
; 0x106 : get file attributes structure - not implemented yet
|
; 6 : get file attributes structure - not implemented yet
|
||||||
; 0x107 : start application - not implemented yet
|
; 7 : start application - not implemented yet
|
||||||
; 0x108 : find file with mask - not implemented yet
|
; 8 : find file with mask - not implemented yet
|
||||||
|
|
||||||
; parse file name
|
; parse file name
|
||||||
xchg ebx, eax
|
xchg ebx, eax
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
;****************************************************************************
|
|
||||||
;* System service for filesystem call, version 2
|
|
||||||
;*
|
|
||||||
;* 22.04.05 Reserved call function 70 - Mario79
|
|
||||||
;****************************************************************************
|
|
||||||
|
|
||||||
file_system_v2:
|
|
||||||
|
|
||||||
ret
|
|
Loading…
Reference in New Issue
Block a user