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/sx150is/sub/100a/stubs_entry.S

    r1611 r1635  
    4242 
    4343// Values below go in 'lib.c': 
    44 //void *vid_get_bitmap_fb()        { return (void*)0x403f1000; } // Found @0xff860d18 
    45 //void *vid_get_viewport_fb()      { return (void*)0x40546b80; } // Found @0xffb4d228 
    46 //char *camera_jpeg_count_str()    { return (char*)0x000ba380; } // Found @0xffa1ea9c 
    47 //long hook_raw_size()             { return 0x014eb7e0; }        // Found @0xffb50048 
    48 //int get_flash_params_count(void) { return 0x9f; }              // Found @0xff9b0610 
     44//void *vid_get_bitmap_fb()        { return (void*)0x403f1000; }             // Found @0xff860d18 
     45//void *vid_get_viewport_fb()      { return (void*)0x40546b80; }             // Found @0xffb4d228 
     46//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x2ba8+0x58)); } // Found @0xff8780cc & 0xff878104 
     47//char *camera_jpeg_count_str()    { return (char*)0x000ba380; }             // Found @0xffa1ea9c 
     48//long hook_raw_size()             { return 0x014eb7e0; }                    // Found @0xffb50048 
     49//int get_flash_params_count(void) { return 0x9f; }                          // Found @0xff9b0610 
    4950 
    5051// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c). 
     
    8283// Misc stuff 
    8384DEF(ctypes, 0xffb8f522) 
     85 
     86// For capt_seq.c 
     87//static long *nrflag = (long*)(0x9798+0x00);  // Found @ ffa36c40 & ffa36c90 
     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.