io68_t * EMU68_set_interrupt_io(io68_t *io)
Set new interrupt IO.
void EMU68_cycle(u32 cycleperpass)
Execute for given number of cycle.
68k memory and IO manager.
u8 EMU68_peek(u32 addr)
Get byte in 68K onboard memory.
unsigned int u32
Must be an unsigned 32 bit integer.
Definition: type68.h:37
int EMU68_debugmode(void)
Get EMU68 debug mode.
int EMU68_memvalid(u32 dest, u32 sz)
Check if a memory block is in 68K on-board memory range.
void EMU68_level_and_interrupt(u32 cycleperpass)
Execute until RTS.
void EMU68_reset(void)
68K Hardware Reset
unsigned char u8
Must be an unsigned 8 bit integer.
Definition: type68.h:31
int EMU68_init(u8 *buffer, u32 maxmem)
First time init.
void EMU68_kill(void)
Clean exit.
u32 EMU68_get_cycle(void)
Get EMU68 internal cycle counter.
int EMU68_memget(u8 *dest, u32 src, u32 sz)
Get 68K on-board memory into a memory block.
void EMU68_get_registers(reg68_t *r)
Copy EMU68 internal register set to specified register set.
68K instruction emulation macro definitions.
Condition code function table.
int EMU68_memput(u32 dest, u8 *src, u32 sz)
Put a memory block to 68K on-board memory.
68k effective address calculation function table.
reg68_t reg68
EMU68 internal 68K register set structure.
void EMU68_set_cycle(u32 cycle)
Set EMU68 internal cycle counter.
68K emulator registers, memory and IO.
Definition: struct68.h:84
void EMU68_step(void)
Execute one instruction.
68k arithmetic and logical instruction emulation.
u8 EMU68_poke(u32 addr, u8 v)
Put a byte in 68K onboard memory.
IO emulator pluggin structure.
Definition: struct68.h:66
void EMU68_break(u32 breakpc)
Execute until PC reachs breakpoint.
void EMU68_set_registers(const reg68_t *r)
Copy specified register set to EMU68 internal register set.