Commodore 2040 User Manual page 62

Cbm 5 1/4-inch dual floppy disk drives
Hide thumbs Also See for 2040:
Table of Contents

Advertisement

60
Table 13. DIRECTORY FORMAT
Track 18, Sector 1 for 4040
Track 39, Sector 1 for 8050
BYTE
DEFINITION
0,1
Track and sector of next directory block.
2-31
*File entry 1
34-63
*File entry 2
66-95
*File entry 3
98-127
*File entry 4
130-159
*File entry 5
162-191
*File entry 6
194-223
*File entry 7
226-255
*File entry 8
*STRUCTURE OF SINGLE DIRECTORY ENTRY
BYTE
CONTENTS
DEFINITION
0
128+type
File type OR'ed with $80 to indicate properly closed file.
TYPES:
0= DELeted
1 = SEQential
2 = PROGram
3 = USER
4 = RELative
1,2
Track and sector of 1st 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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

304040408050

Table of Contents