|
Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
|
Go to the documentation of this file.
20 #ifndef XEMU_COMMON_CPU65_H_INCLUDED
21 #define XEMU_COMMON_CPU65_H_INCLUDED
23 #define CPU65_PF_N 0x80
24 #define CPU65_PF_V 0x40
25 #define CPU65_PF_E 0x20
26 #define CPU65_PF_B 0x10
27 #define CPU65_PF_D 0x08
28 #define CPU65_PF_I 0x04
29 #define CPU65_PF_Z 0x02
30 #define CPU65_PF_C 0x01
62 int cpu_inhibit_interrupts;
65 #ifdef CPU65_DISCRETE_PF_NZ
78 #error "CPU65 must be defined."
85 extern void cpu65_init_mega_specific (
void );
88 #ifdef CPU65_65CE02_6502NMOS_TIMING_EMULATION
89 extern void cpu65_set_timing (
unsigned int mode );
93 #ifndef CPU_CUSTOM_MEMORY_FUNCTIONS_H
95 #ifndef CPU65_NO_RMW_EMULATION
103 #if defined(CPU_6502_NMOS_ONLY) || defined(MEGA65)
107 #include CPU_CUSTOM_MEMORY_FUNCTIONS_H
113 const int run_for_cycles
119 #ifdef CPU65_TRAP_OPCODE
130 #ifdef XEMU_SNAPSHOT_SUPPORT
132 extern int cpu65_snapshot_load_state (
const struct xemu_snapshot_definition_st *def,
struct xemu_snapshot_block_st *
block );
133 extern int cpu65_snapshot_save_state (
const struct xemu_snapshot_definition_st *def );
int multi_step_stop_trigger
Uint8 cpu65_read_linear_opcode_callback(void)
void cpu65_write_linear_opcode_callback(Uint8 data)
void cpu65_write_rmw_callback(Uint16 addr, Uint8 old_data, Uint8 new_data)
void cpu65_do_nop_callback(void)
int cpu65_trap_callback(const Uint8 opcode)
#define CPU_STEP_MULTI_OPS
void cpu65_set_pf(const Uint8 st)
Uint8 cpu65_read_callback(Uint16 addr)
void cpu65_write_callback(Uint16 addr, Uint8 data)
void cpu65_do_aug_callback(void)
void cpu65_illegal_opcode_callback(void)