openMSX
Static Public Member Functions | Static Public Attributes | List of all members
openmsx::Graphic5Mode Struct Reference

Represents V9938 Graphic 5 mode (SCREEN6). More...

Static Public Member Functions

static unsigned addressOf (unsigned x, unsigned y, bool extVRAM)
 
static byte point (const VDPVRAM &vram, unsigned x, unsigned y, bool extVRAM)
 
template<typename LogOp >
static void pset (EmuTime::param time, VDPVRAM &vram, unsigned x, unsigned addr, byte src, byte color, LogOp op)
 
static byte duplicate (byte color)
 

Static Public Attributes

static constexpr byte COLOR_MASK = 0x03
 
static constexpr byte PIXELS_PER_BYTE = 4
 
static constexpr byte PIXELS_PER_BYTE_SHIFT = 2
 
static constexpr unsigned PIXELS_PER_LINE = 512
 

Detailed Description

Represents V9938 Graphic 5 mode (SCREEN6).

Definition at line 218 of file VDPCmdEngine.cc.

Member Function Documentation

◆ addressOf()

unsigned openmsx::Graphic5Mode::addressOf ( unsigned  x,
unsigned  y,
bool  extVRAM 
)
inlinestatic

Definition at line 236 of file VDPCmdEngine.cc.

Referenced by point().

◆ duplicate()

byte openmsx::Graphic5Mode::duplicate ( byte  color)
inlinestatic

Definition at line 262 of file VDPCmdEngine.cc.

◆ point()

byte openmsx::Graphic5Mode::point ( const VDPVRAM vram,
unsigned  x,
unsigned  y,
bool  extVRAM 
)
inlinestatic

◆ pset()

template<typename LogOp >
void openmsx::Graphic5Mode::pset ( EmuTime::param  time,
VDPVRAM vram,
unsigned  x,
unsigned  addr,
byte  src,
byte  color,
LogOp  op 
)
inlinestatic

Definition at line 254 of file VDPCmdEngine.cc.

Member Data Documentation

◆ COLOR_MASK

constexpr byte openmsx::Graphic5Mode::COLOR_MASK = 0x03
staticconstexpr

Definition at line 224 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE

constexpr byte openmsx::Graphic5Mode::PIXELS_PER_BYTE = 4
staticconstexpr

Definition at line 225 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE_SHIFT

constexpr byte openmsx::Graphic5Mode::PIXELS_PER_BYTE_SHIFT = 2
staticconstexpr

Definition at line 226 of file VDPCmdEngine.cc.

◆ PIXELS_PER_LINE

constexpr unsigned openmsx::Graphic5Mode::PIXELS_PER_LINE = 512
staticconstexpr

Definition at line 227 of file VDPCmdEngine.cc.


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