please dont rip this site
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/4/19 14:43,
TOP NEW HELP FIND: 
3.146.221.52: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/INT/21f/0f.htm"> INT 21f 0f</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .