root/platform/g5x/sub/101b/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 0xFC066A49 // bx lr
   6 
   7 NHSTUB(EnterToCompensationEVF                 ,0xFC2D38E5)
   8 NHSTUB(ExitFromCompensationEVF                ,0xFC2D3927)
   9 NHSTUB(ExpCtrlTool_StartContiAE               ,0xFC2CDB5B)
  10 NHSTUB(ExpCtrlTool_StopContiAE                ,0xFC2CDD4D)
  11 NHSTUB(Feof_Fut                               ,0xfc3b8fdd)
  12 NHSTUB(Fflush_Fut                             ,0xfc3b9005)
  13 NHSTUB(GetDrive_TotalClusters                 ,0xfc3b738f) // function immediately before GetDrive_FreeClusters in ROM
  14 NHSTUB(GetFocusLensSubjectDistanceFromLens    ,0xfc3ba223)
  15 NHSTUB(GetImageFolder                         ,0xfc39d655)
  16 NHSTUB(MakeSDCardBootable                     ,0xfc3b68af)
  17 NHSTUB(RenameFile_Fut                         ,0xfc3b8d8d)
  18 NHSTUB(Restart                                ,0xFC0C306F)
  19 NHSTUB(SetFileTimeStamp                       ,0xfc3b5f07)
  20 NHSTUB(TurnOffBackLight                       ,0xFC15BB35)  // Does not do anything?
  21 NHSTUB(TurnOnBackLight                        ,0xFC15BB31)  // Does not do anything?
  22 NHSTUB(apex2us                                ,0xfc25f5cb)
  23 NHSTUB(err_init_task                          ,0xFC06647B)
  24 NHSTUB(mkdir                                  ,0xfc3b5fbf)
  25 NHSTUB(realloc                                ,0xfc5e535d)
  26 NHSTUB(reboot_fw_update                       ,0xFC28B97D)
  27 NHSTUB(CancelHPTimer                          ,0xFC165D89)
  28 
  29 NHSTUB(VTMLock                                ,0xfc3be3bf)
  30 NHSTUB(VTMUnlock                              ,0xfc3be5e7)
  31 
  32 NHSTUB(GetActiveViewportBuffer                ,0xfc108e67)
  33 
  34 NHSTUB(displayblankscreen,                     0xFC3532E7)
  35 NHSTUB(undisplayblankscreen,                   0xFC353385)
  36 
  37 // Ignore event proc versions, use inner functions from wrapper
  38 IGNORE(PutInNdFilter)
  39 IGNORE(PutOutNdFilter)
  40 IGNORE(MoveFocusLensToDistance)
  41 NHSTUB(PutInNdFilter_FW                       ,0xfc1ca7fb)
  42 NHSTUB(PutOutNdFilter_FW                      ,0xfc1ca825)
  43 NHSTUB(MoveFocusLensToDistance_FW             ,0xfc667c4b)
  44 
  45 //// required because DryOS >=54 functions assert on unitialized event flag, sem etc
  46 //// see https://chdk.setepontos.com/index.php?topic=12516.0
  47 //NHSTUB(init_focus_eventflag                   ,0xfc667e47) // InitializeAdjustmentSystem->fc662948->fc667e0a event flag matches MoveFocusLensToDistance
  48 //NHSTUB(init_nd_eventflag                      ,0xfc667f49) // InitializeAdjustmentSystem->fc662948->fc667f1c event flag matches PutInNdFilter
  49 
  50 // gets raw address and other stuff for next shot, stores in structure pointed to by r1
  51 // via sub_fc08ec20, sub_fc1e56a6 called from capt_seq_task. Calls sub_fc0d3b56 to get raw address
  52 NHSTUB(captseq_raw_addr_init                  ,0xfc09bf49)
  53 
  54 // These don't exist
  55 NHSTUB(PT_PlaySound                           ,NULL_SUB)
  56 NHSTUB(ScreenLock                             ,NULL_SUB)
  57 NHSTUB(ScreenUnlock                           ,NULL_SUB)
  58 NHSTUB(SetFileAttributes                      ,NULL_SUB)
  59 NHSTUB(SetZoomActuatorSpeedPercent            ,NULL_SUB)
  60 NHSTUB(UnsetZoomForMovie                      ,NULL_SUB)
  61 NHSTUB(WriteSDCard                            ,NULL_SUB)

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