2 * Acess2 GUI (AxWin) Version 3
3 * - By John Hodge (thePowersGang)
12 extern void WM_Update(void);
15 void ParseCommandline(int argc, char **argv);
18 const char *gsTerminalDevice = NULL;
19 const char *gsMouseDevice = NULL;
21 int giScreenWidth = 640;
22 int giScreenHeight = 480;
23 uint32_t *gpScreenBuffer = NULL;
25 int giTerminalFD = -1;
31 * \brief Program Entrypoint
33 int main(int argc, char *argv[])
35 ParseCommandline(argc, argv);
37 if( gsTerminalDevice == NULL ) {
38 gsTerminalDevice = "/Devices/VTerm/6";
40 if( gsMouseDevice == NULL ) {
41 gsMouseDevice = "/Devices/PS2Mouse";
58 Input_FillSelect(&nfds, &fds);
59 IPC_FillSelect(&nfds, &fds);
62 select(nfds, &fds, NULL, NULL, NULL);
64 Input_HandleSelect(&fds);
65 IPC_HandleSelect(&fds);
70 void ParseCommandline(int argc, char **argv)