Ignore:
Timestamp:
05/14/12 02:37:11 (12 months ago)
Author:
reyalp
Message:

s100 updates from c10ud in http://chdk.setepontos.com/index.php?topic=650.msg85140#msg85140

  • long press power button to start in rec mode
  • adjust circle of confusion and default battery voltages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/s100/sub/100d/boot.c

    r1792 r1850  
    172172        *(int*)0x1938=(int)taskHook; 
    173173        *(int*)0x193C=(int)taskHook; // need this for startup in Playback mode (otherwise init_file_modules_task doesn't hook properly) 
    174      
    175         // TODO: check C022xxxx address and 0x800000 because it's always starting in PLAY mode 
    176     // replacement for correct power-on. see sub_FF024AF4 -> 0xFF05867C and/or SX40HS port 
    177         *(int*)(0x26E4) = (*(int*)0xC022F48C)&1 ? 0x200000 : 0x100000;  
     174 
     175        *(int*)(0x26E0+0x4) = (*(int*)0xC022F48C)&4 ? 0x200000 : 0x100000; 
    178176 
    179177asm volatile ( 
Note: See TracChangeset for help on using the changeset viewer.