Changeset 428 for Whitix/branches/hybrid/user
- Timestamp:
- 05/05/08 23:03:37 (7 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/hybrid/user/system/startup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/hybrid/user/system/startup.c
r407 r428 1 1 #include <stdio.h> 2 3 int ModuleLoad(char* name) 4 { 5 char* args[]={name}; 6 int fds[]={0, 1, 2}; 7 8 return SysCreateProcess("moduleadd", fds, args); 9 } 2 10 3 11 int main(int argc, char* argv[]) 4 12 { 5 13 /* Load modules */ 14 SysChangeDir("/System/Modules"); 15 ModuleLoad("Input/ps2mouse"); 6 16 7 /* Load Xynth. */ 8 9 int fds[]={0,1,2}; 10 char* args[]={""}; 17 SysChangeDir("/"); 11 18 12 19 SysCreateProcess("/Applications/Burn", fds, args);
