Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

emu68.h

Go to the documentation of this file.
00001 
00010 /* Copyright (C) 1998-2001 Ben(jamin) Gerard */
00011 
00012 #ifndef _EMU68_H_
00013 #define _EMU68_H_
00014 
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00019 #include "emu68/struct68.h"
00020 #include "emu68/getea68.h"
00021 #include "emu68/macro68.h"
00022 #include "emu68/error68.h"
00023 #include "emu68/cc68.h"
00024 #include "emu68/inst68.h"
00025 #include "emu68/mem68.h"
00026 
00027 
00030 
00032 extern reg68_t reg68;
00033 
00043 io68_t *EMU68_set_interrupt_io(io68_t *io);
00044 
00046 void EMU68_set_registers(const reg68_t *r);
00047 
00049 void EMU68_get_registers(reg68_t *r);
00050 
00052 void EMU68_set_cycle(u32 cycle);
00053 
00055 u32 EMU68_get_cycle(void);
00056 
00062 
00072 void EMU68_reset(void);
00073 
00094 int EMU68_init(u8 * buffer, u32 maxmem);
00095 
00098 void EMU68_kill(void);
00099 
00105 
00112 int EMU68_memvalid(u32 dest, u32 sz);
00113 
00118 u8 EMU68_peek(u32 addr);
00119 
00124 u8 EMU68_poke(u32 addr, u8 v);
00125 
00134 int EMU68_memput(u32 dest, u8 *src, u32 sz);
00135 
00144 int EMU68_memget(u8 *dest, u32 src, u32 sz);
00145 
00151 
00153 void EMU68_step(void);
00154 
00163 void EMU68_level_and_interrupt(u32 cycleperpass);
00164 
00167 void EMU68_cycle(u32 cycleperpass);
00168 
00173 void EMU68_break(u32 breakpc);
00174 
00180 
00187 int EMU68_debugmode(void);
00188 
00192 #ifdef __cplusplus
00193 }
00194 #endif
00195 
00196 #endif /* End of file emu68.h */
00197 

Generated on Fri Sep 26 16:27:53 2003 for sc68fordevelopers by doxygen 1.3.3