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

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