mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
40d9f3eed5
The information is available in the directory key block. Providing it to the user as soon as opendir() is done can save them costly code.
16 lines
447 B
PHP
16 lines
447 B
PHP
.struct DIR
|
|
FD .word
|
|
ENTRY_LENGTH .byte
|
|
ENTRIES_PER_BLOCK .byte
|
|
FILE_COUNT .word
|
|
CURRENT_ENTRY .byte
|
|
.union
|
|
BYTES .byte 512
|
|
.struct CONTENT
|
|
PREV_BLOCK .word
|
|
NEXT_BLOCK .word
|
|
ENTRIES .byte
|
|
.endstruct
|
|
.endunion
|
|
.endstruct
|