Changes between Version 10 and Version 11 of PortingYourApp


Ignore:
Timestamp:
Mar 25, 2010, 2:12:50 AM (14 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingYourApp

    v10 v11  
    5151  * `sys/types.h`
    5252 * 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.
    5354
    5455 We will have to provide them.
     
    7273void app_start()
    7374{
     75    /* hacky ansi terminal intialization :) */
    7476    printk("\x1b[12l\x1b[20h");
     77
    7578    char *argv[] = {"bc", "-l", NULL};
    7679    main(sizeof(argv)/sizeof(char*)-1, argv);