Int 2F/AX=150Fh

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

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 removes ISO/High Sierra diffs
ES:BX -> ASCIZ path name
SI:DI -> buffer for directory entry (see #02628,#02629)
must be 255 bytes for direct copy, 285 bytes for canonical

Return:
CF set on error AX = error code CF clear if successful AX = disk format (0=High Sierra,1=ISO 9660)

Note: This function was not supported by Novell DOS 7 NWCDEX prior to the 08/16/94 update

Format of CD-ROM directory entry (direct copy): Offset Size Description (Table 02628) 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 (seventh byte is offset from GMT in 15-minute increments) 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

See Also: #02629 - #01352

Format of CD-ROM directory entry (canonicalized): Offset Size Description (Table 02629) 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

See Also: #02628

Category: Disk I/O Enhancements - Int 2Fh - C

rbline.gif

lup.gif ldown.gif Interrups Categories Contents