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

Represents V9938 Graphic 6 mode (SCREEN7). More...

Static Public Member Functions

static unsigned addressOf (unsigned x, unsigned y, bool extVRAM)
 
static byte point (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 const byte COLOR_MASK = 0x0F
 
static const byte PIXELS_PER_BYTE = 2
 
static const byte PIXELS_PER_BYTE_SHIFT = 1
 
static const unsigned PIXELS_PER_LINE = 512
 

Detailed Description

Represents V9938 Graphic 6 mode (SCREEN7).

Definition at line 266 of file VDPCmdEngine.cc.

Member Function Documentation

◆ addressOf()

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

Definition at line 284 of file VDPCmdEngine.cc.

References likely.

Referenced by openmsx::IncrPixelAddr6::IncrPixelAddr6().

◆ duplicate()

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

Definition at line 308 of file VDPCmdEngine.cc.

◆ point()

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

◆ pset()

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

Definition at line 300 of file VDPCmdEngine.cc.

Member Data Documentation

◆ COLOR_MASK

const byte openmsx::Graphic6Mode::COLOR_MASK = 0x0F
static

Definition at line 272 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE

const byte openmsx::Graphic6Mode::PIXELS_PER_BYTE = 2
static

Definition at line 273 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE_SHIFT

const byte openmsx::Graphic6Mode::PIXELS_PER_BYTE_SHIFT = 1
static

Definition at line 274 of file VDPCmdEngine.cc.

◆ PIXELS_PER_LINE

const unsigned openmsx::Graphic6Mode::PIXELS_PER_LINE = 512
static

Definition at line 275 of file VDPCmdEngine.cc.


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