1 #include "stubs_asm.h" 2 #define NULL_SUB 0xFF810B4C 3 4 // Override stubs_entry.S 5 NHSTUB(DeleteFile_Fut, 0xff82fa00) 6 NHSTUB(kbd_pwr_off, NULL_SUB) 7 NHSTUB(kbd_pwr_on, NULL_SUB) 8 NHSTUB(MakeDirectory_Fut, 0xff8305a4) 9 NHSTUB(GetBatteryTemperature, NULL_SUB) // Does not work in A1200, SX130, A800 & A810 (included dummy in sub/100c/lib.c) 10 11 // Additional 12 //NHSTUB(MakeAFScan, 0xff95f1bc) //Obtained comparing code to a495 100f - Camera makes one AF, then crashes. 13 NHSTUB(platformsub_kbd_fetch_data, 0xff856648) 14 NHSTUB(TurnOnMic, 0xff856e48) 15 NHSTUB(TurnOffMic, 0xff856e74) 16 17 // These don't exist 18 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 19 NHSTUB(srand, NULL_SUB) //overridable function 20 NHSTUB(rand, NULL_SUB) //overridable function 21 22 IGNORE(MakeAFScan) // Custom version in lib.c, ignore firmware version