Function 21h Random Read from File Specified by File Control Block (FCB)Reads one record as specified in the Struct -FCB into the current DTA.
entry AH 21h
DS:DX address of the opened Struct -FCB
return AL 00h successful read operation
01h end of file (EOF), no data read
02h DTA too small for the record size specified
03h end of file (EOF), partial data read
note 1) The current block and current record fields are set to agree with the
random record field. Then the record addressed by these fields is read
into memory at the current Disk Transfer Address.
2) The current file pointers are NOT incremented this function.
3) If the DTA is larger than the file, the file is padded to the requested
length with zeroes.
file: /Techref/INT/21f/21.htm, 0KB, , updated: 1999/4/26 11:31, local time: 2024/12/26 21:22,
3.141.201.92: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/21.htm"> INT 21f 21</A> |
Did you find what you needed? |