Esempio n. 1
0
 /// <summary>
 /// Create a DragonDos file object.
 /// </summary>
 /// <param name="type">File type.</param>
 /// <param name="data">File payload data.</param>
 /// <param name="loadAddress">Load address for machine code programs.</param>
 /// <param name="startAddress">Execution start address for machine code programs.</param>
 /// <remarks>
 /// This class assumes ownership of the data parameter and assumes that the caller will not make changes to the contents of this
 /// array.
 /// </remarks>
 private DragonDosFile(DragonDosFileType type, byte[] data, int loadAddress = 0, int startAddress = 0)
 {
     FileType     = type;
     this.data    = data;
     LoadAddress  = loadAddress;
     StartAddress = startAddress;
 }
Esempio n. 2
0
 /// <summary>
 /// Create a DragonDos file object.
 /// </summary>
 /// <param name="type">File type.</param>
 /// <param name="data">File payload data.</param>
 /// <param name="loadAddress">Load address for machine code programs.</param>
 /// <param name="startAddress">Execution start address for machine code programs.</param>
 /// <remarks>
 /// This class assumes ownership of the data parameter and assumes that the caller will not make changes to the contents of this
 /// array.
 /// </remarks>
 private DragonDosFile(DragonDosFileType type, byte[] data, int loadAddress = 0, int startAddress = 0)
 {
     FileType = type;
     this.data = data;
     LoadAddress = loadAddress;
     StartAddress = startAddress;
 }
Esempio n. 3
0
 /// <summary>
 /// Create a DragonDos file object that is associated with a filesystem directory entry.
 /// </summary>
 /// <param name="info">File directory information.</param>
 /// <param name="type">File type.</param>
 /// <param name="data">File payload data.</param>
 /// <param name="loadaddress">Load address for machine code programs.</param>
 /// <param name="startaddress">Execution start address for machine code programs.</param>
 /// <remarks>
 /// This class assumes ownership of the data parameter and assumes that the caller will not make changes to the contents of this
 /// array.
 /// </remarks>
 private DragonDosFile(DragonDosFileInfo info, DragonDosFileType type, byte[] data, int loadaddress = 0, int startaddress = 0)
     : this(type, data, loadaddress, startaddress)
 {
     fileinfo = info;
 }
Esempio n. 4
0
 /// <summary>
 /// Create a DragonDos file object that is associated with a filesystem directory entry.
 /// </summary>
 /// <param name="info">File directory information.</param>
 /// <param name="type">File type.</param>
 /// <param name="data">File payload data.</param>
 /// <param name="loadaddress">Load address for machine code programs.</param>
 /// <param name="startaddress">Execution start address for machine code programs.</param>
 /// <remarks>
 /// This class assumes ownership of the data parameter and assumes that the caller will not make changes to the contents of this
 /// array.
 /// </remarks>
 private DragonDosFile(DragonDosFileInfo info, DragonDosFileType type, byte[] data, int loadaddress = 0, int startaddress = 0)
     : this(type, data, loadaddress, startaddress)
 {
     fileinfo = info;
 }