Files
SabreTools.Serialization/SabreTools.Data.Models/Atari7800/Constants.cs
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

50 lines
1.5 KiB
C#

namespace SabreTools.Data.Models.Atari7800
{
public static class Constants
{
/// <summary>
/// A78 magic string (null-padded)
/// </summary>
public static readonly byte[] MagicBytesWithNull =
[
0x41, 0x54, 0x41, 0x52, 0x49, 0x37, 0x38, 0x30,
0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
];
/// <summary>
/// A78 magic string (null-padded)
/// </summary>
public const string MagicStringWithNull = "ATARI7800\0\0\0\0\0\0\0";
/// <summary>
/// A78 magic string (space-padded)
/// </summary>
public static readonly byte[] MagicBytesWithSpace =
[
0x41, 0x54, 0x41, 0x52, 0x49, 0x37, 0x38, 0x30,
0x30, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
];
/// <summary>
/// A78 magic string (space-padded)
/// </summary>
public const string MagicStringWithSpace = "ATARI7800 ";
/// <summary>
/// A78 header end magic text
/// </summary>
public static readonly byte[] HeaderEndMagicBytes =
[
0x41, 0x43, 0x54, 0x55, 0x41, 0x4C, 0x20, 0x43,
0x41, 0x52, 0x54, 0x20, 0x44, 0x41, 0x54, 0x41,
0x20, 0x53, 0x54, 0x41, 0x52, 0x54, 0x53, 0x20,
0x48, 0x45, 0x52, 0x45,
];
/// <summary>
/// A78 header end magic text
/// </summary>
public const string HeaderEndMagicString = "ACTUAL CART DATA STARTS HERE";
}
}