/*
  Hatari - hatari-glue.h

  This file is distributed under the GNU General Public License, version 2
  or at your option any later version. Read the file gpl.txt for details.
*/

#ifndef HATARI_GLUE_H
#define HATARI_GLUE_H

#include "sysdeps.h"
#include "options_cpu.h"
#include "cycles.h"

extern int pendingInterrupts;

extern int Init680x0(void);
extern void Exit680x0(void);
extern void customreset(void);
extern int intlev (void);

extern unsigned long OpCode_GemDos(uae_u32 opcode);
extern unsigned long OpCode_Pexec(uae_u32 opcode);
extern unsigned long OpCode_SysInit(uae_u32 opcode);
extern unsigned long OpCode_VDI(uae_u32 opcode);
extern unsigned long OpCode_NatFeat_ID(uae_u32 opcode);
extern unsigned long OpCode_NatFeat_Call(uae_u32 opcode);

#define write_log(...) Log_Printf(LOG_DEBUG, __VA_ARGS__)

#endif /* HATARI_GLUE_H */
