openMSX
Static Public Member Functions | Static Public Attributes | List of all members
openmsx::P1Policy Struct Reference
Inheritance diagram for openmsx::P1Policy:
Inheritance graph
[legend]

Static Public Member Functions

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 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 27 of file V9990PxConverter.cc.

Member Function Documentation

◆ readNameTable()

static byte openmsx::P1Policy::readNameTable ( V9990VRAM vram,
unsigned  addr 
)
inlinestatic

Definition at line 28 of file V9990PxConverter.cc.

References openmsx::V9990VRAM::readVRAMP1().

◆ readPatternTable()

static byte openmsx::P1Policy::readPatternTable ( V9990VRAM vram,
unsigned  addr 
)
inlinestatic

Definition at line 31 of file V9990PxConverter.cc.

References openmsx::V9990VRAM::readVRAMP1().

◆ readSpriteAttr()

static byte openmsx::P1Policy::readSpriteAttr ( V9990VRAM vram,
unsigned  addr 
)
inlinestatic

Definition at line 34 of file V9990PxConverter.cc.

References openmsx::V9990VRAM::readVRAMP1().

◆ spritePatOfst()

static unsigned openmsx::P1Policy::spritePatOfst ( byte  spriteNo,
byte  spriteY 
)
inlinestatic

Definition at line 37 of file V9990PxConverter.cc.

Member Data Documentation

◆ IMAGE_WIDTH

constexpr unsigned openmsx::P1Policy::IMAGE_WIDTH = 2 * SCREEN_WIDTH
staticconstexpr

Definition at line 42 of file V9990PxConverter.cc.

◆ NAME_CHARS

constexpr unsigned openmsx::P1Policy::NAME_CHARS = IMAGE_WIDTH / 8
staticconstexpr

Definition at line 43 of file V9990PxConverter.cc.

◆ PATTERN_CHARS

constexpr unsigned openmsx::P1Policy::PATTERN_CHARS = SCREEN_WIDTH / 8
staticconstexpr

Definition at line 44 of file V9990PxConverter.cc.

◆ SCREEN_WIDTH

constexpr unsigned openmsx::P1Policy::SCREEN_WIDTH = 256
staticconstexpr

Definition at line 41 of file V9990PxConverter.cc.


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