Displaying 4 results from an estimated 4 matches for "found_dir".
Did you mean:
found_disk
2008 Nov 10
2
[PATCH 1/1] COMBOOT API: Add get current working directory call to most
...ory instead of the root
; directory.
+ ; Also copy the name of the directory to CurrentDirName
+ mov word[CurrentDirName], ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov di,boot_dir ; Search for /boot/isolinux
mov al,02h
+ push di
call searchdir_iso
+ pop di
jnz .found_dir
mov di,isolinux_dir
mov al,02h ; Search for /isolinux
+ push di
call searchdir_iso
+ pop di
jz .no_isolinux_dir
.found_dir:
+ ; Copy current directory name to CurrentDirName
+ push si
+ push di
+ mov si,di
+ mov di,CurrentDirName
+ call strcpy
+ pop di
+ pop si
+
mov [Cu...
2008 Jul 16
1
[PATCH] isolinux: rename CurDir to CurrentDir
...E-1
shr eax,SECTOR_SHIFT
mov [RootDir+dir_clust],eax
- mov [CurDir+dir_clust],eax
+ mov [CurrentDir+dir_clust],eax
; Look for an isolinux directory, and if found,
; make it the current directory instead of the root
@@ -918,12 +918,12 @@
call searchdir_iso
jz .no_isolinux_dir
.found_dir:
- mov [CurDir+dir_len],eax
+ mov [CurrentDir+dir_len],eax
mov eax,[si+file_left]
- mov [CurDir+dir_clust],eax
+ mov [CurrentDir+dir_clust],eax
xor eax,eax ; Free this file pointer entry
xchg eax,[si+file_sector]
- mov [CurDir+dir_lba],eax
+ mov [CurrentDir+dir_lba],eax
%ifdef DEB...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...ory instead of the root
; directory.
+ ; Also copy the name of the directory to CurrentDirName
+ mov word [CurrentDirName],ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov di,boot_dir ; Search for /boot/isolinux
mov al,02h
+ push di
call searchdir_iso
+ pop di
jnz .found_dir
mov di,isolinux_dir
mov al,02h ; Search for /isolinux
+ push di
call searchdir_iso
+ pop di
jz .no_isolinux_dir
.found_dir:
+ ; Copy current directory name to CurrentDirName
+ push si
+ push di
+ mov si,di
+ mov di,CurrentDirName
+ call strcpy
+ mov byte [di],0 ;done in case...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...ory instead of the root
; directory.
+ ; Also copy the name of the directory to CurrentDirName
+ mov word [CurrentDirName],ROOT_DIR_WORD ; Write '/',0 to the CurrentDirName
mov di,boot_dir ; Search for /boot/isolinux
mov al,02h
+ push di
call searchdir_iso
+ pop di
jnz .found_dir
mov di,isolinux_dir
mov al,02h ; Search for /isolinux
+ push di
call searchdir_iso
+ pop di
jz .no_isolinux_dir
.found_dir:
+ ; Copy current directory name to CurrentDirName
+ push si
+ push di
+ mov si,di
+ mov di,CurrentDirName
+ call strcpy
+ mov byte [di],0 ;done in case...