qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
                                    -♦-