/******************************************************************************

	z80.h

	Handling Z80 core.

******************************************************************************/

#ifndef Z80INTF_H
#define Z80INTF_H

extern int z80_ICount;

void z80_init(void);
void z80_reset(void);
void z80_exit(void);
int  z80_execute(int cycles);
void z80_set_irq_line(int irqline, int state);

#ifdef SAVE_STATE
STATE_SAVE( z80 );
STATE_LOAD( z80 );
#endif

int get_z80_size(void);
int save_z80_to_mem(unsigned char *stor);
int load_z80_from_mem(unsigned char *stor);

#endif /* Z80INTF_H */
