Go to the source code of this file.
|
enum | z80_register {
Z80_REG_AF =0,
Z80_REG_BC,
Z80_REG_DE,
Z80_REG_HL,
Z80_REG_IX,
Z80_REG_IY,
Z80_REG_PC,
Z80_REG_SP,
Z80_REG_AF2,
Z80_REG_BC2,
Z80_REG_DE2,
Z80_REG_HL2,
Z80_REG_IFF1,
Z80_REG_IFF2,
Z80_REG_IR,
Z80_REG_IM,
Z80_REG_IRQVector,
Z80_REG_IRQLine,
Z80_REG_Halted
} |
|
|
void | z80_reset (void) |
|
int | z80_emulate (int cycles) |
|
void | z80_raise_IRQ (tUBYTE vector) |
|
void | z80_lower_IRQ (void) |
|
void | z80_cause_NMI (void) |
|
int | z80_get_context_size (void) |
|
void | z80_set_context (void *context) |
|
void | z80_get_context (void *context) |
|
tUWORD | z80_get_reg (z80_register reg) |
|
void | z80_set_reg (z80_register reg, tUWORD value) |
|
int | z80_get_cycles_elapsed (void) |
|
void | z80_stop_emulating (void) |
|
void | z80_skip_idle (void) |
|
void | z80_do_wait_states (int n) |
|
void | z80_init_memmap (void) |
|
void | z80_map_fetch (tUWORD start, tUWORD end, tUBYTE *memory) |
|
void | z80_map_read (tUWORD start, tUWORD end, tUBYTE *memory) |
|
void | z80_map_write (tUWORD start, tUWORD end, tUBYTE *memory) |
|
void | z80_add_read (tUWORD start, tUWORD end, int method, void *data) |
|
void | z80_add_write (tUWORD start, tUWORD end, int method, void *data) |
|
void | z80_set_in (tUBYTE(*handler)(tUWORD port)) |
|
void | z80_set_out (void(*handler)(tUWORD port, tUBYTE value)) |
|
void | z80_set_reti (void(*handler)(void)) |
|
void | z80_set_av (void(*handler)(void)) |
|
void | z80_set_fetch_callback (void(*handler)(tUWORD pc)) |
|
void | z80_end_memmap (void) |
|
#define Z80_MAP_DIRECT 0 /* Reads/writes are done directly */ |
#define Z80_MAP_HANDLED 1 /* Reads/writes use a function handler */ |
Enumerator |
---|
Z80_REG_AF |
|
Z80_REG_BC |
|
Z80_REG_DE |
|
Z80_REG_HL |
|
Z80_REG_IX |
|
Z80_REG_IY |
|
Z80_REG_PC |
|
Z80_REG_SP |
|
Z80_REG_AF2 |
|
Z80_REG_BC2 |
|
Z80_REG_DE2 |
|
Z80_REG_HL2 |
|
Z80_REG_IFF1 |
|
Z80_REG_IFF2 |
|
Z80_REG_IR |
|
Z80_REG_IM |
|
Z80_REG_IRQVector |
|
Z80_REG_IRQLine |
|
Z80_REG_Halted |
|
void z80_add_read |
( |
tUWORD |
start, |
|
|
tUWORD |
end, |
|
|
int |
method, |
|
|
void * |
data |
|
) |
| |
void z80_add_write |
( |
tUWORD |
start, |
|
|
tUWORD |
end, |
|
|
int |
method, |
|
|
void * |
data |
|
) |
| |
void z80_cause_NMI |
( |
void |
| ) |
|
void z80_do_wait_states |
( |
int |
n | ) |
|
int z80_emulate |
( |
int |
cycles | ) |
|
void z80_end_memmap |
( |
void |
| ) |
|
void z80_get_context |
( |
void * |
context | ) |
|
int z80_get_context_size |
( |
void |
| ) |
|
int z80_get_cycles_elapsed |
( |
void |
| ) |
|
void z80_init_memmap |
( |
void |
| ) |
|
void z80_lower_IRQ |
( |
void |
| ) |
|
void z80_raise_IRQ |
( |
tUBYTE |
vector | ) |
|
void z80_set_av |
( |
void(*)(void) |
handler | ) |
|
void z80_set_context |
( |
void * |
context | ) |
|
void z80_set_fetch_callback |
( |
void(*)(tUWORD pc) |
handler | ) |
|
void z80_set_reti |
( |
void(*)(void) |
handler | ) |
|
void z80_skip_idle |
( |
void |
| ) |
|
void z80_stop_emulating |
( |
void |
| ) |
|