-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathnative2amiga_api.h
More file actions
28 lines (23 loc) · 817 Bytes
/
native2amiga_api.h
File metadata and controls
28 lines (23 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* 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);
#endif
int native2amiga_isfree(void);
void uae_nativesem_wait(void);
void uae_nativesem_post(void);
#endif /* UAE_NATIVE2AMIGA_API_H */