Displaying 1 result from an estimated 1 matches for "5f57da7".
Did you mean:
5f57d96
2009 Mar 01
0
[PATCH 1/3] COMBOOT API: Improve readdir
...ad one file from a directory
;
; ES:DI -> String buffer (filename)
@@ -1550,6 +1584,7 @@ readdir:
.get_info:
mov ebx,[gs:si+28] ; length
mov dl,[gs:si+11] ; type
+ call fatattr_to_st_mode
.next_entry:
add si,DIRENT_SIZE
dec cx
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 5f57da7..135a5bc 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -947,16 +947,17 @@ AX=0021h [3.74] Read directory
Input: AX 0020h
SI directory handle
ES:DI buffer for file name
- Output: DL Type of file
+ Output: DX Mode of file
SI directory handle, or 0 if end of directory was reached...