source: trunk/platform/a420/sub/100b/stubs_entry_2.S @ 1736

Revision 1736, 1.4 KB checked in by reyalp, 14 months ago (diff)

add a420 100b port from srsa_4c in http://chdk.setepontos.com/index.php?topic=650.msg82864#msg82864 to development branch

  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2#define NULL_SUB 0xFFC017E8
3
4// Override stubs_entry.S
5NHSTUB(free,                        0xFFEA2A7C)//ok a420
6NHSTUB(VbattGet,                    0xFFC1B014)//ok a420
7NHSTUB(MakeAFScan,                  0xFFD2737C) //ok a420 i guess
8NHSTUB(EnterToCompensationEVF,      0xFFD24990) //ok a420
9NHSTUB(ExitFromCompensationEVF,     0xFFD249EC) //ok a420
10NHSTUB(DoAFLock,                    0xFFD22BA0) //ok a420
11NHSTUB(UnlockAF,                    0xFFD22BE4) //ok a420
12NHSTUB(GetDrive_ClusterSize,        0xFFC59C04) //may be ok a420
13NHSTUB(GetDrive_TotalClusters,      0xFFC59C40) //may be ok a420
14NHSTUB(GetDrive_FreeClusters,       0xFFC59C7C) // may be ok a420
15NHSTUB(WriteSDCard,                 0xFFC69060) //ok i guess a420
16NHSTUB(kbd_pwr_on,                  NULL_SUB) //wrong, null stub
17NHSTUB(kbd_pwr_off,                 NULL_SUB) //wrong, null stub
18
19// These don't exist
20NHSTUB(TurnOffMic,                  NULL_SUB) //useless on a420, null stub
21NHSTUB(TurnOnMic,                   NULL_SUB) //useless on a420, null stub
22NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB)//ok, null stub, a420 also
23
24// Additional
25NHSTUB(ExpCtrlTool_StopContiAE,     0xFFCD84C8) //ok a420
26NHSTUB(ExpCtrlTool_StartContiAE,    0xFFCD8498) //ok a420
27NHSTUB(SetScriptMode,               0xFFD36850) // ok a420
28NHSTUB(MFOn,                        0xffd2366c)
29NHSTUB(MFOff,                       0xffd2369c)
Note: See TracBrowser for help on using the repository browser.