1 #include "stubs_asm.h" 2 #define NULL_SUB 0xff8141d8 3 4 //Definitions for code_gen 5 DEF(task_InitFileModules, 0xff997208) 6 DEF(task_MovieRecord, 0xff9482bc) 7 DEF(task_CaptSeq, 0xff9533c4) 8 DEF(task_ExpDrv, 0xff8fa108) 9 DEF(task_FileWrite, 0xff86ac3c) 10 11 // Override stubs_entry.S 12 NHSTUB(VbattGet, 0xff82f0f4) //close to **"VbattGet" string 13 NHSTUB(free, 0xffc1d8f8) //There is a call to free close to "Memory.c" string 14 NHSTUB(GetDrive_ClusterSize, 0xff872990) //by comparison to ixus65 100a 15 NHSTUB(GetDrive_FreeClusters, 0xff86b75c) //close to **"AvailClusters.c" 16 NHSTUB(GetDrive_TotalClusters, 0xff8729cc) //by comparison to ixus65 100a 17 NHSTUB(kbd_pwr_on, 0xFF82AF70) 18 NHSTUB(kbd_pwr_off, 0xFF82AFB0) 19 NHSTUB(GetKbdState, 0xFF82AF2C) 20 NHSTUB(UnlockAF, 0xff94fa20) //Close to "CompleteUnlockAF" 21 NHSTUB(DoAFLock, 0xff94f9b8) //by comparsion to ixus65 close to "CompleteAFLock" 22 NHSTUB(kbd_read_keys, 0xff829d60) //by comparsion to ixus65 23 NHSTUB(kbd_read_keys_r2, 0xff82aaac) //by comparison to ixus65 24 NHSTUB(kbd_p1_f, 0xff829c94) //autodetection OK 25 NHSTUB(kbd_p1_f_cont, 0xff829ca0) //autodetection OK 26 NHSTUB(kbd_p2_f, 0xff82a078) //autodetection OK 27 NHSTUB(Mount_FileSystem, 0xff8724d0) //autodetection OK 28 NHSTUB(EnterToCompensationEVF, 0xff951ab0) //autodetection OK, similar to ixus55 29 NHSTUB(GetZoomLensCurrentPosition, 0xffb6608c) //by comparison to ixus65 30 NHSTUB(Restart, 0xff8252a0) //by comparison to ixus65 31 NHSTUB(SetParameterData, 0xff96a23c) //similar to ixus65 32 33 // To do: 34 //NHSTUB(ExitFromCompensationEVF ,0xff95324c) // 2 90% 35 //NHSTUB(GetFocusLensSubjectDistance ,0xffb751d8) // 1 96% 36 //NHSTUB(GetFocusLensSubjectDistanceFromLens ,0xffb75778) // 3 92% 37 //NHSTUB(GetParameterData ,0xff96a31c) // 1 96% 38 //NHSTUB(GetSystemTime ,0xff81761c) // 1 96% 39 //NHSTUB(PutInNdFilter ,0xffb7ff84) // 1 92% 40 //NHSTUB(PutOutNdFilter ,0xffb7ffcc) // 1 94% 41 //NHSTUB(SetLogicalEventActive ,0xff963624) // 1 88% 42 //NHSTUB(UnsetZoomForMovie ,0xff9a7ce0) // 1 89% 43 //NHSTUB(add_ptp_handler ,0xffa62090) // 1 96% 44 //NHSTUB(malloc ,0xffc1d8ec) // 1 53% 45 //NHSTUB(taskIdListGet ,0xffc2c248) // 1 82% 46 //NHSTUB(localtime ,0xffc15040) // 1 93% 47 //NHSTUB(MakeAFScan ,0xff9542fc) // 1 96% 48 49 // Additional 50 NHSTUB(SetScriptMode, 0xff96368c) //close to **"SetScriptMode" string 51 NHSTUB(UniqueLedOff, 0xff830b98) //close to "gfff" found by comparison to ixus55 100b 52 NHSTUB(UniqueLedOn, 0xff830b24) //close to "gfff" found by comparison to ixus55 100b 53 NHSTUB(GiveSemaphore, 0xff82395c) //from movie_record_task 54 55 56 // These don't exist 57 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 58