Rev 3545 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3545 | Rev 4360 | ||
---|---|---|---|
Line 136... | Line 136... | ||
136 | 136 | ||
137 | DIR_ENTRY = """little: |
137 | DIR_ENTRY = """little: |
138 | char name[8] /* file name */ |
138 | char name[8] /* file name */ |
139 | char ext[3] /* file extension */ |
139 | char ext[3] /* file extension */ |
140 | uint8_t attr /* file attributes */ |
140 | uint8_t attr /* file attributes */ |
141 | padding[1] /* reserved for NT */ |
141 | uint8_t lcase /* file name case (NT extension) */ |
142 | uint8_t ctime_fine /* create time (fine resolution) */ |
142 | uint8_t ctime_fine /* create time (fine resolution) */ |
143 | uint16_t ctime /* create time */ |
143 | uint16_t ctime /* create time */ |
144 | uint16_t cdate /* create date */ |
144 | uint16_t cdate /* create date */ |
145 | uint16_t adate /* access date */ |
145 | uint16_t adate /* access date */ |
146 | padding[2] /* EA-index */ |
146 | padding[2] /* EA-index */ |
Line 215... | Line 215... | ||
215 | if (directory): |
215 | if (directory): |
216 | dir_entry.attr = 0x30 |
216 | dir_entry.attr = 0x30 |
217 | else: |
217 | else: |
218 | dir_entry.attr = 0x20 |
218 | dir_entry.attr = 0x20 |
219 | 219 | ||
- | 220 | dir_entry.lcase = 0x18 |
|
220 | dir_entry.ctime_fine = 0 # FIXME |
221 | dir_entry.ctime_fine = 0 # FIXME |
221 | dir_entry.ctime = 0 # FIXME |
222 | dir_entry.ctime = 0 # FIXME |
222 | dir_entry.cdate = 0 # FIXME |
223 | dir_entry.cdate = 0 # FIXME |
223 | dir_entry.adate = 0 # FIXME |
224 | dir_entry.adate = 0 # FIXME |
224 | dir_entry.mtime = 0 # FIXME |
225 | dir_entry.mtime = 0 # FIXME |