Ignore:
Timestamp:
02/04/12 00:00:20 (2 years ago)
Author:
philmoz
Message:

Update for finsig_dryos:

  • try and find details for vid_get_viewport_fb_d() function and nrflag variable
  • add error handling to prevent crash if incorrect start address used.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/g12/sub/100f/stubs_entry.S

    r1611 r1635  
    4343 
    4444// Values below go in 'lib.c': 
    45 //void *vid_get_bitmap_fb()        { return (void*)0x40471000; } // Found @0xff85ea60 
    46 //void *vid_get_viewport_fb()      { return (void*)0x40587700; } // Found @0xffb75718 
    47 //char *camera_jpeg_count_str()    { return (char*)0x000bb618; } // Found @0xffa43614 
    48 //long hook_raw_size()             { return 0x00ee9200; }        // Found @0xffb78bd8 
    49 //int get_flash_params_count(void) { return 0x9a; }              // Found @0xff9bed2c 
     45//void *vid_get_bitmap_fb()        { return (void*)0x40471000; }             // Found @0xff85ea60 
     46//void *vid_get_viewport_fb()      { return (void*)0x40587700; }             // Found @0xffb75718 
     47//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x2c10+0x58)); } // Found @0xff8781ac & 0xff8781e4 
     48//char *camera_jpeg_count_str()    { return (char*)0x000bb618; }             // Found @0xffa43614 
     49//long hook_raw_size()             { return 0x00ee9200; }                    // Found @0xffb78bd8 
     50//int get_flash_params_count(void) { return 0x9a; }                          // Found @0xff9bed2c 
    5051 
    5152// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c). 
     
    8283// Misc stuff 
    8384DEF(ctypes, 0xffbb7ce2) 
     85 
     86// For capt_seq.c 
     87//static long *nrflag = (long*)(0x76fc+0x08);  // Found @ ff98f9e4 & ff98f9fc 
     88//#define NR_AUTO (0)                          // have to explictly reset value back to 0 to enable auto 
    8489 
    8590// Stubs below matched 100%. 
Note: See TracChangeset for help on using the changeset viewer.