IPF Image-File Reader-Writer  1.0
IPF File information
Floppy.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Threading.Tasks;
6 
7 namespace ipf {
8 
12  public class GapElement {
13  public uint gapBytes;
14  public byte value;
15  public GapType type;
16  }
17 
21  public class DataElem {
22  public uint dataBytes;
23  public List<byte> value;
24  public DataType type;
25  }
26 
30  public class Sector {
31  public uint dataBits;
32  public uint gapBits;
33  public List<GapElement> gapElems = new List<GapElement>();
34  public List<DataElem> dataElems = new List<DataElem>();
35  public BlockFlags flags = BlockFlags.None;
36  }
37 
41  public class Track {
42  public uint trackBytes;
43  public uint dataBits;
44  public uint gapBits;
45  public Density density;
46  public uint startBitPos;
47  public uint blockCount;
48  public TrackFlags trackFlags;
49  public List<Sector> sectors = new List<Sector>();
50  }
51 
56  public class Floppy {
57  public Track[,] tracks;
58  public InfoRecord info;
59  }
60 }
BlockFlags
Flags for a block descriptor
Definition: IPFStruct.cs:53
DataType
Type of Data in data element
Definition: IPFStruct.cs:68
Store information about all tracks of a FD
Definition: Floppy.cs:56
Store the sector/bloc information
Definition: Floppy.cs:30
GapType
Type of a gap element
Definition: IPFStruct.cs:71
Definition: App.xaml.cs:9
Store the content of a data element.
Definition: Floppy.cs:21
Store the content of a gap element including the gap value
Definition: Floppy.cs:12
The info record definition
Definition: IPFStruct.cs:100
Density
The cell density for this track
Definition: IPFStruct.cs:32
TrackFlags
Flags for the track
Definition: IPFStruct.cs:42
Store information about one track
Definition: Floppy.cs:41