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 constexpr byte COLOR_MASK = 0x0F
static constexpr byte PIXELS_PER_BYTE = 2
static constexpr byte PIXELS_PER_BYTE_SHIFT = 1
static constexpr unsigned PIXELS_PER_LINE = 512

Detailed Description

Represents V9938 Graphic 6 mode (SCREEN7).

Definition at line 267 of file

Member Function Documentation

◆ addressOf()

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

Definition at line 285 of file

References openmsx::x.

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

◆ duplicate()

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

Definition at line 311 of file

◆ point()

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

◆ pset()

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

Definition at line 303 of file

References openmsx::x.

Member Data Documentation


constexpr byte openmsx::Graphic6Mode::COLOR_MASK = 0x0F

Definition at line 273 of file


constexpr byte openmsx::Graphic6Mode::PIXELS_PER_BYTE = 2

Definition at line 274 of file


constexpr byte openmsx::Graphic6Mode::PIXELS_PER_BYTE_SHIFT = 1

Definition at line 275 of file


constexpr unsigned openmsx::Graphic6Mode::PIXELS_PER_LINE = 512

Definition at line 276 of file

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