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

Represents V9958 non-bitmap command mode. 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 = 0xFF
 
static constexpr byte PIXELS_PER_BYTE = 1
 
static constexpr byte PIXELS_PER_BYTE_SHIFT = 0
 
static constexpr unsigned PIXELS_PER_LINE = 256
 

Detailed Description

Represents V9958 non-bitmap command mode.

This uses the Graphic7Mode coordinate system, but in non-planar mode.

Definition at line 374 of file VDPCmdEngine.cc.

Member Function Documentation

◆ addressOf()

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

Definition at line 392 of file VDPCmdEngine.cc.

Referenced by point().

◆ duplicate()

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

Definition at line 416 of file VDPCmdEngine.cc.

◆ point()

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

◆ pset()

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

Definition at line 409 of file VDPCmdEngine.cc.

Member Data Documentation

◆ COLOR_MASK

constexpr byte openmsx::NonBitmapMode::COLOR_MASK = 0xFF
staticconstexpr

Definition at line 380 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE

constexpr byte openmsx::NonBitmapMode::PIXELS_PER_BYTE = 1
staticconstexpr

Definition at line 381 of file VDPCmdEngine.cc.

◆ PIXELS_PER_BYTE_SHIFT

constexpr byte openmsx::NonBitmapMode::PIXELS_PER_BYTE_SHIFT = 0
staticconstexpr

Definition at line 382 of file VDPCmdEngine.cc.

◆ PIXELS_PER_LINE

constexpr unsigned openmsx::NonBitmapMode::PIXELS_PER_LINE = 256
staticconstexpr

Definition at line 383 of file VDPCmdEngine.cc.


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