Skip to content

Page.Create48k Method

Definition

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

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

View source

Parameters

Name Type Description
memory Span<Byte> The 64K memory contents.
compress Boolean true to compress the page data; false otherwise.

Returns

IReadOnlyList<Page>

A list of three pages covering the 48K memory.