Page:
File Entry
Pages
ChangeLog
Directory Header
DiskCopy 4.2
Extended Attributes
Extended File
File Entry
FreeBSDSupport
Home
LinuxSupport
MountOptions
NibbleEncoding
OSX104Support
OSXUsage
Pascal Area
PascalFileSystem
Sapling File
Seedling File
Universal Disk Image Format
Volume Header
XattrUtility
apfm manual page
newfs_pascal manual page
5
File Entry
ksherlock edited this page 2015-04-23 11:46:14 -04:00
Table of Contents
This is the file entry, as originally defined in ProDOS/SOS.
Name | Offset | Size |
---|---|---|
storage_type | $00 | 4 bits (high) |
name_length | $00 | 4 bits (low) |
file_name | $01 | 15 bytes |
file_type | $10 | 1 byte |
key_pointer | $11 | 2 bytes |
blocks_used | $13 | 2 bytes |
EOF | $15 | 3 bytes |
creation | $18 | 4 bytes |
version | $1c | 1 byte |
min_version | $1d | 1 byte |
access | $1e | 1 byte |
aux_type | $1f | 2 bytes |
last_mod | $21 | 4 bytes |
header_pointer | $25 | 2 bytes |
Updates
- The
version
/min_version
fields were deprecated and replaced with filename case information as of IIgs System 5. Refer to GS/OS Technote #8
Name | Offset | Size |
---|---|---|
storage_type | $00 | 4 bits (high) |
name_length | $00 | 4 bits (low) |
file_name | $01 | 15 bytes |
file_type | $10 | 1 byte |
key_pointer | $11 | 2 bytes |
blocks_used | $13 | 2 bytes |
EOF | $15 | 3 bytes |
creation | $18 | 4 bytes |
file_name_case_bits | $1c | 2 bytes |
access | $1e | 1 byte |
aux_type | $1f | 2 bytes |
last_mod | $21 | 4 bytes |
header_pointer | $25 | 2 bytes |
Fields
storage_type
The storage type is stored in the high 4 bits. Valid values are:
$01 | Seedling File |
---|---|
$02 | Sapling File |
$03 | Tree File |
$04 | Apple II Pascal Area |
$05 | Extended File |
$0D | Directory |
$0E | Subdirectory Key Block |
$0F | Volume Key Block |
Type 0x04 and 0x05 were not a part of the original ProDOS specification and are not supported under ProDOS 8. Refer to ProDOS Technote #25
Types 0x0E and 0x0F are not used in the File Entry.