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

Represents V9938 Graphic 5 mode (SCREEN6). More...

Public Types

typedef IncrByteAddr5 IncrByteAddr
 
typedef IncrPixelAddr5 IncrPixelAddr
 
typedef IncrMask5 IncrMask
 
typedef IncrShift5 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 = 0x03
 
static const byte PIXELS_PER_BYTE = 4
 
static const byte PIXELS_PER_BYTE_SHIFT = 2
 
static const unsigned PIXELS_PER_LINE = 512
 

Detailed Description

Represents V9938 Graphic 5 mode (SCREEN6).

Definition at line 217 of file VDPCmdEngine.cc.

Member Typedef Documentation

Definition at line 219 of file VDPCmdEngine.cc.

Definition at line 221 of file VDPCmdEngine.cc.

Definition at line 220 of file VDPCmdEngine.cc.

Definition at line 222 of file VDPCmdEngine.cc.

Member Function Documentation

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

Definition at line 259 of file VDPCmdEngine.cc.

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

Definition at line 251 of file VDPCmdEngine.cc.

Member Data Documentation

const byte openmsx::Graphic5Mode::COLOR_MASK = 0x03
static

Definition at line 223 of file VDPCmdEngine.cc.

const byte openmsx::Graphic5Mode::PIXELS_PER_BYTE = 4
static

Definition at line 224 of file VDPCmdEngine.cc.

const byte openmsx::Graphic5Mode::PIXELS_PER_BYTE_SHIFT = 2
static

Definition at line 225 of file VDPCmdEngine.cc.

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

Definition at line 226 of file VDPCmdEngine.cc.


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