Import Amiga applications and desktop tools
This commit is contained in:
commit
1c144c9a3c
347 files changed
+423483
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#include <exec/types.h>
|
||||
#include <proto/dos.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
/* WinUAE's documented uaelib stack-call interface, function 82. */
|
||||
typedef ULONG (*UaeCall)(ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
|
||||
int main(void){volatile UWORD *entry=(volatile UWORD*)0xf0ff60;
|
||||
UaeCall call=(UaeCall)entry;
|
||||
if((entry[0]&0xf000)!=0xa000||entry[1]!=0x4e75)return 5;
|
||||
return call(82,0xffffffff,(ULONG)"magic_mouse true win32.middle_mouse true",0,0,0)==0?0:20;
|
||||
}
|
||||
Reference in new issue
Block a user