Static Public Member Functions | Static Public Attributes | List of all members
openmsx::P1BackgroundPolicy Struct Reference
Inheritance diagram for openmsx::P1BackgroundPolicy:
Inheritance graph
Collaboration diagram for openmsx::P1BackgroundPolicy:
Collaboration graph

Static Public Member Functions

template<std::unsigned_integral Pixel>
static void draw1 (std::span< const Pixel, 16 > palette, Pixel *buffer, byte *, size_t p)
- Static Public Member Functions inherited from openmsx::P1Policy
static byte readNameTable (V9990VRAM &vram, unsigned addr)
static byte readPatternTable (V9990VRAM &vram, unsigned addr)
static byte readSpriteAttr (V9990VRAM &vram, unsigned addr)
static unsigned spritePatOfst (byte spriteNo, byte spriteY)

Static Public Attributes

static constexpr bool DRAW_BACKDROP = true
- Static Public Attributes inherited from openmsx::P1Policy
static constexpr unsigned SCREEN_WIDTH = 256
static constexpr unsigned IMAGE_WIDTH = 2 * SCREEN_WIDTH
static constexpr unsigned NAME_CHARS = IMAGE_WIDTH / 8
static constexpr unsigned PATTERN_CHARS = SCREEN_WIDTH / 8

Detailed Description

Definition at line 49 of file

Member Function Documentation

◆ draw1()

template<std::unsigned_integral Pixel>
static void openmsx::P1BackgroundPolicy::draw1 ( std::span< const Pixel, 16 >  palette,
Pixel buffer,
byte ,
size_t  p 

Definition at line 50 of file

Member Data Documentation


constexpr bool openmsx::P1BackgroundPolicy::DRAW_BACKDROP = true

Definition at line 56 of file

The documentation for this struct was generated from the following file: