openMSX
Classes | Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
openmsx::R800TYPE Class Reference

#include <R800.hh>

Inheritance diagram for openmsx::R800TYPE:
Inheritance graph
[legend]
Collaboration diagram for openmsx::R800TYPE:
Collaboration graph
[legend]

Classes

struct  Normalize
 

Public Member Functions

void updateVisiblePage (byte page, byte primarySlot, byte secondarySlot)
 
void setDRAMmode (bool dram)
 
- Public Member Functions inherited from openmsx::CPUClock
unsigned getFreq () const
 

Protected Member Functions

 R800TYPE (EmuTime::param time, Scheduler &scheduler_)
 
ALWAYS_INLINE void R800ForcePageBreak ()
 
template<bool PRE_PB, bool POST_PB>
ALWAYS_INLINE void PRE_MEM (unsigned address)
 
template<bool POST_PB>
ALWAYS_INLINE void POST_MEM (unsigned address)
 
template<bool PRE_PB, bool POST_PB>
ALWAYS_INLINE void PRE_WORD (unsigned address)
 
template<bool POST_PB>
ALWAYS_INLINE void POST_WORD (unsigned address)
 
ALWAYS_INLINE void R800Refresh (CPURegs &R)
 
NEVER_INLINE void R800RefreshSlow (EmuTime::param time, CPURegs &R)
 
void setTime (EmuTime::param time)
 
ALWAYS_INLINE void setMemPtr (unsigned) const
 
ALWAYS_INLINE unsigned getMemPtr () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Protected Member Functions inherited from openmsx::CPUClock
 CPUClock (EmuTime::param time, Scheduler &scheduler)
 
void add (unsigned ticks)
 
void sync () const
 
EmuTime::param getTime () const
 
EmuTime getTimeFast () const
 
EmuTime getTimeFast (int cc) const
 
void setTime (EmuTime::param time)
 
void setFreq (unsigned freq)
 
void advanceTime (EmuTime::param time)
 
EmuTime calcTime (EmuTime::param time, unsigned ticks) const
 
unsigned advanceHalt (unsigned hltStates, EmuTime::param time)
 Implementation of the HALT instruction timing.
 
void waitForEvenCycle (int cc)
 R800 runs at 7MHz, but I/O is done over a slower 3.5MHz bus.
 
void setLimit (EmuTime::param time)
 
void enableLimit ()
 
void disableLimit ()
 
bool limitReached () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Static Protected Attributes

static constexpr int CLOCK_FREQ = 7159090
 
static constexpr unsigned HALT_STATES = 1
 
static constexpr bool IS_R800 = true
 
static constexpr int I = 6
 
static constexpr int O = 1
 
static constexpr int P = 1
 
static constexpr int CC_LD_A_SS = 1+P+1
 
static constexpr int CC_LD_A_SS_1 = 1+P
 
static constexpr int CC_LD_A_NN = 3+P+1
 
static constexpr int CC_LD_A_NN_1 = 1
 
static constexpr int CC_LD_A_NN_2 = 3+P
 
static constexpr int CC_LD_A_I = 2
 
static constexpr int CC_LD_R_R = 1
 
static constexpr int CC_LD_R_N = 2
 
static constexpr int CC_LD_R_N_1 = 1
 
static constexpr int CC_LD_R_HL = 1+P+1
 
static constexpr int CC_LD_R_HL_1 = 1+P
 
static constexpr int CC_LD_R_XIX = 3+P+1
 
static constexpr int CC_LD_R_XIX_1 = 1
 
static constexpr int CC_LD_R_XIX_2 = 3+P
 
static constexpr int CC_LD_HL_R = 1+P+1
 
static constexpr int CC_LD_HL_R_1 = 1+P
 
static constexpr int CC_LD_HL_N = 2+P+1
 
static constexpr int CC_LD_HL_N_1 = 1
 
static constexpr int CC_LD_HL_N_2 = 2+P
 
static constexpr int CC_LD_SS_A = 1+P+1
 
static constexpr int CC_LD_SS_A_1 = 1+P
 
static constexpr int CC_LD_NN_A = 3+P+1
 
static constexpr int CC_LD_NN_A_1 = 1
 
static constexpr int CC_LD_NN_A_2 = 3+P
 
static constexpr int CC_LD_XIX_R = 3+P+1
 
static constexpr int CC_LD_XIX_R_1 = 1
 
static constexpr int CC_LD_XIX_R_2 = 3+P
 
static constexpr int CC_LD_XIX_N = 3+P+1
 
static constexpr int CC_LD_XIX_N_1 = 1
 
static constexpr int CC_LD_XIX_N_2 = 3+P
 
static constexpr int CC_LD_HL_XX = 3+P+2
 
static constexpr int CC_LD_HL_XX_1 = 1
 
static constexpr int CC_LD_HL_XX_2 = 3+P
 
static constexpr int CC_LD_SP_HL = 1
 
static constexpr int CC_LD_SS_NN = 3
 
static constexpr int CC_LD_SS_NN_1 = 1
 
static constexpr int CC_LD_XX_HL = 3+P+2
 
static constexpr int CC_LD_XX_HL_1 = 1
 
static constexpr int CC_LD_XX_HL_2 = 3+P
 
static constexpr int CC_CP_R = 1
 
