1 #include "stubs_asm.h" 2 #define NULL_SUB 0xFF810B7C 3 4 // Override stubs_entry.S 5 NHSTUB(DeleteFile_Fut, 0xff82cdf8) 6 NHSTUB(kbd_pwr_off, NULL_SUB) 7 NHSTUB(kbd_pwr_on, NULL_SUB) 8 NHSTUB(MakeDirectory_Fut, 0xff82d908) // mkdir. This requires #define MKDIR_RETURN_ONE_ON_SUCCESS 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(TurnOffE1, 0xff830fa4) // for shutdown(), to complicated to emulate 13 NHSTUB(TurnOffMic, 0xff861f68) 14 NHSTUB(TurnOnMic, 0xff861f3c) 15 16 17 18 // These don't exist 19 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 20 NHSTUB(RefreshPhysicalScreen, NULL_SUB)