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

Represents V9938 Graphic 7 mode (SCREEN8). 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 = 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 V9938 Graphic 7 mode (SCREEN8).

Definition at line 313 of file

Member Function Documentation

◆ addressOf()

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

Definition at line 331 of file

References likely, and openmsx::x.

Referenced by openmsx::IncrByteAddr7::IncrByteAddr7().

◆ duplicate()

byte openmsx::Graphic7Mode::duplicate ( byte  color)

Definition at line 353 of file

◆ point()

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

◆ pset()

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

Definition at line 346 of file

Member Data Documentation


constexpr byte openmsx::Graphic7Mode::COLOR_MASK = 0xFF

Definition at line 319 of file


constexpr byte openmsx::Graphic7Mode::PIXELS_PER_BYTE = 1

Definition at line 320 of file


constexpr byte openmsx::Graphic7Mode::PIXELS_PER_BYTE_SHIFT = 0

Definition at line 321 of file


constexpr unsigned openmsx::Graphic7Mode::PIXELS_PER_LINE = 256

Definition at line 322 of file

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