qa.hlp (Table of Contents; Topic list)
Int 21H Function 0FH
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Open File
 
  Opens a file and makes it available for subsequent read/write
  operations.
 
  Input                       Output
  ═════════════════════       ════════════════════════════════════════════
  AH=0FH                      If function successful (file found)
  DS:DX=segment:offset        AL=00
        of file control       and FCB filled in by MS-DOS as follows:
        block                 drive field (offset 00H0=1 for drive A,
                                                       2 for drive B, etc.
                              current block field (offset 0CH)=00H
                              record size field (offset 0EH)=0080H
                              size field (offset 10H)=file size from
                                                      directory
                              date field (offset 14H)=date stamp from
                                                      directory
                              time field (offset 16H)=time stamp from
                                                      directory
                              If function unsuccessful (file not found)
                              AL=0FFH
                                    -♦-