Function 28h Random Block Write to File Specified in Struct -FCBSimilar to 27h (Random Write) except allows multiple files to be read.
entry AH 28h
CX number of records to write
DS:DX address of an opened Struct -FCB
return AL 00h successful write
01h disk full, no data written
02h DTA too small for record size specified (write canceled)
CX number of records written
note 1) The record size is specified in the Struct -FCB.
2) This service allocates disk clusters as required.
3) This function assumes that the Struct -FCB Record Size field (offset
0Eh) is correctly set. If not set by the user, the default is 128
bytes.
4) The record size is specified in the Struct -FCB. The service updates
the Current Block (offset 0Ch) and Current Record (offset 20h) fields
to the next record not read.
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
6) If called with CX=0, no records are written, but the FCB's File Size
entry (offset 1Ch) is set to the size specified by the FCB's Relative
Record field (offset 21h).
file: /Techref/INT/21f/28.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2024/12/26 20:58,
3.137.170.38: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://linistepper.com/Techref/INT/21f/28.htm"> INT 21f 28</A> |
Did you find what you needed? |