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_)
 
ALWAYS_INLINE unsigned haltStates () const
 
ALWAYS_INLINE bool isR800 () const
 
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. More...
 
void waitForEvenCycle (int cc)
 R800 runs at 7MHz, but I/O is done over a slower 3.5MHz bus. More...
 
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 const int CLOCK_FREQ = 3579545
 
static const int WAIT_CYCLES = 1
 
static const int CC_LD_A_SS = 5+3
 
static const int CC_LD_A_SS_1 = 5+1
 
static const int CC_LD_A_NN = 5+3+3+3
 
static const int CC_LD_A_NN_1 = 5+1
 
static const int CC_LD_A_NN_2 = 5+3+3+1
 
static const int CC_LD_A_I = 5+6
 
static const int CC_LD_R_R = 5
 
static const int CC_LD_R_N = 5+3
 
static const int CC_LD_R_N_1 = 5+1
 
static const int CC_LD_R_HL = 5+3
 
static const int CC_LD_R_HL_1 = 5+1
 
static const int CC_LD_R_XIX = 5+3+5+3
 
static const int CC_LD_R_XIX_1 = 5+1
 
static const int CC_LD_R_XIX_2 = 5+3+5+1
 
static const int CC_LD_HL_R = 5+3
 
static const int CC_LD_HL_R_1 = 5+1
 
static const int CC_LD_HL_N = 5+3+3
 
static const int CC_LD_HL_N_1 = 5+1
 
static const int CC_LD_HL_N_2 = 5+3+1
 
static const int CC_LD_SS_A = 5+3
 
static const int CC_LD_SS_A_1 = 5+1
 
static const int CC_LD_NN_A = 5+3+3+3
 
static const int CC_LD_NN_A_1 = 5+1
 
static const int CC_LD_NN_A_2 = 5+3+3+1
 
static const int CC_LD_XIX_R = 5+3+5+3
 
static const int CC_LD_XIX_R_1 = 5+1
 
static const int CC_LD_XIX_R_2 = 5+3+5+1
 
static const int CC_LD_XIX_N = 5+3+5+3
 
static const int CC_LD_XIX_N_1 = 5+1
 
static const int CC_LD_XIX_N_2 = 5+3+5+1
 
static const int CC_LD_HL_XX = 5+3+3+3+3
 
static const int CC_LD_HL_XX_1 = 5+1
 
static const int CC_LD_HL_XX_2 = 5+3+3+1
 
static const int CC_LD_SP_HL = 7
 
static const int CC_LD_SS_NN = 5+3+3
 
static const int CC_LD_SS_NN_1 = 5+1
 
static const int CC_LD_XX_HL = 5+3+3+3+3
 
static const int CC_LD_XX_HL_1 = 5+1
 
static const int CC_LD_XX_HL_2 = 5+3+3+1
 
static const int CC_CP_R = 5
 
static const int CC_CP_N = 5+3
 
static const int CC_CP_N_1 = 5+1
 
static const int CC_CP_XHL = 5+3
 
static const int CC_CP_XHL_1 = 5+1
 
static const int CC_CP_XIX = 5+3+5+3
 
static const int CC_CP_XIX_1 = 5+1
 
static const int CC_CP_XIX_2 = 5+3+5+1
 
static const int CC_INC_R = 5
 
static const int CC_INC_XHL = 5+4+3
 
static const int CC_INC_XHL_1 = 5+1
 
static const int CC_INC_XHL_2 = 5+4+1
 
static const int CC_INC_XIX = 5+3+5+4+3
 
static const int CC_INC_XIX_1 = 5+1
 
static const int EE_INC_XIX = 8
 
static const int CC_INC_SS = 7
 
static const int CC_ADD_HL_SS = 5+4+3
 
static const int CC_ADC_HL_SS = 5+5+4+3
 
static const int CC_LDI = 5+5+3+5
 
static const int CC_LDI_1 = 5+5+1
 
static const int CC_LDI_2 = 5+5+3+1
 
static const int CC_LDIR = 5+5+3+5+5
 
static const int CC_CPI = 5+5+3+5
 
static const int CC_CPI_1 = 5+5+1
 
static const int CC_CPIR = 5+5+3+5+5
 
static const int CC_PUSH = 6+3+3
 
static const int CC_PUSH_1 = 6+1
 
static const int CC_POP = 5+3+3
 
static const int CC_POP_1 = 5+1
 
static const int CC_CALL = 5+3+4+3+3
 
static const int CC_CALL_1 = 5+1
 
static const int EE_CALL = 6
 
static const int CC_CALL_A = 5+3+4+3+3
 
static const int CC_CALL_B = 5+3+3
 
static const int CC_RST = 6+3+3
 
static const int CC_RET_A = 5+3+3
 
static const int CC_RET_B = 5
 
static const int EE_RET_C = 1
 
static const int CC_RETN = 5+5+3+3
 
static const int EE_RETN = 5
 
static const int CC_JP_A = 5+3+3
 
static const int CC_JP_B = 5+3+3
 
static const int CC_JP_1 = 5+1
 
static const int CC_JP_HL = 5
 
static const int CC_JR_A = 5+3+5
 
static const int CC_JR_B = 5+3
 
static const int CC_JR_1 = 5+1
 
static const int CC_DJNZ = 6+3+5
 
static const int EE_DJNZ = 1
 
static const int CC_EX_SP_HL = 5+3+4+3+5
 
static const int CC_EX_SP_HL_1 = 5+1
 
static const int CC_EX_SP_HL_2 = 5+3+4+1
 
static const int CC_BIT_R = 5+5
 
static const int CC_BIT_XHL = 5+5+4
 
static const int CC_BIT_XHL_1 = 5+5+1
 
static const int CC_BIT_XIX = 5+3+5+4
 
static const int CC_BIT_XIX_1 = 5+3+5+1
 
static const int CC_SET_R = 5+5
 
static const int CC_SET_XHL = 5+5+4+3
 
static const int CC_SET_XHL_1 = 5+5+1
 
static const int CC_SET_XHL_2 = 5+5+4+1
 
static const int CC_SET_XIX = 5+3+5+4+3
 
static const int EE_SET_XIX = 3
 
static const int CC_RLA = 5
 
static const int CC_RLD = 5+5+3+4+3
 
static const int CC_RLD_1 = 5+5+1
 
static const int CC_RLD_2 = 5+5+3+4+1
 
static const int CC_IN_A_N = 5+3+4
 
static const int CC_IN_A_N_1 = 5+1
 
static const int CC_IN_A_N_2 = 5+3+1
 
static const int CC_IN_R_C = 5+5+4
 
static const int CC_IN_R_C_1 = 5+5+1
 
static const int CC_INI = 5+6+4+3
 
static const int CC_INI_1 = 5+6+1
 
static const int CC_INI_2 = 5+6+4+1
 
static const int CC_INIR = 5+6+4+3+5
 
static const int CC_OUT_N_A = 5+3+4
 
static const int CC_OUT_N_A_1 = 5+1
 
static const int CC_OUT_N_A_2 = 5+3+1
 
static const int CC_OUT_C_R = 5+5+4
 
static const int CC_OUT_C_R_1 = 5+5+1
 
static const int CC_OUTI = 5+6+3+4
 
static const int CC_OUTI_1 = 5+6+1
 
static const int CC_OUTI_2 = 5+6+3+1
 
static const int CC_OTIR = 5+6+3+4+5
 
static const int CC_EX = 5
 
static const int CC_NOP = 5
 
static const int CC_CCF = 5
 
static const int CC_SCF = 5
 
static const int CC_DAA = 5
 
static const int CC_NEG = 5+5
 
static const int CC_CPL = 5
 
static const int CC_DI = 5
 
static const int CC_EI = 5
 
static const int CC_HALT = 5
 
static const int CC_IM = 5+5
 
static const int CC_MULUB = 0
 
static const int CC_MULUW = 0
 
static const int CC_NMI = 5+3+3
 
static const int EE_NMI_1 = -1
 
static const int CC_IRQ0 = 7+3+3
 
static const int EE_IRQ0_1 = 1
 
static const int CC_IRQ1 = 7+3+3
 
static const int EE_IRQ1_1 = 1
 
static const int CC_IRQ2 = 7+3+3+3+3
 
static const int EE_IRQ2_1 = 1
 
static const int CC_IRQ2_2 = 7+3+3+1
 
static const int CC_MAIN = 1
 
static const int CC_DD = 5
 
static const int CC_PREFIX = 5+1
 
static const int CC_DD_CB = 5+1
 
static const int EE_ED = 5
 
static const int CC_RDMEM = 3
 
static const 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 20 of file Z80.hh.

Member Function Documentation

◆ getMemPtr()

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

Definition at line 37 of file Z80.hh.

◆ haltStates()

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

Definition at line 25 of file Z80.hh.

References WAIT_CYCLES.

◆ isR800()

ALWAYS_INLINE bool openmsx::Z80TYPE::isR800 ( ) const
inlineprotected

Definition at line 26 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

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

Definition at line 67 of file Z80.hh.

◆ CC_ADD_HL_SS

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

Definition at line 66 of file Z80.hh.

◆ CC_BIT_R

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

Definition at line 88 of file Z80.hh.

◆ CC_BIT_XHL

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

Definition at line 89 of file Z80.hh.

◆ CC_BIT_XHL_1

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

Definition at line 89 of file Z80.hh.

◆ CC_BIT_XIX

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

Definition at line 90 of file Z80.hh.

◆ CC_BIT_XIX_1

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

Definition at line 90 of file Z80.hh.

◆ CC_CALL

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

Definition at line 76 of file Z80.hh.

◆ CC_CALL_1

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

Definition at line 76 of file Z80.hh.

◆ CC_CALL_A

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

Definition at line 77 of file Z80.hh.

◆ CC_CALL_B

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

Definition at line 77 of file Z80.hh.

◆ CC_CCF

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

Definition at line 109 of file Z80.hh.

◆ CC_CP_N

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

Definition at line 59 of file Z80.hh.

◆ CC_CP_N_1

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

Definition at line 59 of file Z80.hh.

◆ CC_CP_R

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

Definition at line 58 of file Z80.hh.

◆ CC_CP_XHL

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

Definition at line 60 of file Z80.hh.

◆ CC_CP_XHL_1

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

Definition at line 60 of file Z80.hh.

◆ CC_CP_XIX

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

Definition at line 61 of file Z80.hh.

◆ CC_CP_XIX_1

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

Definition at line 61 of file Z80.hh.

◆ CC_CP_XIX_2

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

Definition at line 61 of file Z80.hh.

◆ CC_CPI

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

Definition at line 71 of file Z80.hh.

◆ CC_CPI_1

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

Definition at line 71 of file Z80.hh.

◆ CC_CPIR

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

Definition at line 72 of file Z80.hh.

◆ CC_CPL

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

Definition at line 113 of file Z80.hh.

◆ CC_DAA

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

Definition at line 111 of file Z80.hh.

◆ CC_DD

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

Definition at line 128 of file Z80.hh.

◆ CC_DD_CB

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

Definition at line 130 of file Z80.hh.

◆ CC_DI

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

Definition at line 114 of file Z80.hh.

◆ CC_DJNZ

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

Definition at line 84 of file Z80.hh.

◆ CC_EI

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

Definition at line 115 of file Z80.hh.

◆ CC_EX

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

Definition at line 107 of file Z80.hh.

◆ CC_EX_SP_HL

const 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

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

Definition at line 86 of file Z80.hh.

◆ CC_EX_SP_HL_2

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

Definition at line 86 of file Z80.hh.

◆ CC_HALT

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

Definition at line 116 of file Z80.hh.

◆ CC_IM

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

Definition at line 117 of file Z80.hh.

◆ CC_IN_A_N

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

Definition at line 98 of file Z80.hh.

◆ CC_IN_A_N_1

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

Definition at line 98 of file Z80.hh.

◆ CC_IN_A_N_2

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

Definition at line 98 of file Z80.hh.

◆ CC_IN_R_C

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

Definition at line 99 of file Z80.hh.

◆ CC_IN_R_C_1

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

Definition at line 99 of file Z80.hh.

◆ CC_INC_R

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

Definition at line 62 of file Z80.hh.

◆ CC_INC_SS

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

Definition at line 65 of file Z80.hh.

◆ CC_INC_XHL

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

Definition at line 63 of file Z80.hh.

◆ CC_INC_XHL_1

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

Definition at line 63 of file Z80.hh.

◆ CC_INC_XHL_2

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

Definition at line 63 of file Z80.hh.

◆ CC_INC_XIX

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

Definition at line 64 of file Z80.hh.

◆ CC_INC_XIX_1

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

Definition at line 64 of file Z80.hh.

◆ CC_INI

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

Definition at line 100 of file Z80.hh.

◆ CC_INI_1

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

Definition at line 100 of file Z80.hh.

◆ CC_INI_2

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

Definition at line 100 of file Z80.hh.

◆ CC_INIR

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

Definition at line 101 of file Z80.hh.

◆ CC_IRQ0

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

Definition at line 123 of file Z80.hh.

◆ CC_IRQ1

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

Definition at line 124 of file Z80.hh.

◆ CC_IRQ2

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

Definition at line 125 of file Z80.hh.

◆ CC_IRQ2_2

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

Definition at line 125 of file Z80.hh.

◆ CC_JP_1

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

Definition at line 81 of file Z80.hh.

◆ CC_JP_A

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

Definition at line 81 of file Z80.hh.

◆ CC_JP_B

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

Definition at line 81 of file Z80.hh.

◆ CC_JP_HL

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

Definition at line 82 of file Z80.hh.

◆ CC_JR_1

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

Definition at line 83 of file Z80.hh.

◆ CC_JR_A

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

Definition at line 83 of file Z80.hh.

◆ CC_JR_B

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

Definition at line 83 of file Z80.hh.

◆ CC_LD_A_I

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

Definition at line 42 of file Z80.hh.

◆ CC_LD_A_NN

const 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

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

Definition at line 41 of file Z80.hh.

◆ CC_LD_A_NN_2

const 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

const int openmsx::Z80TYPE::CC_LD_A_SS = 5+3
staticprotected

Definition at line 40 of file Z80.hh.

◆ CC_LD_A_SS_1

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

Definition at line 40 of file Z80.hh.

◆ CC_LD_HL_N

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

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_N_1

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

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_N_2

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

Definition at line 48 of file Z80.hh.

◆ CC_LD_HL_R

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

Definition at line 47 of file Z80.hh.

◆ CC_LD_HL_R_1

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

Definition at line 47 of file Z80.hh.

◆ CC_LD_HL_XX

const 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

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

Definition at line 53 of file Z80.hh.

◆ CC_LD_HL_XX_2

const 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

const 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

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

Definition at line 50 of file Z80.hh.

◆ CC_LD_NN_A_2

const 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

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

Definition at line 45 of file Z80.hh.

◆ CC_LD_R_HL_1

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

Definition at line 45 of file Z80.hh.

◆ CC_LD_R_N

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

Definition at line 44 of file Z80.hh.

◆ CC_LD_R_N_1

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

Definition at line 44 of file Z80.hh.

◆ CC_LD_R_R

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

Definition at line 43 of file Z80.hh.

◆ CC_LD_R_XIX

const 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

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

Definition at line 46 of file Z80.hh.

◆ CC_LD_R_XIX_2

const 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

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

Definition at line 54 of file Z80.hh.

◆ CC_LD_SS_A

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

Definition at line 49 of file Z80.hh.

◆ CC_LD_SS_A_1

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

Definition at line 49 of file Z80.hh.

◆ CC_LD_SS_NN

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

Definition at line 55 of file Z80.hh.

◆ CC_LD_SS_NN_1

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

Definition at line 55 of file Z80.hh.

◆ CC_LD_XIX_N

const 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

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

Definition at line 52 of file Z80.hh.

◆ CC_LD_XIX_N_2

const 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

const 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

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

Definition at line 51 of file Z80.hh.

◆ CC_LD_XIX_R_2

const 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

const 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

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

Definition at line 56 of file Z80.hh.

◆ CC_LD_XX_HL_2

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

Definition at line 56 of file Z80.hh.

◆ CC_LDI

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

Definition at line 69 of file Z80.hh.

◆ CC_LDI_1

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

Definition at line 69 of file Z80.hh.

◆ CC_LDI_2

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

Definition at line 69 of file Z80.hh.

◆ CC_LDIR

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

