Skip to content

ScrAttribute Constructors ​

Interprets an FBPPPIII attribute byte without discarding any bits.

c#
public ScrAttribute(Byte Value);

Parameters ​

NameTypeDescription
ValueByteThe original attribute byte.

Remarks ​

Attribute reference: https://worldofspectrum.org/ZXBasicManual/zxmanchap16.html. RGB8 values follow OakEmu: normal components are 192, bright components are 255, and black is identical at both levels. Colour reference: https://github.com/MrKWatkins/OakEmu/blob/main/src/MrKWatkins.OakEmu.Machines.ZXSpectrum/Screen/PixelColourExtensions.cs.