31 #define MF2_INVISIBLE 4 36 #define z80_IN_handler (cpc.*IN_handler) 37 #define z80_OUT_handler (cpc.*OUT_handler) 38 #define z80_wait_states (cpc.*WS_handler)(); iCycleCountSum += iCycleCount; 206 {
return (*(
membank_read[addr >> 14] + (addr & 0x3fff)));}
EDcodes
Definition: z80.h:167
void init()
Definition: z80.cpp:446
void setMF2ExitAddr(tUDWORD addr)
Definition: z80.h:229
void(Cpc::* Z80_WS_Handler)(void)
Definition: z80.h:50
tUBYTE RLC(tUBYTE val)
Definition: z80.cpp:370
int iCycleCount
Definition: z80.h:271
tUBYTE intPending()
Definition: z80.h:234
tUBYTE RL(tUBYTE val)
Definition: z80.cpp:379
void setOutHandler(Z80_OUT_Handler handler)
Definition: z80.h:215
void mf2stop()
Definition: z80.cpp:503
tUBYTE SZHV_inc[256]
Definition: z80.h:291
Z80_IN_Handler IN_handler
Definition: z80.h:263
tUBYTE SLL(tUBYTE val)
Definition: z80.cpp:417
CBcodes
Definition: z80.h:131
void init_tables()
Definition: z80.cpp:461
tUBYTE SRL(tUBYTE val)
Definition: z80.cpp:435
tUBYTE read_mem(tUWORD addr)
Definition: z80.h:205
Namespace for all CPC components.
Definition: colours.cpp:22
tUBYTE SZHV_dec[256]
Definition: z80.h:292
void z80_pfx_dd()
Definition: z80.cpp:2479
int iWSAdjust
Definition: z80.h:273
static const tUBYTE breg_tmp2[256]
Definition: z80.h:279
void setMembank_read(tUBYTE bank, tUBYTE *ptr)
Definition: z80.h:211
uint32_t tUDWORD
Definition: types.h:86
void write_mem(tUWORD addr, tUBYTE val)
Definition: z80.h:208
static const tUBYTE cc_op[256]
Definition: z80.h:280
Cpc cpc
Definition: z80.h:33
tUBYTE SZP[256]
Definition: z80.h:290
void(Cpc::* Z80_OUT_Handler)(tREGPAIR port, tUBYTE value)
Definition: z80.h:49
Z80()
Definition: z80.cpp:444
void stop()
Definition: z80.h:223
tDWORD dwMF2ExitAddr
Definition: z80.h:267
void z80_pfx_ddcb()
Definition: z80.cpp:3596
int iCycleCountSum
Definition: z80.h:270
tUBYTE SLA(tUBYTE val)
Definition: z80.cpp:408
tUBYTE RR(tUBYTE val)
Definition: z80.cpp:397
static const tUBYTE cc_cb[256]
Definition: z80.h:281
tUBYTE(Cpc::* Z80_IN_Handler)(tREGPAIR port)
Definition: z80.h:48
void setIntPending(tUBYTE ip)
Definition: z80.h:233
static const tUBYTE cc_ed[256]
Definition: z80.h:282
static const tUBYTE irep_tmp1[4][4]
Definition: z80.h:277
bool mStop
Definition: z80.h:275
tUBYTE RES(tUBYTE bit, tUBYTE val)
Definition: z80.cpp:368
Get byte from port
Definition: 8255.txt:134
int execute(int cc)
Definition: z80.cpp:516
tUBYTE SZ_BIT[256]
Definition: z80.h:289
static const tUBYTE cc_xycb[256]
Definition: z80.h:285
Flags2
Definition: z80.h:71
tDWORD dwMF2Flags
Definition: z80.h:268
tUBYTE * membank_write[4]
Definition: z80.h:261
static const tUWORD DAATable[2048]
Definition: z80.h:286
void initMemMap()
Definition: z80.h:236
opcodes
Definition: z80.h:95
int iCycleCountInit
Definition: z80.h:272
void setWsHandler(Z80_WS_Handler handler)
Definition: z80.h:216
tUBYTE SZ[256]
Definition: z80.h:288
void setInHandler(Z80_IN_Handler handler)
Definition: z80.h:214
void endMemMap()
Definition: z80.h:237
static const tUBYTE drep_tmp1[4][4]
Definition: z80.h:278
static const tUBYTE cc_xy[256]
Definition: z80.h:283
void z80_pfx_fdcb()
Definition: z80.cpp:6421
Definition: register.h:36
void setMembank_write(tUBYTE bank, tUBYTE *ptr)
Definition: z80.h:212
Register & reg()
Definition: z80.h:219
#define ROLAND_DEFAULT
Definition: compspec.h:46
uint8_t tUBYTE
Definition: types.h:74
tUBYTE SRA(tUBYTE val)
Definition: z80.cpp:426
int cycleCount()
Definition: z80.h:226
void z80_pfx_ed()
Definition: z80.cpp:4673
Register z80
Definition: z80.h:258
uint16_t tUWORD
Definition: types.h:80
tUBYTE RRC(tUBYTE val)
Definition: z80.cpp:388
ExitCode
Definition: z80.h:85
Z80_OUT_Handler OUT_handler
Definition: z80.h:264
tUBYTE SET(tUBYTE bit, tUBYTE val)
Definition: z80.cpp:406
static const tUBYTE cc_ex[256]
Definition: z80.h:284
tUBYTE int_pending
Definition: register.h:48
int32_t tDWORD
Definition: types.h:52
Z80_WS_Handler WS_handler
Definition: z80.h:265
void z80_pfx_cb()
Definition: z80.cpp:1627
void z80_pfx_fd()
Definition: z80.cpp:5304
tUBYTE * membank_read[4]
Definition: z80.h:260