Definition at line 70 of file Z80.hh.

◆ CC_MAIN

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

Definition at line 127 of file Z80.hh.

◆ CC_MULUB

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

Definition at line 119 of file Z80.hh.

◆ CC_MULUW

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

Definition at line 120 of file Z80.hh.

◆ CC_NEG

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

Definition at line 112 of file Z80.hh.

◆ CC_NMI

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

Definition at line 122 of file Z80.hh.

◆ CC_NOP

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

Definition at line 108 of file Z80.hh.

◆ CC_OTIR

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

Definition at line 105 of file Z80.hh.

◆ CC_OUT_C_R

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

Definition at line 103 of file Z80.hh.

◆ CC_OUT_C_R_1

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

Definition at line 103 of file Z80.hh.

◆ CC_OUT_N_A

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

Definition at line 102 of file Z80.hh.

◆ CC_OUT_N_A_1

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

Definition at line 102 of file Z80.hh.

◆ CC_OUT_N_A_2

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

Definition at line 102 of file Z80.hh.

◆ CC_OUTI

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

Definition at line 104 of file Z80.hh.

◆ CC_OUTI_1

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

Definition at line 104 of file Z80.hh.

◆ CC_OUTI_2

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

Definition at line 104 of file Z80.hh.

◆ CC_POP

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

Definition at line 75 of file Z80.hh.

◆ CC_POP_1

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

Definition at line 75 of file Z80.hh.

◆ CC_PREFIX

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

Definition at line 129 of file Z80.hh.

◆ CC_PUSH

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

Definition at line 74 of file Z80.hh.

◆ CC_PUSH_1

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

Definition at line 74 of file Z80.hh.

◆ CC_RDMEM

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

Definition at line 132 of file Z80.hh.

◆ CC_RET_A

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

Definition at line 79 of file Z80.hh.

◆ CC_RET_B

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

Definition at line 79 of file Z80.hh.

◆ CC_RETN

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

Definition at line 80 of file Z80.hh.

◆ CC_RLA

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

Definition at line 95 of file Z80.hh.

◆ CC_RLD

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

Definition at line 96 of file Z80.hh.

◆ CC_RLD_1

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

Definition at line 96 of file Z80.hh.

◆ CC_RLD_2

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

Definition at line 96 of file Z80.hh.

◆ CC_RST

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

Definition at line 78 of file Z80.hh.

◆ CC_SCF

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

Definition at line 110 of file Z80.hh.

◆ CC_SET_R

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

Definition at line 91 of file Z80.hh.

◆ CC_SET_XHL

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

Definition at line 92 of file Z80.hh.

◆ CC_SET_XHL_1

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

Definition at line 92 of file Z80.hh.

◆ CC_SET_XHL_2

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

Definition at line 92 of file Z80.hh.

◆ CC_SET_XIX

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

Definition at line 93 of file Z80.hh.

◆ CC_WRMEM

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

Definition at line 133 of file Z80.hh.

◆ CLOCK_FREQ

const int openmsx::Z80TYPE::CLOCK_FREQ = 3579545
staticprotected

Definition at line 17 of file Z80.hh.

◆ EE_CALL

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

Definition at line 76 of file Z80.hh.

◆ EE_DJNZ

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

Definition at line 84 of file Z80.hh.

◆ EE_ED

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

Definition at line 131 of file Z80.hh.

◆ EE_INC_XIX

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

Definition at line 64 of file Z80.hh.

◆ EE_IRQ0_1

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

Definition at line 123 of file Z80.hh.

◆ EE_IRQ1_1

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

Definition at line 124 of file Z80.hh.

◆ EE_IRQ2_1

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

Definition at line 125 of file Z80.hh.

◆ EE_NMI_1

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

Definition at line 122 of file Z80.hh.

◆ EE_RET_C

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

Definition at line 79 of file Z80.hh.

◆ EE_RETN

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

Definition at line 80 of file Z80.hh.

◆ EE_SET_XIX

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

Definition at line 93 of file Z80.hh.

◆ WAIT_CYCLES

const int openmsx::Z80TYPE::WAIT_CYCLES = 1
staticprotected

Definition at line 18 of file Z80.hh.

Referenced by haltStates().


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