| |
CD-ROM 2.00 Interface - Get Directory Entry
Input |
DOS1 |
N |
DOS2 |
N |
DOS3 |
Y |
DOS5 |
Y |
Output |
AX |
15h |
0Fh |
Disk
Format / Error Code |
AX |
|
|
|
|
|
BX |
CX |
Drive
Number (0=A) |
|
|
CX |
SI:DI |
256
buffer for Directory Entry |
|
|
DX |
ES:BX |
ASCIIZ
Path Name |
Set
if Error |
CF |
Disk Format: 0000h = High Sierra
0001h = ISO 9660
Format of the Directory Entry
Offset Size Description
00h BYTE Length of Directory Entry
01h BYTE Length of XAR in LBN's (don't ask me what this means)
02h DWORD LBN of data, Intel (little-endian) format
06h DWORD LBN of data, Motorola (big-endian) format
0Ah DWORD Length of file, Intel format
0Eh DWORD Length of file, Motorola format
High Sierra
12h 6 BYTE Date and Time
18h BYTE Bit Flags
19h BYTE Reserved
ISO 9660
12h 7 BYTE Date and Time
19h BYTE Bit Flags
Both Formats
1Ah BYTE Interleave Size
1Bh BYTE Interleave Skip Factor
1Ch WORD Volume set sequence number, Intel format
1Eh WORD Volume set sequence number, Motorola format
20h BYTE Length of file name
21h N BYTE File Name
BYTE (Optional) padding if filename is odd length
N BYTE System data |