Commodore 1551 User Manual page 89

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents