Pasti file Reader-Writer
1.0
Pasti files
|
Pasti File Track Descriptor More...
Public Member Functions | |
override string | ToString () |
Override ToString() to display Track header information More... | |
Public Attributes | |
uint | recordSize |
Total size of this track record. More... | |
uint | fuzzyCount |
number of bytes in the fuzzy mask More... | |
ushort | sectorCount |
number of sectors in the track More... | |
ushort | trackFlags |
This field contain bit-mask flags that provide information about the content of the track record as follow: More... | |
ushort | trackLength |
length of the track in number of bytes. Usually around 6250 bytes. More... | |
byte | trackNumber |
Bit 7 contains the side (0 or 1) and bits 6-0 contain the track number (usually 0 to 79). More... | |
byte | trackType |
track image type (not used) More... | |
const byte | TRK_SYNC = 0x80 |
2 bytes track_image header contains sync offset info More... | |
const byte | TRK_IMAGE = 0x40 |
track record contains track_image More... | |
const byte | TRK_PROT = 0x20 |
track contains protections ? not used More... | |
const byte | TRK_SECT_DESC = 0x01 |
The track record contains sectorCount SectDesc More... | |
There is one track record for each track described in the Pasti file
Definition at line 79 of file PastiStruct.cs.
|
inline |
Override ToString() to display Track header information
Definition at line 128 of file PastiStruct.cs.
uint Pasti.TrackDesc.fuzzyCount |
number of bytes in the fuzzy mask
Sectors with fuzzy bytes have the fuzzy bit indicator set (described by the bit 7 of the fdcFlags in the Sector descriptor)
Definition at line 87 of file PastiStruct.cs.
uint Pasti.TrackDesc.recordSize |
Total size of this track record.
Therefore the position of the next Track descriptor (if any) in the file is equal to the position of the current Track descriptor plus recordSize.
Definition at line 83 of file PastiStruct.cs.
ushort Pasti.TrackDesc.sectorCount |
number of sectors in the track
If bits 0 of trackFlags (described below) is set this also indicates the number of Sector descriptors in the Track record. A value of 0 indicate an empty or unformatted track.
Definition at line 92 of file PastiStruct.cs.
ushort Pasti.TrackDesc.trackFlags |
This field contain bit-mask flags that provide information about the content of the track record as follow:
Definition at line 106 of file PastiStruct.cs.
ushort Pasti.TrackDesc.trackLength |
length of the track in number of bytes. Usually around 6250 bytes.
Definition at line 108 of file PastiStruct.cs.
byte Pasti.TrackDesc.trackNumber |
Bit 7 contains the side (0 or 1) and bits 6-0 contain the track number (usually 0 to 79).
Definition at line 110 of file PastiStruct.cs.
byte Pasti.TrackDesc.trackType |
track image type (not used)
Definition at line 112 of file PastiStruct.cs.
const byte Pasti.TrackDesc.TRK_IMAGE = 0x40 |
track record contains track_image
Definition at line 118 of file PastiStruct.cs.
const byte Pasti.TrackDesc.TRK_PROT = 0x20 |
track contains protections ? not used
Definition at line 120 of file PastiStruct.cs.
const byte Pasti.TrackDesc.TRK_SECT_DESC = 0x01 |
The track record contains sectorCount SectDesc
Definition at line 122 of file PastiStruct.cs.
const byte Pasti.TrackDesc.TRK_SYNC = 0x80 |
2 bytes track_image header contains sync offset info
Definition at line 116 of file PastiStruct.cs.