Skip to content

Sna128kFile Class ​

Definition ​

A 128K SNA snapshot file.

c#
public sealed class Sna128kFile : SnaFile

View source

Properties ​

NameDescription
Port7FFDGets the value of port 0x7FFD.
TrDosRomPagedGets a value indicating whether the TR-DOS ROM is paged in.

Methods ​

NameDescription
Create(IReadOnlyList<ReadOnlyMemory<Byte>>, Byte, Boolean)Creates a 128K snapshot from eight physical 16 KB RAM banks, numbered 0–7. Input data is copied. Registers are initially zero. The default paging latch selects the 48K ROM and RAM bank 0, with paging unlocked. This does not initialize BASIC system variables, including BANKM.
GetBank(Int32)Gets the data for the specified memory bank.
TryLoadInto(Span<Byte>)Attempts to load the file data into the specified memory span.