[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 2F - CD-ROM v2.00+ - GET DIRECTORY ENTRY
        AX = 150Fh
        CL = drive number (0=A:)
        CH bit 0 = copy flag
                clear if direct copy
                set if copy to structure which removed ISO/High Sierra diffs
        ES:BX -> ASCIZ path name
        SI:DI -> buffer for directory entry (see below)
                 minimum 255 bytes for direct copy
Return: CF set on error
            AX = error code
        CF clear if succesful
            AX = disk format (0=High Sierra,1=ISO 9660)

Format of directory entry (direct copy):
Offset  Size    Description
 00h    BYTE  length of directory entry
 01h    BYTE  length of XAR in Logical Block Numbers
 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 BYTEs date and time
 18h    BYTE  bit flags
 19h    BYTE  reserved
---ISO 9660---
 12h  7 BYTEs 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 BYTEs file name
        BYTE (optional) padding if filename is odd length
      N BYTEs system data

Format of directory entry (canonicalized):
Offset  Size    Description
 00h    BYTE    length of XAR in Logical Block Numbers
 01h    DWORD   Logical Block Number of file start
 05h    WORD    size of disk in logical blocks
 07h    DWORD   file length in bytes
 0Bh  7 BYTEs   date and time
 12h    BYTE    bit flags
 13h    BYTE    interleave size
 14h    BYTE    interleave skip factor
 15h    WORD    volume set sequence number
 17h    BYTE    length of file name
 18h 38 BYTEs   ASCIZ filename
 3Eh    WORD    file version number
 40h    BYTE    number of bytes of system use data
 41h 220 BYTEs  system use data

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson