Assembla home | Assembla project page
 

Changeset 399

Show
Ignore:
Timestamp:
05/20/08 11:33:32 (2 years ago)
Author:
DataGhost
Message:

Branch dataghost:
+ Added A720 (should be fully working)
+ Added some extra experimental S5IS stubs, code not included for compatibility.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dataghost/core/gui.c

    r397 r399  
    244244        {LANG_MENU_DG_LED_MESSAGES,        MENUITEM_SUBMENU,        (int*)&dg_postledmsg_submenu }, 
    245245        {LANG_MENU_DG_LED_DISCO,           MENUITEM_PROC,           (int*)dg_disco }, 
    246 #if defined(CAMERA_s5is) 
     246#if defined(CAMERA_s5is) || defined(CAMERA_a720) 
    247247        {LANG_MENU_DG_BRIGHT_MENU,         MENUITEM_SUBMENU,        (int*)&dg_bright_submenu }, 
    248248#endif 
  • branches/dataghost/platform/a720/sub/100c/stubs_entry_2.S

    r381 r399  
    178178NSTUB(taskResume,                        0xFFC00958) 
    179179NSTUB(taskSuspend,                       0xFFC00958) 
     180 
     181/////////// 
     182// Following functions are for dgmod 
     183NHSTUB(GetISPitchPWM,                             0xFFDAB558) 
     184NHSTUB(GetISYawPWM,                               0xFFDAB554) 
     185NHSTUB(GetISShiftLensPitchPosition,               0xFFDAB658) 
     186NHSTUB(GetISShiftLensYawPosition,                 0xFFDAB65C) 
     187NHSTUB(SetISPitchPWM,                             0xFFDAB58C) 
     188NHSTUB(SetISYawPWM,                               0xFFDAB5A0) 
     189NHSTUB(MoveISLensToTopLimitPosition,              0xFFDAB4A8) 
     190NHSTUB(MoveISLensToBottomLimitPosition,           0xFFDAB494) 
     191NHSTUB(MoveISLensToLeftLimitPosition,             0xFFDAB480) 
     192NHSTUB(MoveISLensToRightLimitPosition,            0xFFDAB46C) 
     193NHSTUB(MoveISLensToCentralPosition,               0xFFDAB654) 
     194 
     195NHSTUB(GetISHallDevicePitchOffset,                0xFFDAB4D0) 
     196NHSTUB(GetISHallDeviceYawOffset,                  0xFFDAB4CC) 
     197NHSTUB(GetISHallDevicePitchGain,                  0xFFDAB4C8) 
     198NHSTUB(GetISHallDeviceYawGain,                    0xFFDAB4C4) 
     199NHSTUB(GetISGyroPitchOffset,                      0xFFDAB3F4) 
     200NHSTUB(GetISGyroYawOffset,                        0xFFDAB3EC) 
     201NHSTUB(GetISGyroPitchGain,                        0xFFDAB524) 
     202NHSTUB(GetISGyroYawGain,                          0xFFDAB520) 
     203NHSTUB(GetISLensCenterShiftAaxis,                 0xFFDAB3C8) 
     204NHSTUB(GetISLensCenterShiftBaxis,                 0xFFDAB3D0) 
     205NHSTUB(GetISLensEViAaxis,                         0xFFDAB660) 
     206NHSTUB(GetISLensEViBaxis,                         0xFFDAB674) 
     207NHSTUB(GetISLensDampAaxis,                        0xFFDAB688) 
     208NHSTUB(GetISLensDampBaxis,                        0xFFDAB68C) 
     209 
     210// Second set of IS lens controls 
     211NHSTUB(GetISDriveAaxis,                           0xFFD05938) 
     212NHSTUB(GetISDriveBaxis,                           0xFFD05958) 
     213NHSTUB(GetISPositionAaxis,                        0xFFD05978) 
     214NHSTUB(GetISPositionBaxis,                        0xFFD05998) 
     215NHSTUB(GetISHallOffsetAaxis,                      0xFFD059B8) 
     216NHSTUB(GetISHallOffsetBaxis,                      0xFFD059D8) 
     217NHSTUB(GetISHallGainAaxis,                        0xFFD059F8) 
     218NHSTUB(GetISHallGainBaxis,                        0xFFD05A18) 
     219NHSTUB(GetISGyroGainAaxis,                        0xFFD05A38) 
     220NHSTUB(GetISGyroGainBaxis,                        0xFFD05A58) 
     221NHSTUB(GetISCoefficientP_A,                       0xFFD05F4C) 
     222NHSTUB(GetISCoefficientP_B,                       0xFFD05F68) 
     223NHSTUB(GetISCoefficientI_A,                       0xFFD05F84) 
     224NHSTUB(GetISCoefficientI_B,                       0xFFD05FA0) 
     225NHSTUB(GetISCoefficientD_A,                       0xFFD05FBC) 
     226NHSTUB(GetISCoefficientD_B,                       0xFFD05FD8) 
     227NHSTUB(GetISPLFAaxis,                             0xFFD05D64) 
     228NHSTUB(GetISPLFBaxis,                             0xFFD05D80) 
     229NHSTUB(GetISLPFAaxis,                             0xFFD05DB4) 
     230NHSTUB(GetISLPFBaxis,                             0xFFD05DD0) 
     231NHSTUB(GetISDbgData,                              0xFFD05AC0) 
     232NHSTUB(GetISADData,                               0xFFD05C38) 
     233NHSTUB(GetISDampAaxis,                            0xFFD05CCC) 
     234NHSTUB(GetISDampBaxis,                            0xFFD05CE4) 
     235NHSTUB(GetISEViAaxis,                             0xFFD05CFC) 
     236NHSTUB(GetISEViBaxis,                             0xFFD05D20) 
     237NHSTUB(GetISHallOut1Amp,                          0xFFD05CA4) 
     238NHSTUB(ISActive,                                  0xFFC00958) // nullsub_1 
     239 
     240NHSTUB(GetWBStruct,                               0xFFC00958) // nullsub_1, useless for now 
     241 
     242NHSTUB(MuteOffPhysicalScreen,                     0xFFC67724) 
     243 
     244 
     245//NHSTUB(PostLEDMessage,                  0xFF84CF8C) // Already in A720 
     246 
     247NHSTUB(TurnOnDisplay,                             0xFFC676AC) 
     248NHSTUB(TurnOffDisplay,                            0xFFC676C4) 
     249NHSTUB(TurnOnBackLight,                           0xFFC676DC) 
     250NHSTUB(TurnOffBackLight,                          0xFFC676F4) 
     251NHSTUB(SwitchOnDisplay,                           0xFFDA8F84) 
     252NHSTUB(SwitchOffDisplay,                          0xFFDA8F4C) 
     253 
     254NHSTUB(StopContinuousVRAMData,                    0xFFC00958) // nullsub_1, useless for now 
     255 
     256NHSTUB(GetShutterReadyStateVar,                   0xFFC00958) // nullsub_1, useless for now. 
     257 
  • branches/dataghost/platform/a720/sub/100c/stubs_min.S

    r337 r399  
    99DEF(canon_shoot_menu_active,0xAE15)   // 0xAE14+1 
    1010DEF(recreview_hold, 0xABE8) // 0xAB38+0xB0 
     11 
     12// Found in PutsCameraLog, right before calling the actual 'puts' function 
     13// ROM:FFC57ECC   LDR     R5, =0x5880 
     14// ROM:FFC57F30   LDR     R0, [R5,#8] 
     15// ROM:FFC57F34   ADD     R1, SP, #0x50+var_4C 
     16// ROM:FFC57F38   BL      sub_FFC1B0CC 
     17DEF(dg_cameralog_base, 0x5888) 
     18 
  • branches/dataghost/platform/s5is/sub/101b/stubs_entry_2.S

    r392 r399  
    210210NHSTUB(GetShutterReadyStateVar,         0xFF8166D4) 
    211211 
     212NHSTUB(DispSwCon_MuteOffPhysicalScreen, 0xFF87D180) 
     213NHSTUB(DispSwCon_DisableMute,           0xFF87CF4C) 
     214NHSTUB(DispSw_Unlock,                   0xFF87CE58) 
    212215 
    213216