Chapter
2
I
MS-DOS
Control Blocks
and
Work
Areas
OEH-OFH
Logical record size in bytes. Set to 128 by the
Open File Function call. If the record size is not
128 bytes, you must set this field after opening
the file.
File size in bytes. The first word
of
this field is
the low-order part
of
the size.
Date
of
last write. The date the file was created
or
last updated. The year, month, and day are
mapped into two bytes as follows:
10H-13H
14H- 15H
Offset 15H
Offset 14H
MMDDDDD
Time
of
last write. The time the file was created
or
last updated. The hour, minutes, and seconds
are mapped into two bytes as follows:
lFr7p
15 14 13 1H 12 IH
11
(I
10
/M
9
1;
1:
16
15
14
13
12
11
10
I
16H- 17H
Offset 16H
MMMSSSSS
17 16
15
14
13
12
11
10
I
18H-1FH Reserved for system use.
20H
Current record number. This is one
of
128 rec-
ords (0-127) in the current block. This field and
the current block field (offset 0CH) are used
for
sequential reads and writes. It is not initialized
by the Open File function call. You must set it
before doing
a
sequential read
or
write to the
file.
152