Skip to content

Page.Create48k Method ​

Definition ​

Creates the three memory pages for a 48K Spectrum from the given memory.

c#
public static IReadOnlyList<Page> Create48k(Span<Byte> memory, bool compress = true);

View source

Parameters ​

NameTypeDescription
memorySpan<Byte>The 64K memory contents.
compressBooleantrue to compress the page data; false otherwise.

Returns ​

IReadOnlyList<Page>

A list of three pages covering the 48K memory.