10 #ifndef __RAZE_H_INCLUDED__ 11 #define __RAZE_H_INCLUDED__ 21 #define Z80_MAP_DIRECT 0 22 #define Z80_MAP_HANDLED 1 GLuint GLfloat GLenum cap GLsizei n
Definition: glfunclist.h:13
void z80_set_reti(void(*handler)(void))
void initMemMap()
Definition: raze.h:100
void z80_raise_IRQ(tUBYTE vector)
void(* Z80_OUT_Handler)(tREGPAIR port, tUBYTE value)
Definition: raze.h:93
int cyclecount()
Definition: raze.h:118
int mLastCyclecount
Definition: raze.h:135
void z80_add_write(tUWORD start, tUWORD end, int method, void *data)
tUBYTE intPending()
Definition: raze.h:120
void z80_set_in(tUBYTE(*handler)(tUWORD port))
tUBYTE mIntPending
Definition: raze.h:137
void z80_set_av(void(*handler)(void))
void init()
Definition: raze.h:98
void z80_end_memmap(void)
void stop()
Definition: raze.h:127
void z80_set_out(void(*handler)(tUWORD port, tUBYTE value))
tUWORD z80_get_reg(z80_register reg)
void z80_map_read(tUWORD start, tUWORD end, tUBYTE *memory)
void setInHandler(Z80_IN_Handler handler)
Definition: raze.h:95
Get byte from port
Definition: 8255.txt:134
void z80_set_reg(z80_register reg, tUWORD value)
int z80_emulate(int cycles)
void z80_set_context(void *context)
void z80_set_fetch_callback(void(*handler)(tUWORD pc))
tUBYTE(* Z80_IN_Handler)(tREGPAIR port)
Definition: raze.h:92
void setIntPending(tUBYTE ip)
Definition: raze.h:119
void setMembank_read(tUBYTE bank, tUBYTE *ptr)
Definition: raze.h:103
void setInHandler(tUBYTE(*handler)(tUWORD port))
Definition: raze.h:122
int mCycleCountInit
Definition: raze.h:136
void z80_add_read(tUWORD start, tUWORD end, int method, void *data)
Raze()
Definition: raze.h:89
int z80_get_context_size(void)
void z80_get_context(void *context)
int execute(int i)
Definition: raze.h:126
~Raze()
Definition: raze.h:90
void z80_map_fetch(tUWORD start, tUWORD end, tUBYTE *memory)
z80_register
Definition: raze.h:25
void endMemMap()
Definition: raze.h:101
int z80_get_cycles_elapsed(void)
uint8_t tUBYTE
Definition: types.h:74
void setMembank_write(tUBYTE bank, tUBYTE *ptr)
Definition: raze.h:110
void z80_init_memmap(void)
void z80_do_wait_states(int n)
void setOutHandler(Z80_OUT_Handler handler)
Definition: raze.h:96
uint16_t tUWORD
Definition: types.h:80
void setWsHandler(void(*handler)(void))
Definition: raze.h:124
void z80_stop_emulating(void)
void setOutHandler(void(*handler)(tUWORD port, tUBYTE value))
Definition: raze.h:123
void z80_map_write(tUWORD start, tUWORD end, tUBYTE *memory)