Skip to content

NexFile Class ​

Definition ​

A ZX Spectrum Next NEX snapshot file.

c#
public sealed class NexFile : ZXSpectrumSnapshotFile

View source

Properties ​

NameDescription
AppendedDataGets the opaque binary data following the memory banks, or an empty list when no data is appended.
AppendedDataOffsetGets the zero-based byte offset of the appended data in the serialised NEX file.
BanksGets the memory banks.
CopperCodeGets the copper code data, or null if the file has no copper code.
HeaderGets the NEX file header.
PaletteGets the palette data, or null if the file has no palette.
RegistersGets the CPU register snapshot.
ScreensGets the loading screens.

Methods ​

NameDescription
CreateCode(IEnumerable<ValueTuple<Int32, Byte[]>>, UInt16, UInt16, ZXColour, NexRamRequired)Creates a NEX file containing code banks, with no loading screens, palette or copper code.
SetAppendedData(ReadOnlySpan<Byte>)Replaces the application-defined data appended after the memory banks.