diff --git a/SabreTools.Models/NewExecutable/SegmentTableEntry.cs b/SabreTools.Models/NewExecutable/SegmentTableEntry.cs index ea90991..187f675 100644 --- a/SabreTools.Models/NewExecutable/SegmentTableEntry.cs +++ b/SabreTools.Models/NewExecutable/SegmentTableEntry.cs @@ -19,12 +19,12 @@ namespace SabreTools.Models.NewExecutable /// file data. /// /// Byte offset is: Offset * (1 << ) - public ushort Offset; + public ushort Offset { get; set; } /// /// Length of the segment in the file, in bytes. Zero means 64K. /// - public ushort Length; + public ushort Length { get; set; } /// /// Flag word. @@ -36,6 +36,25 @@ namespace SabreTools.Models.NewExecutable /// Minimum allocation size of the segment, in bytes. Total size /// of the segment. Zero means 64K. /// - public ushort MinimumAllocationSize; + public ushort MinimumAllocationSize { get; set; } + + /// + /// Segment data + /// + /// + /// Data is not sequential to the entry header. It lives at + /// the and has a size of + /// + public byte[]? Data { get; set; } + + /// + /// Per-segment data + /// + /// + /// This only exists if has a flag value + /// of . It immediately + /// follows . + /// + public PerSegmentData? PerSegmentData { get; set; } } }