Table 8 FORMAT OF DIRECTORY ENTRY
Byte Contents Definition
0 128+type file type OR'ed with $80 to indicate prop-
erly closed file.
TYPES: 0 = DELeted
1 = SEQuential
2 = ProGram
3 = UseR
4 = RELative
1,2 Track and sector of 1
st
data block.
3-18 File name padded with shifted spaces.
19,20 Relative file only: track and sector for first
side sector block.
21 Relative file only: Record size
22-25 unused.
26,27 Track and sector of replacement file when
OPEN@ is in effect.
28,29 Number of blocks in file low byte, high
byte.
Table 9 SEQUENTIAL FORMAT
Byte Definition
0,1 Track and sector of next sequential data block
2-255 254 bytes of data with carriage returns as record terminators
Table 10 PROGRAM FILE FORMAT
Byte Definition
0,1 Track and sector of next block in program file.
2-255 254 bytes of program information stored in CBM BASIC
format (with keywords tokenized). End of file is marked by
three zero bytes.
52