diff --git a/BurnOutSharp.Builder/MSDOS.cs b/BurnOutSharp.Builder/MSDOS.cs index c615a7a2..458928d2 100644 --- a/BurnOutSharp.Builder/MSDOS.cs +++ b/BurnOutSharp.Builder/MSDOS.cs @@ -130,7 +130,8 @@ namespace BurnOutSharp.Builder /// /// Byte array to parse /// Offset into the byte array - /// Filled executable header on success, null on error + /// Number of relocation table entries to read + /// Filled relocation table on success, null on error private static RelocationEntry[] ParseRelocationTable(byte[] data, int offset, int count) { // If we don't have enough data @@ -279,7 +280,8 @@ namespace BurnOutSharp.Builder /// Parse a Stream into a relocation table /// /// Stream to parse - /// Filled executable header on success, null on error + /// Number of relocation table entries to read + /// Filled relocation table on success, null on error private static RelocationEntry[] ParseRelocationTable(Stream data, int count) { // If we don't have enough data diff --git a/BurnOutSharp.Builder/NewExecutable.cs b/BurnOutSharp.Builder/NewExecutable.cs index 33826620..0762cdc0 100644 --- a/BurnOutSharp.Builder/NewExecutable.cs +++ b/BurnOutSharp.Builder/NewExecutable.cs @@ -111,6 +111,19 @@ namespace BurnOutSharp.Builder return header; } + /// + /// Parse a byte array into a segment table + /// + /// Byte array to parse + /// Offset into the byte array + /// Number of segment table entries to read + /// Filled segment table on success, null on error + private static SegmentTableEntry[] ParseSegmentTable(byte[] data, int offset, int count) + { + // TODO: Implement segment table reading + return null; + } + #endregion #region Stream Data @@ -216,6 +229,18 @@ namespace BurnOutSharp.Builder return header; } + /// + /// Parse a Stream into a segment table + /// + /// Stream to parse + /// Number of segment table entries to read + /// Filled segment table on success, null on error + private static SegmentTableEntry[] ParseSegmentTable(Stream data, int count) + { + // TODO: Implement segment table reading + return null; + } + #endregion } } \ No newline at end of file