root/platform/sx60hs/sub/100c/stubs_entry_2.S

/* [<][>][^][v][top][bottom][index][help] */
   1 #include "stubs_asm.h"
   2 
   3 // BEWARE: thumb functions NEED the thumb bit in the below list
   4 
   5 #define NULL_SUB 0xfc0008fb // bx lr
   6 #DEF(orig_CreateTask                           ,0x010E5089)
   7 NHSTUB(LogCameraEvent                        ,0xfc3362b7 + 0x4)
   8 NHSTUB(displaybusyonscreen                   , 0xfc319671 + 0x4) //0xfc31987d?
   9 NHSTUB(undisplaybusyonscreen                   ,0xfc319709 + 0x4)//0xfc3198fb ?
  10 NHSTUB(SetZoomActuatorSpeedPercent                   , NULL_SUB)
  11 NHSTUB(MakeSDCardBootable                   , 0xfc33284d + 0x4)
  12 NHSTUB(GetImageFolder                   , 0xfc30ba5d + 0x4)
  13 NHSTUB(EnterToCompensationEVF                ,0xfc2766c5) //corrected,from 0xFC2766c4)
  14 NHSTUB(ExitFromCompensationEVF               ,0xFC2766ff)
  15 NHSTUB(ExpCtrlTool_StartContiAE              ,0xFC264e5b)
  16 NHSTUB(ExpCtrlTool_StopContiAE               ,0xFC264F47)
  17 NHSTUB(Feof_Fut                              ,0xFC301Dad + 0x4)
  18 NHSTUB(Fflush_Fut                            ,0xFC301Dd5 + 0x4)
  19 NHSTUB(get_dial_hw_position                  ,0xfc119805) 
  20 NHSTUB(GetDrive_TotalClusters               ,0xfc3324eb + 0x4)
  21 //NHSTUB(GetFocusLensSubjectDistance          ,0xfc4b4a73)
  22 //NHSTUB(GetFocusLensSubjectDistance          ,0xfc2fa8df) //stubs_entry.S
  23 NHSTUB(GetFocusLensSubjectDistanceFromLens  ,0xFC2FABc1 + 0x4)
  24 //NHSTUB(PT_PlaySound                         ,0xFC333df1)
  25 NHSTUB(RefreshPhysicalScreen                  ,NULL_SUB) // NOT FOUND put to null, original in sx280 102b was 0xfc143599 
  26 NHSTUB(RenameFile_Fut                       ,0xFC301B5d + 0x4)
  27 NHSTUB(Restart                              ,0xFC0B96E5)
  28 NHSTUB(SetFileAttributes                    ,0xFC332C01 + 0x4)
  29 NHSTUB(SetFileTimeStamp                     ,0xFC332Bb9 + 0x4)
  30 NHSTUB(SetParameterData                     ,0xfc322acf + 0x4)
  31 //NHSTUB(TurnOffBackLight                     ,0xFC0E786B)
  32 //NHSTUB(TurnOnBackLight                      ,0xFC0E7859)
  33 NHSTUB(WriteSDCard                          ,0xFCD1D6B7 + 0x4)
  34 NHSTUB(apex2us                              ,0xFC3468bb + 0x4)
  35 //NHSTUB(rand                                 ,0xFC1619CF)
  36 NHSTUB(reboot_fw_update                     ,0xfc3a1177 + 0x4) // xxxcorrected from,0xfc3a1175)
  37 //NHSTUB(srand                                ,0xFC1619C1)
  38 NHSTUB(CancelHPTimer                        ,0xFC15BBFD)
  39 //NHSTUB(SetHPTimerAfterNow                   ,0xFC15BB65)
  40 // required because DryOS >=54 functions assert on unitialized event flag, sem etc
  41 // see https://chdk.setepontos.com/index.php?topic=12516.0
  42 NHSTUB(init_focus_eventflag,    0xfc4b54e7 + 0x4) // InitializeAdjustmentSystem->fc39f870->fc4b54e6 event flag matches MoveFocusLensToDistance
  43 NHSTUB(init_nd_eventflag,               0xfc4b55c9 + 0x4) // InitializeAdjustmentSystem->fc3d31c4->fc4b55c8 event flag matches PutInNdFilter
  44 NHSTUB(CreateBinarySemaphoreStrictly,0x010e5b8b) // for av_override_semaphore
  45 NHSTUB(captseq_raw_addr_init, 0xfc154c1b); //compare to g7x fc152772 + 1
  46 

/* [<][>][^][v][top][bottom][index][help] */