sc68fordevelopers
2.2.1
|
00001 00010 /* Copyright (C) 1998-2001 Ben(jamin) Gerard */ 00011 00012 #ifndef _EMU68_H_ 00013 #define _EMU68_H_ 00014 00015 #include "emu68/struct68.h" 00016 #include "emu68/getea68.h" 00017 #include "emu68/macro68.h" 00018 #include "emu68/error68.h" 00019 #include "emu68/cc68.h" 00020 #include "emu68/inst68.h" 00021 #include "emu68/mem68.h" 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00029 00031 extern reg68_t reg68; 00032 00042 io68_t *EMU68_set_interrupt_io(io68_t *io); 00043 00045 void EMU68_set_registers(const reg68_t *r); 00046 00048 void EMU68_get_registers(reg68_t *r); 00049 00051 void EMU68_set_cycle(u32 cycle); 00052 00054 u32 EMU68_get_cycle(void); 00055 00061 00071 void EMU68_reset(void); 00072 00093 int EMU68_init(u8 * buffer, u32 maxmem); 00094 00097 void EMU68_kill(void); 00098 00104 00111 int EMU68_memvalid(u32 dest, u32 sz); 00112 00117 u8 EMU68_peek(u32 addr); 00118 00123 u8 EMU68_poke(u32 addr, u8 v); 00124 00133 int EMU68_memput(u32 dest, u8 *src, u32 sz); 00134 00143 int EMU68_memget(u8 *dest, u32 src, u32 sz); 00144 00150 00152 void EMU68_step(void); 00153 00162 void EMU68_level_and_interrupt(u32 cycleperpass); 00163 00166 void EMU68_cycle(u32 cycleperpass); 00167 00172 void EMU68_break(u32 breakpc); 00173 00179 00186 int EMU68_debugmode(void); 00187 00191 #ifdef __cplusplus 00192 } 00193 #endif 00194 00195 #endif /* End of file emu68.h */ 00196