3 * - Acess kernel emulation on another OS using SDL and UDP
12 extern int UI_Initialise(int Width, int Height);
13 extern int VFS_Init(void);
14 extern int Video_Install(char **Arguments);
15 extern int NativeKeyboard_Install(char **Arguments);
16 extern int VT_Install(char **Arguments);
17 extern int VFS_Mount(const char *Device, const char *MountPoint, const char *Filesystem, const char *Options);
18 extern int SyscallServer(void);
21 const char *gsAcessDir = "../Usermode/Output/i386";
24 int main(int argc, char *argv[])
26 // Parse command line settings
28 // - Ignore SIGUSR1 (used to wake threads)
29 signal(SIGUSR1, SIG_IGN);
32 UI_Initialise(800, 480);
38 NativeKeyboard_Install(NULL);
39 NativeFS_Install(NULL);
44 "Input=NativeKeyboard",
50 VFS_Mount(gsAcessDir, "/Acess", "nativefs", "");
52 Debug_SetKTerminal("/Devices/VTerm/8");
54 // Start syscall server
61 void AcessNative_Exit(void)
63 // TODO: Close client applications too