Skip to content

NexHeader Class ​

Definition ​

The header of a NEX snapshot file.

c#
public sealed class NexHeader : Header

View source

Constructors ​

NameDescription
NexHeader()Initializes a new instance of the NexHeader class with default values.

Properties ​

NameDescription
BanksOffsetGets or sets the offset to the banks data.
BigL2BarPosYGets or sets the Y position of the big Layer 2 loading bar.
BorderColourGets or sets the border colour.
CliBufferAddressGets or sets the CLI buffer address.
CliBufferSizeGets or sets the CLI buffer size.
CoreVersionMajorGets or sets the required core version major number.
CoreVersionMinorGets or sets the required core version minor number.
CoreVersionSubMinorGets or sets the required core version sub-minor number.
Crc32CGets or sets the CRC-32C checksum.
EntryBankGets or sets the bank paged in at entry.
ExpansionBusEnableGets or sets a value indicating whether the expansion bus is enabled.
FileHandleAddressGets or sets how the loader returns the open NEX file handle to the application.
HasChecksumGets or sets a value indicating whether the file has a CRC-32C checksum.
HasCopperCodeGets or sets a value indicating whether the file contains copper code.
HasHiColourScreenGets or sets a value indicating whether the file has a hi-colour loading screen.
HasHiResScreenGets or sets a value indicating whether the file has a hi-res loading screen.
HasLayer2ScreenGets or sets a value indicating whether the file has a Layer 2 loading screen.
HasLoResScreenGets or sets a value indicating whether the file has a lo-res loading screen.
HasNoPaletteBlockGets or sets a value indicating whether the file has no palette block.
HasUlaScreenGets or sets a value indicating whether the file has a ULA loading screen.
HiResColourGets or sets the hi-res screen colour.
LoadingBarGets or sets the loading bar style.
LoadingBarColourGets or sets the loading bar colour.
LoadingDelayGets or sets the loading delay in frames.
LoadScreenFlags2Gets or sets a value indicating whether the load screen flags 2 field is used.
LoadScreens2Gets or sets the secondary load screen mode.
MagicGets the magic identifier string.
NumBanksToLoadGets or sets the number of banks to load.
NumExtraFilesGets or sets the number of extra files.
PCGets or sets the initial program counter value.
PreserveNextRegistersGets or sets a value indicating whether Next registers should be preserved on load.
RamRequiredGets or sets the amount of RAM required.
RegistersGets the CPU registers stored in the header.
SPGets or sets the initial stack pointer value.
StartDelayGets or sets the start delay in frames.
TileScreenConfigReg6BGets or sets the tilemap screen configuration register 0x6B value.
TileScreenConfigReg6CGets or sets the tilemap screen configuration register 0x6C value.
TileScreenConfigReg6EGets or sets the tilemap screen configuration register 0x6E value.
TileScreenConfigReg6FGets or sets the tilemap screen configuration register 0x6F value.
VersionGets the parsed NEX version.
VersionStringGets or sets the version string.

Methods ​

NameDescription
IsBankIncluded(Int32)Gets a value indicating whether the specified bank is included in the file.
SetBankIncluded(Int32, Boolean)Sets whether the specified bank is included in the file.