Function 14h Sequential Disk File Read (FCB)Reads record sequentially from disk via Struct -FCB
entry AH 14h
DS:DX pointer to an opened Struct -FCB
return AL 00h successful read
01h end of file (no data read)
02h Data Transfer Area too small for record size specified
or segment overflow
03h partial record read, EOF found
note 1) The record size is set to the value at offset 0Eh in the Struct -FCB.
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) The record is read into memory 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
4) If a partial record is read at the end of the file, it is passed to the
requested size with zeroes and the error return is set to AL=03h.
file: /Techref/INT/21f/14.htm, 1KB, , updated: 1999/4/26 11:31, local time: 2024/12/21 08:24,
13.59.88.42: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://massmind.org/techref/INT/21f/14.htm"> INT 21f 14</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.