Changeset 37975 for titan


Ignore:
Timestamp:
07/25/16 22:02:05 (8 years ago)
Author:
obi
Message:

add debug

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r37276 r37975  
    736736                                else
    737737                                {
     738                                        printf("befor memcpy_area\n");
    738739                                        //memcpy(tmpfb->fb + (y + posx) * tmpfb->colbytes, from, xlen);
    739                                 memcpy_area(tmpfb->fb + (y + posx) * tmpfb->colbytes, from, posx * 4, height-1, width*4, tmpfb->width*4);
     740                                        memcpy_area(tmpfb->fb + (y + posx) * tmpfb->colbytes, from, posx * 4, height-1, width*4, tmpfb->width*4);
    740741                                        y = yend;
    741742                                }
  • titan/titan/titan.c

    r37847 r37975  
    249249#endif
    250250
    251 #define TIMECODE "1467960227"
     251#define TIMECODE "1469471993"
    252252
    253253// mipsel start
     
    584584        ret = readconfig(status.configfile, config);
    585585        if(ret != 0)
     586        {
     587                printf("error: status.configfile ret=%d\n", ret);
    586588                return 100;
    587        
     589        }
    588590        //Workaround da ansonsten DVR4 nicht funktioniert (Treiberproblem)
    589591        status.setdvr0 = 0;
     
    598600        {
    599601                err("create timer thread");
     602                printf("error: create timer thread\n");
    600603                return 100;
    601604        }
     
    748751        ret = initfont();
    749752        if(ret != 0)
     753        {
     754                printf("error: initfont\n");
    750755                return 100;
     756        }
    751757        ret = openfont(getconfig("fontfile1", NULL));
    752758        if(ret != 0)
    753759        {
    754760                err("open fontfile1 font");
     761                printf("error: open fontfile1 font\n");
    755762                return 100;
    756763        }
     
    781788        fb = openfb(getconfig("fbdev", NULL), 0);
    782789        if(fb == NULL)
     790        {
     791                printf("error: openfb %s\n", getconfig("fbdev", NULL));
    783792                return 100;
     793        }
    784794        clearfball();
    785795        enablemanualblit();
     
    846856
    847857        ret = createstartscreen();
    848         if(ret != 0) return 100;
    849 
     858        if(ret != 0)
     859        {
     860                printf("error: createstartscreen\n");
     861                return 100;
     862        }
    850863        //from here we can use starterror screen
    851864        ret = openrc();
     
    10891102        else
    10901103        {
     1104printf("11111111111111\n");
     1105
    10911106                // workaround, remove bootlogo on startup
    10921107                drawscreen(skin, 0, 0);
     1108printf("22222222222222\n");
    10931109
    10941110                //check servicestart
     
    13171333        sleep(10);
    13181334        free(tmpstr);
     1335        printf("error: starterror\n");
    13191336        return 100;
    13201337}
Note: See TracChangeset for help on using the changeset viewer.