static constexpr int CC_CP_N = 2
 
static constexpr int CC_CP_N_1 = 1
 
static constexpr int CC_CP_XHL = 1+P+1
 
static constexpr int CC_CP_XHL_1 = 1+P
 
static constexpr int CC_CP_XIX = 3+P+1
 
static constexpr int CC_CP_XIX_1 = 1
 
static constexpr int CC_CP_XIX_2 = 3+P
 
static constexpr int CC_INC_R = 1
 
static constexpr int CC_INC_XHL = 1+P+2+P+1
 
static constexpr int CC_INC_XHL_1 = 1
 
static constexpr int CC_INC_XHL_2 = 1+P+2+P
 
static constexpr int CC_INC_XIX = 3+P+2+P+1
 
static constexpr int CC_INC_XIX_1 = 1
 
static constexpr int EE_INC_XIX = 2
 
static constexpr int CC_INC_SS = 1
 
static constexpr int CC_ADD_HL_SS = 1
 
static constexpr int CC_ADC_HL_SS = 2
 
static constexpr int CC_LDI = 2+P+1+P+1
 
static constexpr int CC_LDI_1 = 2+P
 
static constexpr int CC_LDI_2 = 2+P+1+P
 
static constexpr int CC_LDIR = 2+P+1+P+1
 
static constexpr int CC_CPI = 2+P+2
 
static constexpr int CC_CPI_1 = 2+P
 
static constexpr int CC_CPIR = 2+P+3
 
static constexpr int CC_PUSH = 2+P+2
 
static constexpr int CC_PUSH_1 = 2+P
 
static constexpr int CC_POP = 1+P+2
 
static constexpr int CC_POP_1 = 1+P
 
static constexpr int CC_CALL = 3+P+2
 
static constexpr int CC_CALL_1 = 1
 
static constexpr int EE_CALL = 1
 
static constexpr int CC_CALL_A = 3+P+2
 
static constexpr int CC_CALL_B = 3
 
static constexpr int CC_RST = 2+P+2
 
static constexpr int CC_RET_A = 1+P+2
 
static constexpr int CC_RET_B = 1
 
static constexpr int EE_RET_C = 0
 
static constexpr int CC_RETN = 2+P+2
 
static constexpr int EE_RETN = 1
 
static constexpr int CC_JP_A = 4
 
static constexpr int CC_JP_B = 3
 
static constexpr int CC_JP_1 = 1
 
static constexpr int CC_JP_HL = 2
 
static constexpr int CC_JR_A = 3
 
static constexpr int CC_JR_B = 2
 
static constexpr int CC_JR_1 = 1
 
static constexpr int CC_DJNZ = 3
 
static constexpr int EE_DJNZ = 0
 
static constexpr int CC_EX_SP_HL = 1+P+4
 
static constexpr int CC_EX_SP_HL_1 = 1+P
 
static constexpr int CC_EX_SP_HL_2 = 1+P+2
 
static constexpr int CC_BIT_R = 2
 
static constexpr int CC_BIT_XHL = 2+P+1
 
static constexpr int CC_BIT_XHL_1 = 2+P
 
static constexpr int CC_BIT_XIX = 3+P+1
 
static constexpr int CC_BIT_XIX_1 = 3+P
 
static constexpr int CC_SET_R = 2
 
static constexpr int CC_SET_XHL = 2+P+2+P+1
 
static constexpr int CC_SET_XHL_1 = 2+P
 
static constexpr int CC_SET_XHL_2 = 2+P+2+P
 
static constexpr int CC_SET_XIX = 3+P+2+P+1
 
static constexpr int EE_SET_XIX = 1
 
static constexpr int CC_RLA = 1
 
static constexpr int CC_RLD = 2+P+2+P+1
 
static constexpr int CC_RLD_1 = 2+P
 
static constexpr int CC_RLD_2 = 2+P+2+P
 
static constexpr int CC_IN_A_N = 2+O+I
 
static constexpr int CC_IN_A_N_1 = 1
 
static constexpr int CC_IN_A_N_2 = 2+O
 
static constexpr int CC_IN_R_C = 2+O+I
 
static constexpr int CC_IN_R_C_1 = 2+O
 
static constexpr int CC_INI = 2+O+I+P+1
 
static constexpr int CC_INI_1 = 2+O
 
static constexpr int CC_INI_2 = 2+O+I+P
 
static constexpr int CC_INIR = 2+O+I+P+1
 
static constexpr int CC_OUT_N_A = 2+O+I
 
static constexpr int CC_OUT_N_A_1 = 1
 
static constexpr int CC_OUT_N_A_2 = 2+O
 
static constexpr int CC_OUT_C_R = 2+O+I
 
static constexpr int CC_OUT_C_R_1 = 2+O
 
static constexpr int CC_OUTI = 2+P+1+O+I
 
static constexpr int CC_OUTI_1 = 2+P
 
static constexpr int CC_OUTI_2 = 2+P+1+O
 
static constexpr int CC_OTIR = 2+P+1+O+I
 
static constexpr int CC_EX = 1
 
static constexpr int CC_NOP = 1
 
static constexpr int CC_CCF = 1
 
static constexpr int CC_SCF = 1
 
static constexpr int CC_DAA = 1
 
static constexpr int CC_NEG = 2
 
