/* * The following functions do exactly the same thing as their * Amiga counterpart, but can be called in situation where calling * the exec.library functions is impossible. */ #ifndef UAE_NATIVE2AMIGA_API_H #define UAE_NATIVE2AMIGA_API_H #include "uae/types.h" #ifdef SUPPORT_THREADS typedef void(*UAE_PROCESSED)(int); void uae_Cause(uaecptr interrupt); void uae_ReplyMsg(uaecptr msg); void uae_PutMsg(uaecptr port, uaecptr msg); void uae_Signal(uaecptr task, uae_u32 mask); void uae_Signal_with_Func(uaecptr task, uae_u32 mask, UAE_PROCESSED state); void uae_NotificationHack(uaecptr, uaecptr); void uae_ShellExecute(TCHAR *command); void uae_ShellExecute2(uae_u32 id); void uae_ClockSync(void); #endif int native2amiga_isfree(void); void uae_nativesem_wait(void); void uae_nativesem_post(void); #endif /* UAE_NATIVE2AMIGA_API_H */