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

Represents V9938 Graphic 4 mode (SCREEN5). More...

Public Types

typedef IncrByteAddr4 IncrByteAddr
 
typedef IncrPixelAddr4 IncrPixelAddr
 
typedef IncrMask4 IncrMask
 
typedef IncrShift4 IncrShift
 

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 = 256
 

Detailed Description

Represents V9938 Graphic 4 mode (SCREEN5).

Definition at line 167 of file VDPCmdEngine.cc.

Member Typedef Documentation

Definition at line 169 of file VDPCmdEngine.cc.

Definition at line 171 of file VDPCmdEngine.cc.

Definition at line 170 of file VDPCmdEngine.cc.

Definition at line 172 of file VDPCmdEngine.cc.

Member Function Documentation

unsigned openmsx::Graphic4Mode::addressOf ( unsigned  x,
unsigned  y,
bool  extVRAM 
)
inlinestatic
byte openmsx::Graphic4Mode::duplicate ( byte  color)
inlinestatic

Definition at line 209 of file VDPCmdEngine.cc.

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

Definition at line 201 of file VDPCmdEngine.cc.

Member Data Documentation

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

Definition at line 173 of file VDPCmdEngine.cc.

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

Definition at line 174 of file VDPCmdEngine.cc.

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

Definition at line 175 of file VDPCmdEngine.cc.

const unsigned openmsx::Graphic4Mode::PIXELS_PER_LINE = 256
static

Definition at line 176 of file VDPCmdEngine.cc.


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