static constexpr int CC_CPL = 1
 
static constexpr int CC_DI = 2
 
static constexpr int CC_EI = 1
 
static constexpr int CC_HALT = 1
 
static constexpr int CC_IM = 3
 
static constexpr int CC_MULUB = 14
 
static constexpr int CC_MULUW = 36
 
static constexpr int CC_NMI = 1+P+2
 
static constexpr int EE_NMI_1 = -1
 
static constexpr int CC_IRQ0 = 1+P+2
 
static constexpr int EE_IRQ0_1 = -1
 
static constexpr int CC_IRQ1 = 1+P+2
 
static constexpr int EE_IRQ1_1 = -1
 
static constexpr int CC_IRQ2 = 1+P+2+P+2
 
static constexpr int EE_IRQ2_1 = -1
 
static constexpr int CC_IRQ2_2 = 1+P+2+P
 
static constexpr int CC_MAIN = 0
 
static constexpr int CC_DD = 1
 
static constexpr int CC_PREFIX = 1
 
static constexpr int CC_DD_CB = 1
 
static constexpr int EE_ED = 1
 
static constexpr int CC_RDMEM = 1
 
static constexpr int CC_WRMEM = 2
 

Detailed Description

Definition at line 17 of file R800.hh.

Constructor & Destructor Documentation

◆ R800TYPE()

openmsx::R800TYPE::R800TYPE ( EmuTime::param  time,
Scheduler scheduler_ 
)
inlineprotected

Definition at line 42 of file R800.hh.

References R800ForcePageBreak(), and xrange().

Member Function Documentation

◆ getMemPtr()

ALWAYS_INLINE unsigned openmsx::R800TYPE::getMemPtr ( ) const
inlineprotected

Definition at line 166 of file R800.hh.

◆ POST_MEM()

template<bool POST_PB>
ALWAYS_INLINE void openmsx::R800TYPE::POST_MEM ( unsigned  address)
inlineprotected

Definition at line 95 of file R800.hh.

References openmsx::CPUClock::add(), and R800ForcePageBreak().

◆ POST_WORD()

template<bool POST_PB>
ALWAYS_INLINE void openmsx::R800TYPE::POST_WORD ( unsigned  address)
inlineprotected

Definition at line 124 of file R800.hh.

References openmsx::CPUClock::add(), and R800ForcePageBreak().

◆ PRE_MEM()

template<bool PRE_PB, bool POST_PB>
ALWAYS_INLINE void openmsx::R800TYPE::PRE_MEM ( unsigned  address)
inlineprotected

Definition at line 78 of file R800.hh.

References openmsx::CPUClock::add().

◆ PRE_WORD()

template<bool PRE_PB, bool POST_PB>
ALWAYS_INLINE void openmsx::R800TYPE::PRE_WORD ( unsigned  address)
inlineprotected

Definition at line 103 of file R800.hh.

References openmsx::CPUClock::add().

◆ R800ForcePageBreak()

ALWAYS_INLINE void openmsx::R800TYPE::R800ForcePageBreak ( )
inlineprotected

Definition at line 72 of file R800.hh.

Referenced by POST_MEM(), POST_WORD(), R800RefreshSlow(), and R800TYPE().

◆ R800Refresh()

ALWAYS_INLINE void openmsx::R800TYPE::R800Refresh ( CPURegs R)
inlineprotected

◆ R800RefreshSlow()

NEVER_INLINE void openmsx::R800TYPE::R800RefreshSlow ( EmuTime::param  time,
CPURegs R 
)
inlineprotected

◆ serialize()

template<typename Archive >
void openmsx::R800TYPE::serialize ( Archive &  ar,
unsigned  version 
)
inlineprotected

Definition at line 272 of file R800.hh.

References openmsx::CPUClock::serialize().

◆ setDRAMmode()

void openmsx::R800TYPE::setDRAMmode ( bool  dram)
inline

Definition at line 25 of file R800.hh.

◆ setMemPtr()

ALWAYS_INLINE void openmsx::R800TYPE::setMemPtr ( unsigned  ) const
inlineprotected

Definition at line 165 of file R800.hh.

◆ setTime()

void openmsx::R800TYPE::setTime ( EmuTime::param  time)
inlineprotected

◆ updateVisiblePage()

void openmsx::R800TYPE::updateVisiblePage ( byte  page,
byte  primarySlot,
byte  secondarySlot 
)
inline

Definition at line 20 of file R800.hh.

Member Data Documentation

◆ CC_ADC_HL_SS

constexpr int openmsx::R800TYPE::CC_ADC_HL_SS = 2
staticprotected

Definition at line 203 of file R800.hh.

◆ CC_ADD_HL_SS

constexpr int openmsx::R800TYPE::CC_ADD_HL_SS = 1
staticprotected

Definition at line 202 of file R800.hh.

◆ CC_BIT_R

constexpr int openmsx::R800TYPE::CC_BIT_R = 2
staticprotected

Definition at line 224 of file R800.hh.

◆ CC_BIT_XHL

constexpr int openmsx::R800TYPE::CC_BIT_XHL = 2+P+1
staticprotected

Definition at line 225 of file R800.hh.

◆ CC_BIT_XHL_1

constexpr int openmsx::R800TYPE::CC_BIT_XHL_1 = 2+P
staticprotected

