mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-07-22 16:52:15 +00:00
60 lines
1.8 KiB
C#
60 lines
1.8 KiB
C#
namespace SabreTools.Models.N3DS
|
|
{
|
|
/// <summary>
|
|
/// The test data is the same one encountered in development DS/DSi cartridges.
|
|
/// </summary>
|
|
/// <see href="https://www.3dbrew.org/wiki/NCSD#TestData"/>
|
|
public sealed class TestData
|
|
{
|
|
/// <summary>
|
|
/// The bytes FF 00 FF 00 AA 55 AA 55.
|
|
/// </summary>
|
|
public byte[]? Signature { get; set; }
|
|
|
|
/// <summary>
|
|
/// An ascending byte sequence equal to the offset mod 256 (08 09 0A ... FE FF 00 01 ... FF).
|
|
/// </summary>
|
|
public byte[]? AscendingByteSequence { get; set; }
|
|
|
|
/// <summary>
|
|
/// A descending byte sequence equal to 255 minus the offset mod 256 (FF FE FD ... 00 FF DE ... 00).
|
|
/// </summary>
|
|
public byte[]? DescendingByteSequence { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with 00 (0b00000000) bytes.
|
|
/// </summary>
|
|
public byte[]? Filled00 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with FF (0b11111111) bytes.
|
|
/// </summary>
|
|
public byte[]? FilledFF { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with 0F (0b00001111) bytes.
|
|
/// </summary>
|
|
public byte[]? Filled0F { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with F0 (0b11110000) bytes.
|
|
/// </summary>
|
|
public byte[]? FilledF0 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with 55 (0b01010101) bytes.
|
|
/// </summary>
|
|
public byte[]? Filled55 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Filled with AA (0b10101010) bytes.
|
|
/// </summary>
|
|
public byte[]? FilledAA { get; set; }
|
|
|
|
/// <summary>
|
|
/// The final byte is 00 (0b00000000).
|
|
/// </summary>
|
|
public byte FinalByte { get; set; }
|
|
}
|
|
}
|