Changes between Version 10 and Version 11 of PortingYourApp
- Timestamp:
- Mar 25, 2010, 2:12:50 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingYourApp
v10 v11 51 51 * `sys/types.h` 52 52 * As it is unix and user-specific, MutekH starts with `app_start()`, not `main()`. We need a wrapper that calls `main()`. 53 * Some fake files related function macros, as we don't really want to use MutekH file system feature here. 53 54 54 55 We will have to provide them. … … 72 73 void app_start() 73 74 { 75 /* hacky ansi terminal intialization :) */ 74 76 printk("\x1b[12l\x1b[20h"); 77 75 78 char *argv[] = {"bc", "-l", NULL}; 76 79 main(sizeof(argv)/sizeof(char*)-1, argv);