Definition at line 225 of file R800.hh.

◆ CC_BIT_XIX

constexpr int openmsx::R800TYPE::CC_BIT_XIX = 3+P+1
staticprotected

Definition at line 226 of file R800.hh.

◆ CC_BIT_XIX_1

constexpr int openmsx::R800TYPE::CC_BIT_XIX_1 = 3+P
staticprotected

Definition at line 226 of file R800.hh.

◆ CC_CALL

constexpr int openmsx::R800TYPE::CC_CALL = 3+P+2
staticprotected

Definition at line 212 of file R800.hh.

◆ CC_CALL_1

constexpr int openmsx::R800TYPE::CC_CALL_1 = 1
staticprotected

Definition at line 212 of file R800.hh.

◆ CC_CALL_A

constexpr int openmsx::R800TYPE::CC_CALL_A = 3+P+2
staticprotected

Definition at line 213 of file R800.hh.

◆ CC_CALL_B

constexpr int openmsx::R800TYPE::CC_CALL_B = 3
staticprotected

Definition at line 213 of file R800.hh.

◆ CC_CCF

constexpr int openmsx::R800TYPE::CC_CCF = 1
staticprotected

Definition at line 245 of file R800.hh.

◆ CC_CP_N

constexpr int openmsx::R800TYPE::CC_CP_N = 2
staticprotected

Definition at line 195 of file R800.hh.

◆ CC_CP_N_1

constexpr int openmsx::R800TYPE::CC_CP_N_1 = 1
staticprotected

Definition at line 195 of file R800.hh.

◆ CC_CP_R

constexpr int openmsx::R800TYPE::CC_CP_R = 1
staticprotected

Definition at line 194 of file R800.hh.

◆ CC_CP_XHL

constexpr int openmsx::R800TYPE::CC_CP_XHL = 1+P+1
staticprotected

Definition at line 196 of file R800.hh.

◆ CC_CP_XHL_1

constexpr int openmsx::R800TYPE::CC_CP_XHL_1 = 1+P
staticprotected

Definition at line 196 of file R800.hh.

◆ CC_CP_XIX

constexpr int openmsx::R800TYPE::CC_CP_XIX = 3+P+1
staticprotected

Definition at line 197 of file R800.hh.

◆ CC_CP_XIX_1

constexpr int openmsx::R800TYPE::CC_CP_XIX_1 = 1
staticprotected

Definition at line 197 of file R800.hh.

◆ CC_CP_XIX_2

constexpr int openmsx::R800TYPE::CC_CP_XIX_2 = 3+P
staticprotected

Definition at line 197 of file R800.hh.

◆ CC_CPI

constexpr int openmsx::R800TYPE::CC_CPI = 2+P+2
staticprotected

Definition at line 207 of file R800.hh.

◆ CC_CPI_1

constexpr int openmsx::R800TYPE::CC_CPI_1 = 2+P
staticprotected

Definition at line 207 of file R800.hh.

◆ CC_CPIR

constexpr int openmsx::R800TYPE::CC_CPIR = 2+P+3
staticprotected

Definition at line 208 of file R800.hh.

◆ CC_CPL

constexpr int openmsx::R800TYPE::CC_CPL = 1
staticprotected

Definition at line 249 of file R800.hh.

◆ CC_DAA

constexpr int openmsx::R800TYPE::CC_DAA = 1
staticprotected

Definition at line 247 of file R800.hh.

◆ CC_DD

constexpr int openmsx::R800TYPE::CC_DD = 1
staticprotected

Definition at line 264 of file R800.hh.

◆ CC_DD_CB

constexpr int openmsx::R800TYPE::CC_DD_CB = 1
staticprotected

Definition at line 266 of file R800.hh.

◆ CC_DI

constexpr int openmsx::R800TYPE::CC_DI = 2
staticprotected

Definition at line 250 of file R800.hh.

◆ CC_DJNZ

constexpr int openmsx::R800TYPE::CC_DJNZ = 3
staticprotected

Definition at line 220 of file R800.hh.

◆ CC_EI

constexpr int openmsx::R800TYPE::CC_EI = 1
staticprotected

Definition at line 251 of file R800.hh.

◆ CC_EX

constexpr int openmsx::R800TYPE::CC_EX = 1
staticprotected

Definition at line 243 of file R800.hh.

◆ CC_EX_SP_HL

constexpr int openmsx::R800TYPE::CC_EX_SP_HL = 1+P+4
staticprotected

Definition at line 222 of file R800.hh.

◆ CC_EX_SP_HL_1

constexpr int openmsx::R800TYPE::CC_EX_SP_HL_1 = 1+P
staticprotected

Definition at line 222 of file R800.hh.

◆ CC_EX_SP_HL_2

constexpr int openmsx::R800TYPE::CC_EX_SP_HL_2 = 1+P+2
staticprotected

Definition at line 222 of file R800.hh.

◆ CC_HALT

constexpr int openmsx::R800TYPE::CC_HALT = 1
staticprotected

Definition at line 252 of file R800.hh.

◆ CC_IM

constexpr int openmsx::R800TYPE::CC_IM = 3
staticprotected

Definition at line 253 of file R800.hh.

◆ CC_IN_A_N

constexpr int openmsx::R800TYPE::CC_IN_A_N = 2+O+I
staticprotected

Definition at line 234 of file R800.hh.

◆ CC_IN_A_N_1

constexpr int openmsx::R800TYPE::CC_IN_A_N_1 = 1
staticprotected

Definition at line 234 of file R800.hh.

◆ CC_IN_A_N_2

constexpr int openmsx::R800TYPE::CC_IN_A_N_2 = 2+O
staticprotected

Definition at line 234 of file R800.hh.

◆ CC_IN_R_C

constexpr int openmsx::R800TYPE::CC_IN_R_C = 2+O+I
staticprotected

Definition at line 235 of file R800.hh.

◆ CC_IN_R_C_1

constexpr int openmsx::R800TYPE::CC_IN_R_C_1 = 2+O
staticprotected

Definition at line 235 of file R800.hh.

◆ CC_INC_R

constexpr int openmsx::R800TYPE::CC_INC_R = 1
staticprotected

Definition at line 198 of file R800.hh.

◆ CC_INC_SS

constexpr int openmsx::R800TYPE::CC_INC_SS = 1
staticprotected

Definition at line 201 of file R800.hh.

◆ CC_INC_XHL

constexpr int openmsx::R800TYPE::CC_INC_XHL = 1+P+2+P+1
staticprotected

Definition at line 199 of file R800.hh.

◆ CC_INC_XHL_1

constexpr int openmsx::R800TYPE::CC_INC_XHL_1 = 1
staticprotected

Definition at line 199 of file R800.hh.

◆ CC_INC_XHL_2

constexpr int openmsx::R800TYPE::CC_INC_XHL_2 = 1+P+2+P
staticprotected

Definition at line 199 of file R800.hh.

◆ CC_INC_XIX

constexpr int openmsx::R800TYPE::CC_INC_XIX = 3+P+2+P+1
staticprotected

Definition at line 200 of file R800.hh.

◆ CC_INC_XIX_1

constexpr int openmsx::R800TYPE::CC_INC_XIX_1 = 1
staticprotected

Definition at line 200 of file R800.hh.

◆ CC_INI

constexpr int openmsx::R800TYPE::CC_INI = 2+O+I+P+1
staticprotected

Definition at line 236 of file R800.hh.

◆ CC_INI_1

constexpr int openmsx::R800TYPE::CC_INI_1 = 2+O
staticprotected

Definition at line 236 of file R800.hh.

◆ CC_INI_2

constexpr int openmsx::R800TYPE::CC_INI_2 = 2+O+I+P
staticprotected

Definition at line 236 of file R800.hh.

◆ CC_INIR

constexpr int openmsx::R800TYPE::CC_INIR = 2+O+I+P+1
staticprotected

Definition at line 237 of file R800.hh.

◆ CC_IRQ0

constexpr int openmsx::R800TYPE::CC_IRQ0 = 1+P+2
staticprotected

Definition at line 259 of file R800.hh.

◆ CC_IRQ1

constexpr int openmsx::R800TYPE::CC_IRQ1 = 1+P+2
staticprotected

Definition at line 260 of file R800.hh.

◆ CC_IRQ2

constexpr int openmsx::R800TYPE::CC_IRQ2 = 1+P+2+P+2
staticprotected

Definition at line 261 of file R800.hh.

◆ CC_IRQ2_2

constexpr int openmsx::R800TYPE::CC_IRQ2_2 = 1+P+2+P
staticprotected

Definition at line 261 of file R800.hh.

◆ CC_JP_1

constexpr int openmsx::R800TYPE::CC_JP_1 = 1
staticprotected

Definition at line 217 of file R800.hh.

◆ CC_JP_A

constexpr int openmsx::R800TYPE::CC_JP_A = 4
staticprotected

Definition at line 217 of file R800.hh.

◆ CC_JP_B

constexpr int openmsx::R800TYPE::CC_JP_B = 3
staticprotected

Definition at line 217 of file R800.hh.

◆ CC_JP_HL

constexpr int openmsx::R800TYPE::CC_JP_HL = 2
staticprotected

Definition at line 218 of file R800.hh.

◆ CC_JR_1

constexpr int openmsx::R800TYPE::CC_JR_1 = 1
staticprotected

Definition at line 219 of file R800.hh.

◆ CC_JR_A

constexpr int openmsx::R800TYPE::CC_JR_A = 3
staticprotected

Definition at line 219 of file R800.hh.

◆ CC_JR_B

constexpr int openmsx::R800TYPE::CC_JR_B = 2
staticprotected

Definition at line 219 of file R800.hh.

◆ CC_LD_A_I

constexpr int openmsx::R800TYPE::CC_LD_A_I = 2
staticprotected

Definition at line 178 of file R800.hh.

◆ CC_LD_A_NN

constexpr int openmsx::R800TYPE::CC_LD_A_NN = 3+P+1
staticprotected

Definition at line 177 of file R800.hh.

◆ CC_LD_A_NN_1

constexpr int openmsx::R800TYPE::CC_LD_A_NN_1 = 1
staticprotected

Definition at line 177 of file R800.hh.

◆ CC_LD_A_NN_2

constexpr int openmsx::R800TYPE::CC_LD_A_NN_2 = 3+P
staticprotected

Definition at line 177 of file R800.hh.

◆ CC_LD_A_SS

constexpr int openmsx::R800TYPE::CC_LD_A_SS = 1+P+1
staticconstexprprotected

Definition at line 176 of file R800.hh.

◆ CC_LD_A_SS_1

constexpr int openmsx::R800TYPE::CC_LD_A_SS_1 = 1+P
staticprotected

Definition at line 176 of file R800.hh.

◆ CC_LD_HL_N

constexpr int openmsx::R800TYPE::CC_LD_HL_N = 2+P+1
staticprotected

Definition at line 184 of file R800.hh.

◆ CC_LD_HL_N_1

constexpr int openmsx::R800TYPE::CC_LD_HL_N_1 = 1
staticprotected

Definition at line 184 of file R800.hh.

◆ CC_LD_HL_N_2

constexpr int openmsx::R800TYPE::CC_LD_HL_N_2 = 2+P
staticprotected

Definition at line 184 of file R800.hh.

◆ CC_LD_HL_R

constexpr int openmsx::R800TYPE::CC_LD_HL_R = 1+P+1
staticprotected

Definition at line 183 of file R800.hh.

◆ CC_LD_HL_R_1

constexpr int openmsx::R800TYPE::CC_LD_HL_R_1 = 1+P
staticprotected

Definition at line 183 of file R800.hh.

◆ CC_LD_HL_XX

constexpr int openmsx::R800TYPE::CC_LD_HL_XX = 3+P+2
staticprotected

Definition at line 189 of file R800.hh.

◆ CC_LD_HL_XX_1

constexpr int openmsx::R800TYPE::CC_LD_HL_XX_1 = 1
staticprotected

Definition at line 189 of file R800.hh.

◆ CC_LD_HL_XX_2

constexpr int openmsx::R800TYPE::CC_LD_HL_XX_2 = 3+P
staticprotected

Definition at line 189 of file R800.hh.

◆ CC_LD_NN_A

constexpr int openmsx::R800TYPE::CC_LD_NN_A = 3+P+1
staticprotected

Definition at line 186 of file R800.hh.

◆ CC_LD_NN_A_1

constexpr int openmsx::R800TYPE::CC_LD_NN_A_1 = 1
staticprotected

Definition at line 186 of file R800.hh.

◆ CC_LD_NN_A_2

constexpr int openmsx::R800TYPE::CC_LD_NN_A_2 = 3+P
staticprotected

Definition at line 186 of file R800.hh.

◆ CC_LD_R_HL

constexpr int openmsx::R800TYPE::CC_LD_R_HL = 1+P+1
staticprotected

Definition at line 181 of file R800.hh.

◆ CC_LD_R_HL_1

constexpr int openmsx::R800TYPE::CC_LD_R_HL_1 = 1+P
staticprotected

Definition at line 181 of file R800.hh.

◆ CC_LD_R_N

constexpr int openmsx::R800TYPE::CC_LD_R_N = 2
staticprotected

Definition at line 180 of file R800.hh.

◆ CC_LD_R_N_1

constexpr int openmsx::R800TYPE::CC_LD_R_N_1 = 1
staticprotected

Definition at line 180 of file R800.hh.

◆ CC_LD_R_R

constexpr int openmsx::R800TYPE::CC_LD_R_R = 1
staticprotected

Definition at line 179 of file R800.hh.

◆ CC_LD_R_XIX

constexpr int openmsx::R800TYPE::CC_LD_R_XIX = 3+P+1
staticprotected

Definition at line 182 of file R800.hh.

◆ CC_LD_R_XIX_1

constexpr int openmsx::R800TYPE::CC_LD_R_XIX_1 = 1
staticprotected

Definition at line 182 of file R800.hh.

◆ CC_LD_R_XIX_2

constexpr int openmsx::R800TYPE::CC_LD_R_XIX_2 = 3+P
staticprotected

Definition at line 182 of file R800.hh.

◆ CC_LD_SP_HL

constexpr int openmsx::R800TYPE::CC_LD_SP_HL = 1
staticprotected

Definition at line 190 of file R800.hh.

◆ CC_LD_SS_A

constexpr int openmsx::R800TYPE::CC_LD_SS_A = 1+P+1
staticprotected

Definition at line 185 of file R800.hh.

◆ CC_LD_SS_A_1

constexpr int openmsx::R800TYPE::CC_LD_SS_A_1 = 1+P
staticprotected

Definition at line 185 of file R800.hh.

◆ CC_LD_SS_NN

constexpr int openmsx::R800TYPE::CC_LD_SS_NN = 3
staticprotected

Definition at line 191 of file R800.hh.

◆ CC_LD_SS_NN_1

constexpr int openmsx::R800TYPE::CC_LD_SS_NN_1 = 1
staticprotected

Definition at line 191 of file R800.hh.

◆ CC_LD_XIX_N

constexpr int openmsx::R800TYPE::CC_LD_XIX_N = 3+P+1
staticprotected

Definition at line 188 of file R800.hh.

◆ CC_LD_XIX_N_1

constexpr int openmsx::R800TYPE::CC_LD_XIX_N_1 = 1
staticprotected

Definition at line 188 of file R800.hh.

◆ CC_LD_XIX_N_2

constexpr int openmsx::R800TYPE::CC_LD_XIX_N_2 = 3+P
staticprotected

Definition at line 188 of file R800.hh.

◆ CC_LD_XIX_R

constexpr int openmsx::R800TYPE::CC_LD_XIX_R = 3+P+1
staticprotected

Definition at line 187 of file R800.hh.

◆ CC_LD_XIX_R_1

constexpr int openmsx::R800TYPE::CC_LD_XIX_R_1 = 1
staticprotected

Definition at line 187 of file R800.hh.

◆ CC_LD_XIX_R_2

constexpr int openmsx::R800TYPE::CC_LD_XIX_R_2 = 3+P
staticprotected

Definition at line 187 of file R800.hh.

◆ CC_LD_XX_HL

constexpr int openmsx::R800TYPE::CC_LD_XX_HL = 3+P+2
staticprotected

Definition at line 192 of file R800.hh.

◆ CC_LD_XX_HL_1

constexpr int openmsx::R800TYPE::CC_LD_XX_HL_1 = 1
staticprotected

Definition at line 192 of file R800.hh.

◆ CC_LD_XX_HL_2

constexpr int openmsx::R800TYPE::CC_LD_XX_HL_2 = 3+P
staticprotected

Definition at line 192 of file R800.hh.

◆ CC_LDI

constexpr int openmsx::R800TYPE::CC_LDI = 2+P+1+P+1
staticprotected

Definition at line 205 of file R800.hh.

◆ CC_LDI_1

constexpr int openmsx::R800TYPE::CC_LDI_1 = 2+P
staticprotected

Definition at line 205 of file R800.hh.

◆ CC_LDI_2

constexpr int openmsx::R800TYPE::CC_LDI_2 = 2+P+1+P
staticprotected

Definition at line 205 of file R800.hh.

◆ CC_LDIR

constexpr int openmsx::R800TYPE::CC_LDIR = 2+P+1+P+1
staticprotected

Definition at line 206 of file R800.hh.

◆ CC_MAIN

constexpr int openmsx::R800TYPE::CC_MAIN = 0
staticprotected

Definition at line 263 of file R800.hh.

◆ CC_MULUB

constexpr int openmsx::R800TYPE::CC_MULUB = 14
staticprotected

Definition at line 255 of file R800.hh.

◆ CC_MULUW

constexpr int openmsx::R800TYPE::CC_MULUW = 36
staticprotected

Definition at line 256 of file R800.hh.

◆ CC_NEG

constexpr int openmsx::R800TYPE::CC_NEG = 2
staticprotected

Definition at line 248 of file R800.hh.

◆ CC_NMI

constexpr int openmsx::R800TYPE::CC_NMI = 1+P+2
staticprotected

Definition at line 258 of file R800.hh.

◆ CC_NOP

constexpr int openmsx::R800TYPE::CC_NOP = 1
staticprotected

Definition at line 244 of file R800.hh.

◆ CC_OTIR

constexpr int openmsx::R800TYPE::CC_OTIR = 2+P+1+O+I
staticprotected

Definition at line 241 of file R800.hh.

◆ CC_OUT_C_R

constexpr int openmsx::R800TYPE::CC_OUT_C_R = 2+O+I
staticprotected

Definition at line 239 of file R800.hh.

◆ CC_OUT_C_R_1

constexpr int openmsx::R800TYPE::CC_OUT_C_R_1 = 2+O
staticprotected

Definition at line 239 of file R800.hh.

◆ CC_OUT_N_A

constexpr int openmsx::R800TYPE::CC_OUT_N_A = 2+O+I
staticprotected

Definition at line 238 of file R800.hh.

◆ CC_OUT_N_A_1

constexpr int openmsx::R800TYPE::CC_OUT_N_A_1 = 1
staticprotected

Definition at line 238 of file R800.hh.

◆ CC_OUT_N_A_2

constexpr int openmsx::R800TYPE::CC_OUT_N_A_2 = 2+O
staticprotected

Definition at line 238 of file R800.hh.

◆ CC_OUTI

constexpr int openmsx::R800TYPE::CC_OUTI = 2+P+1+O+I
staticprotected

Definition at line 240 of file R800.hh.

◆ CC_OUTI_1

constexpr int openmsx::R800TYPE::CC_OUTI_1 = 2+P
staticprotected

Definition at line 240 of file R800.hh.

◆ CC_OUTI_2

constexpr int openmsx::R800TYPE::CC_OUTI_2 = 2+P+1+O
staticprotected

Definition at line 240 of file R800.hh.

◆ CC_POP

constexpr int openmsx::R800TYPE::CC_POP = 1+P+2
staticprotected

Definition at line 211 of file R800.hh.

◆ CC_POP_1

constexpr int openmsx::R800TYPE::CC_POP_1 = 1+P
staticprotected

Definition at line 211 of file R800.hh.

◆ CC_PREFIX

constexpr int openmsx::R800TYPE::CC_PREFIX = 1
staticprotected

Definition at line 265 of file R800.hh.

◆ CC_PUSH

constexpr int openmsx::R800TYPE::CC_PUSH = 2+P+2
staticprotected

Definition at line 210 of file R800.hh.

◆ CC_PUSH_1

constexpr int openmsx::R800TYPE::CC_PUSH_1 = 2+P
staticprotected

Definition at line 210 of file R800.hh.

◆ CC_RDMEM

constexpr int openmsx::R800TYPE::CC_RDMEM = 1
staticprotected

Definition at line 268 of file R800.hh.

◆ CC_RET_A

constexpr int openmsx::R800TYPE::CC_RET_A = 1+P+2
staticprotected

Definition at line 215 of file R800.hh.

◆ CC_RET_B

constexpr int openmsx::R800TYPE::CC_RET_B = 1
staticprotected

Definition at line 215 of file R800.hh.

◆ CC_RETN

constexpr int openmsx::R800TYPE::CC_RETN = 2+P+2
staticprotected

Definition at line 216 of file R800.hh.

◆ CC_RLA

constexpr int openmsx::R800TYPE::CC_RLA = 1
staticprotected

Definition at line 231 of file R800.hh.

◆ CC_RLD

constexpr int openmsx::R800TYPE::CC_RLD = 2+P+2+P+1
staticprotected

Definition at line 232 of file R800.hh.

◆ CC_RLD_1

constexpr int openmsx::R800TYPE::CC_RLD_1 = 2+P
staticprotected

Definition at line 232 of file R800.hh.

◆ CC_RLD_2

constexpr int openmsx::R800TYPE::CC_RLD_2 = 2+P+2+P
staticprotected

Definition at line 232 of file R800.hh.

◆ CC_RST

constexpr int openmsx::R800TYPE::CC_RST = 2+P+2
staticprotected

Definition at line 214 of file R800.hh.

◆ CC_SCF

constexpr int openmsx::R800TYPE::CC_SCF = 1
staticprotected

Definition at line 246 of file R800.hh.

◆ CC_SET_R

constexpr int openmsx::R800TYPE::CC_SET_R = 2
staticprotected

Definition at line 227 of file R800.hh.

◆ CC_SET_XHL

constexpr int openmsx::R800TYPE::CC_SET_XHL = 2+P+2+P+1
staticprotected

Definition at line 228 of file R800.hh.

◆ CC_SET_XHL_1

constexpr int openmsx::R800TYPE::CC_SET_XHL_1 = 2+P
staticprotected

Definition at line 228 of file R800.hh.

◆ CC_SET_XHL_2

constexpr int openmsx::R800TYPE::CC_SET_XHL_2 = 2+P+2+P
staticprotected

Definition at line 228 of file R800.hh.

◆ CC_SET_XIX

constexpr int openmsx::R800TYPE::CC_SET_XIX = 3+P+2+P+1
staticprotected

Definition at line 229 of file R800.hh.

◆ CC_WRMEM

constexpr int openmsx::R800TYPE::CC_WRMEM = 2
staticprotected

Definition at line 269 of file R800.hh.

◆ CLOCK_FREQ

constexpr int openmsx::R800TYPE::CLOCK_FREQ = 7159090
staticconstexprprotected

Definition at line 38 of file R800.hh.

◆ EE_CALL

constexpr int openmsx::R800TYPE::EE_CALL = 1
staticprotected

Definition at line 212 of file R800.hh.

◆ EE_DJNZ

constexpr int openmsx::R800TYPE::EE_DJNZ = 0
staticprotected

Definition at line 220 of file R800.hh.

◆ EE_ED

constexpr int openmsx::R800TYPE::EE_ED = 1
staticprotected

Definition at line 267 of file R800.hh.

◆ EE_INC_XIX

constexpr int openmsx::R800TYPE::EE_INC_XIX = 2
staticprotected

Definition at line 200 of file R800.hh.

◆ EE_IRQ0_1

constexpr int openmsx::R800TYPE::EE_IRQ0_1 = -1
staticprotected

Definition at line 259 of file R800.hh.

◆ EE_IRQ1_1

constexpr int openmsx::R800TYPE::EE_IRQ1_1 = -1
staticprotected

Definition at line 260 of file R800.hh.

◆ EE_IRQ2_1

constexpr int openmsx::R800TYPE::EE_IRQ2_1 = -1
staticprotected

Definition at line 261 of file R800.hh.

◆ EE_NMI_1

constexpr int openmsx::R800TYPE::EE_NMI_1 = -1
staticprotected

Definition at line 258 of file R800.hh.

◆ EE_RET_C

constexpr int openmsx::R800TYPE::EE_RET_C = 0
staticprotected

Definition at line 215 of file R800.hh.

◆ EE_RETN

constexpr int openmsx::R800TYPE::EE_RETN = 1
staticprotected

Definition at line 216 of file R800.hh.

◆ EE_SET_XIX

constexpr int openmsx::R800TYPE::EE_SET_XIX = 1
staticprotected

Definition at line 229 of file R800.hh.

◆ HALT_STATES

constexpr unsigned openmsx::R800TYPE::HALT_STATES = 1
staticconstexprprotected

Definition at line 39 of file R800.hh.

◆ I

constexpr int openmsx::R800TYPE::I = 6
staticconstexprprotected

Definition at line 168 of file R800.hh.

◆ IS_R800

constexpr bool openmsx::R800TYPE::IS_R800 = true
staticconstexprprotected

Definition at line 40 of file R800.hh.

◆ O

constexpr int openmsx::R800TYPE::O = 1
staticconstexprprotected

Definition at line 169 of file R800.hh.

◆ P

constexpr int openmsx::R800TYPE::P = 1
staticconstexprprotected

Definition at line 173 of file R800.hh.


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