Commodore 1541-II User Manual page 99

Hide thumbs Also See for 1541-II:
Table of Contents

Advertisement

1541 DIRECTORY FILE FORMAT
Track 18, Sector 1.
BYTE
0,1
2-31
34-63
66-95
98-127
130-159
162-191
194-223
226-255
DEFINITION
Track and sector of next directory block.
File entry 1*
File entry 2*
File entry 3*
File entry 4*
File entry 5*
File entry 6*
File entry 7*
File entry 8*
♦STRUCTURE OF EACH INDIVIDUAL DIRECTORY ENTRY
BYTE
0
1-2
3-18
19-20
21
22-25
26-27
28-29
CONTENTS
128
+
type
DEFINITION
File type OR'ed with $80 to indicate properly closed file.
(if OR'ed with SCO instead, file is locked.)
TYPES: 0 = DELeted
1 = SEQuential
2 = PROGram
3 = USER
4 = RELative
Track and sector of first data block.
File name padded with shifted spaces.
Relative file only: track and sector of first side
sector block.
Relative file only: Record length.
Unused.
Track and sector of replacement file during an
©SAVE or ©OPEN.
Number of blocks in file: stored as a two-byte integer,
in low byte, high byte order.
91

Advertisement

Table of Contents
loading

Table of Contents