Import Amiga applications and desktop tools

This commit is contained in:
Alberto committed 2026-11-11 16:21:50 +01:00
commit 1c144c9a3c
347 files changed
+423483

No files matched your search

+11
View File
@@ -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;
}