please dont rip this site
Function  22h  Random Write to File Specified by FCB                      (FCB) 

Writes one record as specified in the Struct -FCB to the current DTA

entry AH 22h

DS:DX address of the opened Struct -FCB

return AL 00h successful write operation

01h disk full; no data written (write was canceled)

02h DTA too small for the record size specified (write was

canceled)

note 1) This service cannot write to read-only files.

2) The record pointed to by the Current Block (offset 0Ch) and the Current

Record (offset 20h) fields is loaded at the DTA, then the Current Block

and Current Record fields are incremented.

3) If the record size is less than a sector, the data in the DTA is written

to a buffer; the buffer is written to disk when it contains a full

sector of data, the file is closed, or a Reset Disk (function 0Dh) is

issued.

4) The current file pointers are NOT incremented this function.

5) The record is written to disk at the current DTA address as specified

by the most recent call to function 1Ah. If the size of the record and

location of the DTA are such that a segment overflow or wraparound would

occur, the error return is set to AL=02h




file: /Techref/int/21f/22.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2024/12/4 07:55,
TOP NEW HELP FIND: 
18.191.154.132: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://techref.massmind.org/Techref/int/21f/22.htm"> int 21f 22</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?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .