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

#include <Z80.hh>

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

Classes

struct  Normalize
 

Protected Member Functions

 Z80TYPE (EmuTime::param time, Scheduler &scheduler_)
 
template<bool , bool >
ALWAYS_INLINE void PRE_MEM (unsigned)
 
template<bool >
ALWAYS_INLINE void POST_MEM (unsigned)
 
template<bool , bool >
ALWAYS_INLINE void PRE_WORD (unsigned)
 
template<bool >
ALWAYS_INLINE void POST_WORD (unsigned)
 
ALWAYS_INLINE void R800Refresh (CPURegs &)
 
ALWAYS_INLINE void R800ForcePageBreak ()
 
ALWAYS_INLINE void setMemPtr (unsigned x)
 
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 = 3579545
 
static constexpr int WAIT_CYCLES = 1
 
static constexpr unsigned HALT_STATES = 4 + WAIT_CYCLES
 
static constexpr bool IS_R800 = false
 
static constexpr int CC_LD_A_SS = 5+3
 
static constexpr int CC_LD_A_SS_1 = 5+1
 
static constexpr int CC_LD_A_NN = 5+3+3+3
 
static constexpr int CC_LD_A_NN_1 = 5+1
 
static constexpr int CC_LD_A_NN_2 = 5+3+3+1
 
static constexpr int CC_LD_A_I = 5+6
 
static constexpr int CC_LD_R_R = 5
 
static constexpr int CC_LD_R_N = 5+3
 
static constexpr int CC_LD_R_N_1 = 5+1
 
static constexpr int CC_LD_R_HL = 5+3
 
static constexpr int CC_LD_R_HL_1 = 5+1
 
static constexpr int CC_LD_R_XIX = 5+3+5+3
 
static constexpr int CC_LD_R_XIX_1 = 5+1
 
static constexpr int CC_LD_R_XIX_2 = 5+3+5+1
 
static constexpr int CC_LD_HL_R = 5+3
 
static constexpr int CC_LD_HL_R_1 = 5+1
 
static constexpr int CC_LD_HL_N = 5+3+3
 
static constexpr int CC_LD_HL_N_1 = 5+1
 
static constexpr int CC_LD_HL_N_2 = 5+3+1
 
static constexpr int CC_LD_SS_A = 5+3
 
static constexpr int CC_LD_SS_A_1 = 5+1
 
static constexpr int CC_LD_NN_A = 5+3+3+3
 
static constexpr int CC_LD_NN_A_1 = 5+1
 
static constexpr int CC_LD_NN_A_2 = 5+3+3+1
 
static constexpr int CC_LD_XIX_R = 5+3+5+3
 
static constexpr int CC_LD_XIX_R_1 = 5+1
 
static constexpr int CC_LD_XIX_R_2 = 5+3+5+1
 
static constexpr int CC_LD_XIX_N = 5+3+5+3
 
static constexpr int CC_LD_XIX_N_1 = 5+1
 
static constexpr int CC_LD_XIX_N_2 = 5+3+5+1
 
static constexpr int CC_LD_HL_XX = 5+3+3+3+3
 
static constexpr int CC_LD_HL_XX_1 = 5+1
 
static constexpr int CC_LD_HL_XX_2 = 5+3+3+1
 
static constexpr int CC_LD_SP_HL = 7
 
static constexpr int CC_LD_SS_NN = 5+3+3
 
static constexpr int CC_LD_SS_NN_1 = 5+1
 
static constexpr int CC_LD_XX_HL = 5+3+3+3+3
 
static constexpr int CC_LD_XX_HL_1 = 5+1
 
static constexpr int CC_LD_XX_HL_2 = 5+3+3+1
 
static constexpr int CC_CP_R = 5
 
static constexpr int CC_CP_N = 5+3
 
static constexpr int CC_CP_N_1 = 5+1
 
static constexpr int CC_CP_XHL = 5+3
 
static constexpr int CC_CP_XHL_1 = 5+1
 
static constexpr int CC_CP_XIX = 5+3+5+3
 
static constexpr int CC_CP_XIX_1 = 5+1
 
static constexpr int CC_CP_XIX_2 = 5+3+5+1
 
static constexpr int CC_INC_R = 5
 
static constexpr int CC_INC_XHL = 5+4+3
 
static constexpr int CC_INC_XHL_1 = 5+1
 
static constexpr int CC_INC_XHL_2 = 5+4+1
 
static constexpr int CC_INC_XIX = 5+3+5+4+3
 
static constexpr int CC_INC_XIX_1 = 5+1
 
static constexpr int EE_INC_XIX = 8
 
static constexpr int CC_INC_SS = 7
 
static constexpr int CC_ADD_HL_SS = 5+4+3
 
static constexpr int CC_ADC_HL_SS = 5+5+4+3
 
static constexpr int CC_LDI = 5+5+3+5
 
static constexpr int CC_LDI_1 = 5+5+1
 
static constexpr int CC_LDI_2 = 5+5+3+1
 
static constexpr int CC_LDIR = 5+5+3+5+5
 
static constexpr int CC_CPI = 5+5+3+5
 
static constexpr int CC_CPI_1 = 5+5+1
 
static constexpr int CC_CPIR = 5+5+3+5+5
 
static constexpr int CC_PUSH = 6+3+3
 
static constexpr int CC_PUSH_1 = 6+1
 
static constexpr int CC_POP = 5+3+3
 
static constexpr int CC_POP_1 = 5+1
 
static constexpr int CC_CALL = 5+3+4+3+3
 
static constexpr int CC_CALL_1 = 5+1
 
static constexpr int EE_CALL = 6
 
static constexpr int CC_CALL_A = 5+3+4+3+3
 
static constexpr int CC_CALL_B = 5+3+3
 
static constexpr int CC_RST = 6+3+3
 
static constexpr int CC_RET_A = 5+3+3
 
static constexpr int CC_RET_B = 5
 
static constexpr int EE_RET_C = 1
 
static constexpr int CC_RETN = 5+5+3+3
 
static constexpr int EE_RETN = 5
 
static constexpr int CC_JP_A = 5+3+3
 
static constexpr int CC_JP_B = 5+3+3
 
static constexpr int CC_JP_1 = 5+1
 
static constexpr int CC_JP_HL = 5
 
static constexpr int CC_JR_A = 5+3+5
 
static constexpr int CC_JR_B = 5+3
 
static constexpr int CC_JR_1 = 5+1
 
static constexpr int CC_DJNZ = 6+3+5
 
static constexpr int EE_DJNZ = 1
 
static constexpr int CC_EX_SP_HL = 5+3+4+3+5
 
static constexpr int CC_EX_SP_HL_1 = 5+1
 
static constexpr int CC_EX_SP_HL_2 = 5+3+4+1
 
static constexpr int CC_BIT_R = 5+5
 
static constexpr int CC_BIT_XHL = 5+5+4
 
static constexpr int CC_BIT_XHL_1 = 5+5+1
 
static constexpr int CC_BIT_XIX = 5+3+5+4
 
static constexpr int CC_BIT_XIX_1 = 5+3+5+1
 
static constexpr int CC_SET_R = 5+5
 
static constexpr int CC_SET_XHL = 5+5+4+3
 
static constexpr int CC_SET_XHL_1 = 5+5+1
 
static constexpr int CC_SET_XHL_2 = 5+5+4+1
 
static constexpr int CC_SET_XIX = 5+3+5+4+3
 
static constexpr int EE_SET_XIX = 3
 
static constexpr int CC_RLA = 5
 
static constexpr int CC_RLD = 5+5+3+4+3
 
static constexpr int CC_RLD_1 = 5+5+1
 
static constexpr int CC_RLD_2 = 5+5+3+4+1
 
static constexpr int CC_IN_A_N = 5+3+4
 
static constexpr int CC_IN_A_N_1 = 5+1
 
static constexpr int CC_IN_A_N_2 = 5+3+1
 
static constexpr int CC_IN_R_C = 5+5+4
 
static constexpr int CC_IN_R_C_1 = 5+5+1
 
static constexpr int CC_INI = 5+6+4+3
 
static constexpr int CC_INI_1 = 5+6+1
 
static constexpr int CC_INI_2 = 5+6+4+1
 
static constexpr int CC_INIR = 5+6+4+3+5
 
static constexpr int CC_OUT_N_A = 5+3+4
 
static constexpr int CC_OUT_N_A_1 = 5+1
 
static constexpr int CC_OUT_N_A_2 = 5+3+1
 
static constexpr int CC_OUT_C_R = 5+5+4
 
static constexpr int CC_OUT_C_R_1 = 5+5+1
 
static constexpr int CC_OUTI = 5+6+3+4
 
static constexpr int CC_OUTI_1 = 5+6+1
 
static constexpr int CC_OUTI_2 = 5+6+3+1
 
static constexpr int CC_OTIR = 5+6+3+4+5
 
static constexpr int CC_EX = 5
 
static constexpr int CC_NOP = 5
 
static constexpr int CC_CCF = 5
 
static constexpr int CC_SCF = 5
 
static constexpr int CC_DAA = 5
 
static constexpr int CC_NEG = 5+5
 
static constexpr int CC_CPL = 5
 
static constexpr int CC_DI = 5
 
static constexpr int CC_EI = 5
 
static constexpr int CC_HALT = 5
 
static constexpr int CC_IM = 5+5
 
static constexpr int CC_MULUB = 0
 
static constexpr int CC_MULUW = 0
 
static constexpr int CC_NMI = 5+3+3
 
static constexpr int EE_NMI_1 = -1
 
static constexpr int CC_IRQ0 = 7+3+3
 
static constexpr int EE_IRQ0_1 = 1
 
static constexpr int CC_IRQ1 = 7+3+3
 
static constexpr int EE_IRQ1_1 = 1
 
static constexpr int CC_IRQ2 = 7+3+3+3+3
 
static constexpr int EE_IRQ2_1 = 1
 
static constexpr int CC_IRQ2_2 = 7+3+3+1
 
static constexpr int CC_MAIN = 1
 
static constexpr int CC_DD = 5
 
static constexpr int CC_PREFIX = 5+1
 
static constexpr int CC_DD_CB = 5+1
 
static constexpr int EE_ED = 5
 
static constexpr int CC_RDMEM = 3
 
static constexpr int CC_WRMEM = 3
 

Additional Inherited Members

- Public Member Functions inherited from openmsx::CPUClock
unsigned getFreq () const
 

Detailed Description

Definition at line 12 of file Z80.hh.

Constructor & Destructor Documentation

◆ Z80TYPE()

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

Definition at line 22 of file Z80.hh.

Member Function Documentation

◆ getMemPtr()

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

Definition at line 37 of file Z80.hh.

◆ POST_MEM()

template<bool >
ALWAYS_INLINE void openmsx::Z80TYPE::POST_MEM ( unsigned  )
inlineprotected

Definition at line 29 of file Z80.hh.

◆ POST_WORD()

template<bool >
ALWAYS_INLINE void openmsx::Z80TYPE::POST_WORD ( unsigned  )
inlineprotected

Definition at line 31 of file Z80.hh.

◆ PRE_MEM()

template<bool , bool >
ALWAYS_INLINE void openmsx::Z80TYPE::PRE_MEM ( unsigned  )
inlineprotected

Definition at line 28 of file Z80.hh.

◆ PRE_WORD()

template<bool , bool >
ALWAYS_INLINE void openmsx::Z80TYPE::PRE_WORD ( unsigned  )
inlineprotected

Definition at line 30 of file Z80.hh.

◆ R800ForcePageBreak()

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

Definition at line 34 of file Z80.hh.

◆ R800Refresh()

ALWAYS_INLINE void openmsx::Z80TYPE::R800Refresh ( CPURegs )
inlineprotected

Definition at line 33 of file Z80.hh.

◆ serialize()

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

Definition at line 139 of file Z80.hh.

References openmsx::CPUClock::serialize().

◆ setMemPtr()

ALWAYS_INLINE void openmsx::Z80TYPE::setMemPtr ( unsigned  x)
inlineprotected

Definition at line 36 of file Z80.hh.

Member Data Documentation

◆ CC_ADC_HL_SS

constexpr int openmsx::Z80TYPE::CC_ADC_HL_SS = 5+5+4+3
staticprotected

Definition at line 67 of file Z80.hh.

◆ CC_ADD_HL_SS

constexpr int openmsx::Z80TYPE::CC_ADD_HL_SS = 5+4+3
staticprotected

Definition at line 66 of file Z80.hh.

◆ CC_BIT_R

constexpr int openmsx::Z80TYPE::CC_BIT_R = 5+5
staticprotected

Definition at line 88 of file Z80.hh.

◆ CC_BIT_XHL

constexpr int openmsx::Z80TYPE::CC_BIT_XHL = 5+5+4
staticprotected

Definition at line 89 of file Z80.hh.

◆ CC_BIT_XHL_1

constexpr int openmsx::Z80TYPE::CC_BIT_XHL_1 = 5+5+1
staticprotected

Definition at line 89 of file Z80.hh.

◆ CC_BIT_XIX

constexpr int openmsx::Z80TYPE::CC_BIT_XIX = 5+3+5+4
staticprotected

Definition at line 90 of file Z80.hh.

◆ CC_BIT_XIX_1

constexpr int openmsx::Z80TYPE::CC_BIT_XIX_1 = 5+3+5+1
staticprotected

Definition at line 90 of file Z80.hh.

◆ CC_CALL

constexpr int openmsx::Z80TYPE::CC_CALL = 5+3+4+3+3
staticprotected

Definition at line 76 of file Z80.hh.

◆ CC_CALL_1

constexpr int openmsx::Z80TYPE::CC_CALL_1 = 5+1
staticprotected

Definition at line 76 of file Z80.hh.

◆ CC_CALL_A

constexpr int openmsx::Z80TYPE::CC_CALL_A = 5+3+4+3+3
staticprotected

Definition at line 77 of file Z80.hh.

◆ CC_CALL_B

constexpr int openmsx::Z80TYPE::CC_CALL_B = 5+3+3
staticprotected

Definition at line 77 of file Z80.hh.

◆ CC_CCF

constexpr int openmsx::Z80TYPE::CC_CCF = 5
staticprotected

Definition at line 109 of file Z80.hh.

◆ CC_CP_N

constexpr int openmsx::Z80TYPE::CC_CP_N = 5+3
staticprotected

Definition at line 59 of file Z80.hh.

◆ CC_CP_N_1

constexpr int openmsx::Z80TYPE::CC_CP_N_1 = 5+1
staticprotected

Definition at line 59 of file Z80.hh.

◆ CC_CP_R

constexpr int openmsx::Z80TYPE::CC_CP_R = 5
staticprotected

Definition at line 58 of file Z80.hh.

◆ CC_CP_XHL

constexpr int openmsx::Z80TYPE::CC_CP_XHL = 5+3
staticprotected

Definition at line 60 of file Z80.hh.

◆ CC_CP_XHL_1

constexpr int openmsx::Z80TYPE::CC_CP_XHL_1 = 5+1
staticprotected

Definition at line 60 of file Z80.hh.

◆ CC_CP_XIX

constexpr int openmsx::Z80TYPE::CC_CP_XIX = 5+3+5+3
staticprotected

Definition at line 61 of file Z80.hh.

◆ CC_CP_XIX_1

constexpr int openmsx::Z80TYPE::CC_CP_XIX_1 = 5+1
staticprotected

Definition at line 61 of file Z80.hh.

◆ CC_CP_XIX_2

constexpr int openmsx::Z80TYPE::CC_CP_XIX_2 = 5+3+5+1
staticprotected

Definition at line 61 of file Z80.hh.

◆ CC_CPI

constexpr int openmsx::Z80TYPE::CC_CPI = 5+5+3+5
staticprotected

Definition at line 71 of file Z80.hh.

◆ CC_CPI_1

constexpr int openmsx::Z80TYPE::CC_CPI_1 = 5+5+1
staticprotected

Definition at line 71 of file Z80.hh.

◆ CC_CPIR

constexpr int openmsx::Z80TYPE::CC_CPIR = 5+5+3+5+5
staticprotected

Definition at line 72 of file Z80.hh.

◆ CC_CPL

constexpr int openmsx::Z80TYPE::CC_CPL = 5
staticprotected

Definition at line 113 of file Z80.hh.

◆ CC_DAA

constexpr int openmsx::Z80TYPE::CC_DAA = 5
staticprotected

Definition at line 111 of file Z80.hh.

◆ CC_DD

constexpr int openmsx::Z80TYPE::CC_DD = 5
staticprotected

Definition at line 128 of file Z80.hh.

◆ CC_DD_CB

constexpr int openmsx::Z80TYPE::CC_DD_CB = 5+1
staticprotected

Definition at line 130 of file Z80.hh.

◆ CC_DI

constexpr int openmsx::Z80TYPE::CC_DI = 5
staticprotected

Definition at line 114 of file Z80.hh.

◆ CC_DJNZ

constexpr int openmsx::Z80TYPE::CC_DJNZ = 6+3+5
staticprotected

Definition at line 84 of file Z80.hh.

◆ CC_EI

constexpr int openmsx::Z80TYPE::CC_EI = 5
staticprotected

Definition at line 115 of file Z80.hh.

◆ CC_EX

constexpr int openmsx::Z80TYPE::CC_EX = 5
staticprotected

Definition at line 107 of file Z80.hh.

◆ CC_EX_SP_HL

constexpr int openmsx::Z80TYPE::CC_EX_SP_HL = 5+3+4+3+5
staticprotected

Definition at line 86 of file Z80.hh.

◆ CC_EX_SP_HL_1

constexpr int openmsx::Z80TYPE::CC_EX_SP_HL_1 = 5+1
staticprotected

Definition at line 86 of file Z80.hh.

◆ CC_EX_SP_HL_2

constexpr int openmsx::Z80TYPE::CC_EX_SP_HL_2 = 5+3+4+1
staticprotected

Definition at line 86 of file Z80.hh.

◆ CC_HALT

constexpr int openmsx::Z80TYPE::CC_HALT = 5
staticprotected

Definition at line 116 of file Z80.hh.

◆ CC_IM

constexpr int openmsx::Z80TYPE::CC_IM = 5+5
staticprotected

Definition at line 117 of file Z80.hh.

◆ CC_IN_A_N

constexpr int openmsx::Z80TYPE::CC_IN_A_N = 5+3+4
staticprotected

Definition at line 98 of file Z80.hh.

◆ CC_IN_A_N_1

constexpr int openmsx::Z80TYPE::CC_IN_A_N_1 = 5+1
staticprotected

Definition at line 98 of file Z80.hh.

◆ CC_IN_A_N_2

constexpr int openmsx::Z80TYPE::CC_IN_A_N_2 = 5+3+1
staticprotected

Definition at line 98 of file Z80.hh.

◆ CC_IN_R_C

constexpr int openmsx::Z80TYPE::CC_IN_R_C = 5+5+4
staticprotected

Definition at line 99 of file Z80.hh.

◆ CC_IN_R_C_1

constexpr int openmsx::Z80TYPE::CC_IN_R_C_1 = 5+5+1
staticprotected

Definition at line 99 of file Z80.hh.

◆ CC_INC_R

constexpr int openmsx::Z80TYPE::CC_INC_R = 5
staticprotected

Definition at line 62 of file Z80.hh.

◆ CC_INC_SS

constexpr int openmsx::Z80TYPE::CC_INC_SS = 7
staticprotected

Definition at line 65 of file Z80.hh.

◆ CC_INC_XHL

constexpr int openmsx::Z80TYPE::CC_INC_XHL = 5+4+3
staticprotected

Definition at line 63 of file Z80.hh.

◆ CC_INC_XHL_1

constexpr int openmsx::Z80TYPE::CC_INC_XHL_1 = 5+1
staticprotected

Definition at line 63 of file Z80.hh.

◆ CC_INC_XHL_2

constexpr int openmsx::Z80TYPE::CC_INC_XHL_2 = 5+4+1
staticprotected

Definition at line 63 of file Z80.hh.

◆ CC_INC_XIX

constexpr int openmsx::Z80TYPE::CC_INC_XIX = 5+3+5+4+3
staticprotected

Definition at line 64 of file Z80.hh.

◆ CC_INC_XIX_1

constexpr int openmsx::Z80TYPE::CC_INC_XIX_1 = 5+1
staticprotected

Definition at line 64 of file Z80.hh.

◆ CC_INI

constexpr int openmsx::Z80TYPE::CC_INI = 5+6+4+3
staticprotected

Definition at line 100 of file Z80.hh.

◆ CC_INI_1

constexpr int openmsx::Z80TYPE::CC_INI_1 = 5+6+1
staticprotected

Definition at line 100 of file Z80.hh.

◆ CC_INI_2

constexpr int openmsx::Z80TYPE::CC_INI_2 = 5+6+4+1
staticprotected

Definition at line 100 of file Z80.hh.

◆ CC_INIR

constexpr int openmsx::Z80TYPE::CC_INIR = 5+6+4+3+5
staticprotected

Definition at line 101 of file Z80.hh.

◆ CC_IRQ0

constexpr int openmsx::Z80TYPE::CC_IRQ0 = 7+3+3
staticprotected

Definition at line 123 of file Z80.hh.

◆ CC_IRQ1

constexpr int openmsx::Z80TYPE::CC_IRQ1 = 7+3+3
staticprotected

Definition at line 124 of file Z80.hh.

◆ CC_IRQ2

constexpr int openmsx::Z80TYPE::CC_IRQ2 = 7+3+3+3+3
staticprotected

Definition at line 125 of file Z80.hh.

◆ CC_IRQ2_2

constexpr int openmsx::Z80TYPE::CC_IRQ2_2 = 7+3+3+1
staticprotected

Definition at line 125 of file Z80.hh.

◆ CC_JP_1

constexpr int openmsx::Z80TYPE::CC_JP_1 = 5+1
staticprotected

Definition at line 81 of file Z80.hh.

◆ CC_JP_A

constexpr int openmsx::Z80TYPE::CC_JP_A = 5+3+3
staticprotected

Definition at line 81 of file Z80.hh.

◆ CC_JP_B

constexpr int openmsx::Z80TYPE::CC_JP_B = 5+3+3
staticprotected

Definition at line 81 of file Z80.hh.

◆ CC_JP_HL

constexpr int openmsx::Z80TYPE::CC_JP_HL = 5
staticprotected

Definition at line 82 of file Z80.hh.

◆ CC_JR_1

constexpr int openmsx::Z80TYPE::CC_JR_1 = 5+1
staticprotected

Definition at line 83 of file Z80.hh.

◆ CC_JR_A

constexpr int openmsx::Z80TYPE::CC_JR_A = 5+3+5
staticprotected

Definition at line 83 of file Z80.hh.

◆ CC_JR_B

constexpr int openmsx::Z80TYPE::CC_JR_B = 5+3
staticprotected

Definition at line 83 of file Z80.hh.

◆ CC_LD_A_I

constexpr int openmsx::Z80TYPE::CC_LD_A_I = 5+6
staticprotected

Definition at line 42 of file Z80.hh.

◆ CC_LD_A_NN

constexpr int openmsx::Z80TYPE::CC_LD_A_NN = 5+3+3+3
staticprotected

Definition at line 41 of file Z80.hh.

◆ CC_LD_A_NN_1

constexpr int openmsx::Z80TYPE::CC_LD_A_NN_1 = 5+1
staticprotected

Definition at line 41 of file Z80.hh.

◆ CC_LD_A_NN_2

constexpr int openmsx::Z80TYPE::CC_LD_A_NN_2 = 5+3+3+1
staticprotected

Definition at line 41 of file Z80.hh.

◆ CC_LD_A_SS

constexpr int openmsx::Z80TYPE::CC_LD_A_SS = 5+3
staticconstexprprotected

Definition at line 40 of file Z80.hh.

◆ CC_LD_A_SS_1

constexpr int openmsx::Z80TYPE::CC_LD_A_SS_1 = 5+1
staticprotected

Definition at line 40 of file Z80.hh.

◆ CC_LD_HL_N

constexpr int openmsx::Z80TYPE::CC_LD_HL_N = 5+3+3
staticprotected

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_N_1

constexpr int openmsx::Z80TYPE::CC_LD_HL_N_1 = 5+1
staticprotected

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_N_2

constexpr int openmsx::Z80TYPE::CC_LD_HL_N_2 = 5+3+1
staticprotected

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_R

constexpr int openmsx::Z80TYPE::CC_LD_HL_R = 5+3
staticprotected

Definition at line 47 of file Z80.hh.

◆ CC_LD_HL_R_1

constexpr int openmsx::Z80TYPE::CC_LD_HL_R_1 = 5+1
staticprotected

Definition at line 47 of file Z80.hh.

◆ CC_LD_HL_XX

constexpr int openmsx::Z80TYPE::CC_LD_HL_XX = 5+3+3+3+3
staticprotected

Definition at line 53 of file Z80.hh.

◆ CC_LD_HL_XX_1

constexpr int openmsx::Z80TYPE::CC_LD_HL_XX_1 = 5+1
staticprotected

Definition at line 53 of file Z80.hh.

◆ CC_LD_HL_XX_2

constexpr int openmsx::Z80TYPE::CC_LD_HL_XX_2 = 5+3+3+1
staticprotected

Definition at line 53 of file Z80.hh.

◆ CC_LD_NN_A

constexpr int openmsx::Z80TYPE::CC_LD_NN_A = 5+3+3+3
staticprotected

Definition at line 50 of file Z80.hh.

◆ CC_LD_NN_A_1

constexpr int openmsx::Z80TYPE::CC_LD_NN_A_1 = 5+1
staticprotected

Definition at line 50 of file Z80.hh.

◆ CC_LD_NN_A_2

constexpr int openmsx::Z80TYPE::CC_LD_NN_A_2 = 5+3+3+1
staticprotected

Definition at line 50 of file Z80.hh.

◆ CC_LD_R_HL

constexpr int openmsx::Z80TYPE::CC_LD_R_HL = 5+3
staticprotected

Definition at line 45 of file Z80.hh.

◆ CC_LD_R_HL_1

constexpr int openmsx::Z80TYPE::CC_LD_R_HL_1 = 5+1
staticprotected

Definition at line 45 of file Z80.hh.

◆ CC_LD_R_N

constexpr int openmsx::Z80TYPE::CC_LD_R_N = 5+3
staticprotected

Definition at line 44 of file Z80.hh.

◆ CC_LD_R_N_1

constexpr int openmsx::Z80TYPE::CC_LD_R_N_1 = 5+1
staticprotected

Definition at line 44 of file Z80.hh.

◆ CC_LD_R_R

constexpr int openmsx::Z80TYPE::CC_LD_R_R = 5
staticprotected

Definition at line 43 of file Z80.hh.

◆ CC_LD_R_XIX

constexpr int openmsx::Z80TYPE::CC_LD_R_XIX = 5+3+5+3
staticprotected

Definition at line 46 of file Z80.hh.

◆ CC_LD_R_XIX_1

constexpr int openmsx::Z80TYPE::CC_LD_R_XIX_1 = 5+1
staticprotected

Definition at line 46 of file Z80.hh.

◆ CC_LD_R_XIX_2

constexpr int openmsx::Z80TYPE::CC_LD_R_XIX_2 = 5+3+5+1
staticprotected

Definition at line 46 of file Z80.hh.

◆ CC_LD_SP_HL

constexpr int openmsx::Z80TYPE::CC_LD_SP_HL = 7
staticprotected

Definition at line 54 of file Z80.hh.

◆ CC_LD_SS_A

constexpr int openmsx::Z80TYPE::CC_LD_SS_A = 5+3
staticprotected

Definition at line 49 of file Z80.hh.

◆ CC_LD_SS_A_1

constexpr int openmsx::Z80TYPE::CC_LD_SS_A_1 = 5+1
staticprotected

Definition at line 49 of file Z80.hh.

◆ CC_LD_SS_NN

constexpr int openmsx::Z80TYPE::CC_LD_SS_NN = 5+3+3
staticprotected

Definition at line 55 of file Z80.hh.

◆ CC_LD_SS_NN_1

constexpr int openmsx::Z80TYPE::CC_LD_SS_NN_1 = 5+1
staticprotected

Definition at line 55 of file Z80.hh.

◆ CC_LD_XIX_N

constexpr int openmsx::Z80TYPE::CC_LD_XIX_N = 5+3+5+3
staticprotected

Definition at line 52 of file Z80.hh.

◆ CC_LD_XIX_N_1

constexpr int openmsx::Z80TYPE::CC_LD_XIX_N_1 = 5+1
staticprotected

Definition at line 52 of file Z80.hh.

◆ CC_LD_XIX_N_2

constexpr int openmsx::Z80TYPE::CC_LD_XIX_N_2 = 5+3+5+1
staticprotected

Definition at line 52 of file Z80.hh.

◆ CC_LD_XIX_R

constexpr int openmsx::Z80TYPE::CC_LD_XIX_R = 5+3+5+3
staticprotected

Definition at line 51 of file Z80.hh.

◆ CC_LD_XIX_R_1

constexpr int openmsx::Z80TYPE::CC_LD_XIX_R_1 = 5+1
staticprotected

Definition at line 51 of file Z80.hh.

◆ CC_LD_XIX_R_2

constexpr int openmsx::Z80TYPE::CC_LD_XIX_R_2 = 5+3+5+1
staticprotected

Definition at line 51 of file Z80.hh.

◆ CC_LD_XX_HL

constexpr int openmsx::Z80TYPE::CC_LD_XX_HL = 5+3+3+3+3
staticprotected

Definition at line 56 of file Z80.hh.

◆ CC_LD_XX_HL_1

constexpr int openmsx::Z80TYPE::CC_LD_XX_HL_1 = 5+1
staticprotected

Definition at line 56 of file Z80.hh.

◆ CC_LD_XX_HL_2

constexpr int openmsx::Z80TYPE::CC_LD_XX_HL_2 = 5+3+3+1
staticprotected

Definition at line 56 of file Z80.hh.

◆ CC_LDI

constexpr int openmsx::Z80TYPE::CC_LDI = 5+5+3+5
staticprotected

Definition at line 69 of file Z80.hh.

◆ CC_LDI_1

constexpr int openmsx::Z80TYPE::CC_LDI_1 = 5+5+1
staticprotected

Definition at line 69 of file Z80.hh.

◆ CC_LDI_2

constexpr int openmsx::Z80TYPE::CC_LDI_2 = 5+5+3+1
staticprotected

Definition at line 69 of file Z80.hh.

◆ CC_LDIR

constexpr int openmsx::Z80TYPE::CC_LDIR = 5+5+3+5+5
staticprotected

Definition at line 70 of file Z80.hh.

◆ CC_MAIN

constexpr int openmsx::Z80TYPE::CC_MAIN = 1
staticprotected

Definition at line 127 of file Z80.hh.

◆ CC_MULUB

constexpr int openmsx::Z80TYPE::CC_MULUB = 0
staticprotected

Definition at line 119 of file Z80.hh.

◆ CC_MULUW

constexpr int openmsx::Z80TYPE::CC_MULUW = 0
staticprotected

Definition at line 120 of file Z80.hh.

◆ CC_NEG

constexpr int openmsx::Z80TYPE::CC_NEG = 5+5
staticprotected

Definition at line 112 of file Z80.hh.

◆ CC_NMI

constexpr int openmsx::Z80TYPE::CC_NMI = 5+3+3
staticprotected

Definition at line 122 of file Z80.hh.

◆ CC_NOP

constexpr int openmsx::Z80TYPE::CC_NOP = 5
staticprotected

Definition at line 108 of file Z80.hh.

◆ CC_OTIR

constexpr int openmsx::Z80TYPE::CC_OTIR = 5+6+3+4+5
staticprotected

Definition at line 105 of file Z80.hh.

◆ CC_OUT_C_R

constexpr int openmsx::Z80TYPE::CC_OUT_C_R = 5+5+4
staticprotected

Definition at line 103 of file Z80.hh.

◆ CC_OUT_C_R_1

constexpr int openmsx::Z80TYPE::CC_OUT_C_R_1 = 5+5+1
staticprotected

Definition at line 103 of file Z80.hh.

◆ CC_OUT_N_A

constexpr int openmsx::Z80TYPE::CC_OUT_N_A = 5+3+4
staticprotected

Definition at line 102 of file Z80.hh.

◆ CC_OUT_N_A_1

constexpr int openmsx::Z80TYPE::CC_OUT_N_A_1 = 5+1
staticprotected

Definition at line 102 of file Z80.hh.

◆ CC_OUT_N_A_2

constexpr int openmsx::Z80TYPE::CC_OUT_N_A_2 = 5+3+1
staticprotected

Definition at line 102 of file Z80.hh.

◆ CC_OUTI

constexpr int openmsx::Z80TYPE::CC_OUTI = 5+6+3+4
staticprotected

Definition at line 104 of file Z80.hh.

◆ CC_OUTI_1

constexpr int openmsx::Z80TYPE::CC_OUTI_1 = 5+6+1
staticprotected

Definition at line 104 of file Z80.hh.

◆ CC_OUTI_2

constexpr int openmsx::Z80TYPE::CC_OUTI_2 = 5+6+3+1
staticprotected

Definition at line 104 of file Z80.hh.

◆ CC_POP

constexpr int openmsx::Z80TYPE::CC_POP = 5+3+3
staticprotected

Definition at line 75 of file Z80.hh.

◆ CC_POP_1

constexpr int openmsx::Z80TYPE::CC_POP_1 = 5+1
staticprotected

Definition at line 75 of file Z80.hh.

◆ CC_PREFIX

constexpr int openmsx::Z80TYPE::CC_PREFIX = 5+1
staticprotected

Definition at line 129 of file Z80.hh.

◆ CC_PUSH

constexpr int openmsx::Z80TYPE::CC_PUSH = 6+3+3
staticprotected

Definition at line 74 of file Z80.hh.

◆ CC_PUSH_1

constexpr int openmsx::Z80TYPE::CC_PUSH_1 = 6+1
staticprotected

Definition at line 74 of file Z80.hh.

◆ CC_RDMEM

constexpr int openmsx::Z80TYPE::CC_RDMEM = 3
staticprotected

Definition at line 132 of file Z80.hh.

◆ CC_RET_A

constexpr int openmsx::Z80TYPE::CC_RET_A = 5+3+3
staticprotected

Definition at line 79 of file Z80.hh.

◆ CC_RET_B

constexpr int openmsx::Z80TYPE::CC_RET_B = 5
staticprotected

Definition at line 79 of file Z80.hh.

◆ CC_RETN

constexpr int openmsx::Z80TYPE::CC_RETN = 5+5+3+3
staticprotected

Definition at line 80 of file Z80.hh.

◆ CC_RLA

constexpr int openmsx::Z80TYPE::CC_RLA = 5
staticprotected

Definition at line 95 of file Z80.hh.

◆ CC_RLD

constexpr int openmsx::Z80TYPE::CC_RLD = 5+5+3+4+3
staticprotected

Definition at line 96 of file Z80.hh.

◆ CC_RLD_1

constexpr int openmsx::Z80TYPE::CC_RLD_1 = 5+5+1
staticprotected

Definition at line 96 of file Z80.hh.

◆ CC_RLD_2

constexpr int openmsx::Z80TYPE::CC_RLD_2 = 5+5+3+4+1
staticprotected

Definition at line 96 of file Z80.hh.

◆ CC_RST

constexpr int openmsx::Z80TYPE::CC_RST = 6+3+3
staticprotected

Definition at line 78 of file Z80.hh.

◆ CC_SCF

constexpr int openmsx::Z80TYPE::CC_SCF = 5
staticprotected

Definition at line 110 of file Z80.hh.

◆ CC_SET_R

constexpr int openmsx::Z80TYPE::CC_SET_R = 5+5
staticprotected

Definition at line 91 of file Z80.hh.

◆ CC_SET_XHL

constexpr int openmsx::Z80TYPE::CC_SET_XHL = 5+5+4+3
staticprotected

Definition at line 92 of file Z80.hh.

◆ CC_SET_XHL_1

constexpr int openmsx::Z80TYPE::CC_SET_XHL_1 = 5+5+1
staticprotected

Definition at line 92 of file Z80.hh.

◆ CC_SET_XHL_2

constexpr int openmsx::Z80TYPE::CC_SET_XHL_2 = 5+5+4+1
staticprotected

Definition at line 92 of file Z80.hh.

◆ CC_SET_XIX

constexpr int openmsx::Z80TYPE::CC_SET_XIX = 5+3+5+4+3
staticprotected

Definition at line 93 of file Z80.hh.

◆ CC_WRMEM

constexpr int openmsx::Z80TYPE::CC_WRMEM = 3
staticprotected

Definition at line 133 of file Z80.hh.

◆ CLOCK_FREQ

constexpr int openmsx::Z80TYPE::CLOCK_FREQ = 3579545
staticconstexprprotected

Definition at line 17 of file Z80.hh.

◆ EE_CALL

constexpr int openmsx::Z80TYPE::EE_CALL = 6
staticprotected

Definition at line 76 of file Z80.hh.

◆ EE_DJNZ

constexpr int openmsx::Z80TYPE::EE_DJNZ = 1
staticprotected

Definition at line 84 of file Z80.hh.

◆ EE_ED

constexpr int openmsx::Z80TYPE::EE_ED = 5
staticprotected

Definition at line 131 of file Z80.hh.

◆ EE_INC_XIX

constexpr int openmsx::Z80TYPE::EE_INC_XIX = 8
staticprotected

Definition at line 64 of file Z80.hh.

◆ EE_IRQ0_1

constexpr int openmsx::Z80TYPE::EE_IRQ0_1 = 1
staticprotected

Definition at line 123 of file Z80.hh.

◆ EE_IRQ1_1

constexpr int openmsx::Z80TYPE::EE_IRQ1_1 = 1
staticprotected

Definition at line 124 of file Z80.hh.

◆ EE_IRQ2_1

constexpr int openmsx::Z80TYPE::EE_IRQ2_1 = 1
staticprotected

Definition at line 125 of file Z80.hh.

◆ EE_NMI_1

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

Definition at line 122 of file Z80.hh.

◆ EE_RET_C

constexpr int openmsx::Z80TYPE::EE_RET_C = 1
staticprotected

Definition at line 79 of file Z80.hh.

◆ EE_RETN

constexpr int openmsx::Z80TYPE::EE_RETN = 5
staticprotected

Definition at line 80 of file Z80.hh.

◆ EE_SET_XIX

constexpr int openmsx::Z80TYPE::EE_SET_XIX = 3
staticprotected

Definition at line 93 of file Z80.hh.

◆ HALT_STATES

constexpr unsigned openmsx::Z80TYPE::HALT_STATES = 4 + WAIT_CYCLES
staticconstexprprotected

Definition at line 19 of file Z80.hh.

◆ IS_R800

constexpr bool openmsx::Z80TYPE::IS_R800 = false
staticconstexprprotected

Definition at line 20 of file Z80.hh.

◆ WAIT_CYCLES

constexpr int openmsx::Z80TYPE::WAIT_CYCLES = 1
staticconstexprprotected

Definition at line 18 of file Z80.hh.


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