Function 0Fh Open Disk File (FCB)Searches current directory for specified filename and opens it
entry AH 0Fh
DS:DX pointer to an unopened FCB
return AL 00h if file found
0FFh if file not not found
note 1) If the drive code was 0 (default drive) it is changed to the actual
drive used (1=A:,2=B:,3=C:, etc). This allows changing the default drive
without interfering with subsequent operations on this file.
2) The current block field (FCB bytes C-D, offset 0Ch) is set to zero.
3) The size of the record to be worked with (FCB bytes E-F, offset 0Eh) is
set to the system default of 80h. The size of the file (offset 10h) and
the date (offset 14h) are set from information obtained in the root
directory. You can change the default value for the record size (FCB
bytes E-F) or set the random record size and/or current record field.
Perform these actions after the open but before any disk operations.
4) The file is opened in compatibility mode.
5) Microsoft recommends handle function call 3Dh be used instead.
6) This call is also used by the APPEND command in DOS 3.2+
7) Before performing a sequential disk operation on the file, you must
set the Current Record field (offset 20h). Before performing a random
disk operation on the file, you must set the Relative Record field
(offset 21h). If the default record size of 128 bytes is incorrect, set
it to the correct value.
file: /Techref/INT/21f/0f.htm, 1KB, , updated: 1999/2/20 11:26, local time: 2024/8/31 18:19,
3.144.3.63:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/INT/21f/0f.htm"> INT 21f 0f</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.