search for: founddir

Displaying 3 results from an estimated 3 matches for "founddir".

Did you mean: sounddir
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...If unsuccessful ; ZF set ; ; Assumes CS == DS == ES, and trashes BX and CX. ; -searchdir: +searchdir4any: mov eax,[CurrentDir] + mov dl,0 cmp byte [di],'/' ; Root directory? jne .notroot mov eax,[RootDir] @@ -1332,7 +1336,7 @@ searchdir: dec dx cmp dx,si jz .founddir - +.searchname: mov [PrevDir],eax ; Remember last directory searched push di @@ -1344,7 +1348,58 @@ searchdir: cmp byte [di-1],'/' ; Do we expect a directory je .isdir - ; Otherwise, it should be a file + ; Otherwise, desired file is found + ret ; Done! + + ; If we expec...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...xchg si,di ; GRC: si begin; di end[ /]+1 pop eax ; <A> Current directory sector + ; GRC Here I need to check if di-1 = si which signifies + ; we have the desired directory in EAX + ; What about where the file name = "."; later + mov dx,di + dec dx + cmp dx,si + jz .founddir + mov [PrevDir],eax ; Remember last directory searched push di @@ -1263,12 +1367,257 @@ searchdir: xchg eax,[si+file_sector] ; Get sector number and free file structure jmp .pathwalk ; Walk the next bit of the path + ; Found the desired directory; ZF set but EAX not 0 +.founddir: +...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...xchg si,di ; GRC: si begin; di end[ /]+1 pop eax ; <A> Current directory sector + ; GRC Here I need to check if di-1 = si which signifies + ; we have the desired directory in EAX + ; What about where the file name = "."; later + mov dx,di + dec dx + cmp dx,si + jz .founddir + mov [PrevDir],eax ; Remember last directory searched push di @@ -1263,12 +1340,221 @@ searchdir: xchg eax,[si+file_sector] ; Get sector number and free file structure jmp .pathwalk ; Walk the next bit of the path + ; Found the desired directory; ZF set but EAX not 0 +.founddir: +...