source: branches/philmoz/platform/sx10/sub/101a/stubs_entry_2.S @ 1343

Revision 1343, 1.6 KB checked in by philmoz, 20 months ago (diff)
  • Merged recent changes from main trunk to this branch.
  • Added experimental color/palette code for G12/SX30/IXUS310. Loads custom CHDK colors into camera palette. Adds better icons from CHDK-DE.
  • Property svn:eol-style set to native
Line 
1#include "stubs_asm.h"
2
3//NHSTUB(AllocateUncacheableMemory, 0xFF827FCC)
4NHSTUB(GetDrive_ClusterSize, 0xFF85AE98)
5NHSTUB(GetDrive_TotalClusters, 0xFF85AECC)
6NHSTUB(GetDrive_FreeClusters, 0xFF85AF00)
7//NHSTUB(SetPropertyCase, 0xFF8795D0)
8//NHSTUB(kbd_read_keys, 0xFF821B14)
9NHSTUB(platformsub_kbd_fetch_data, 0xFF84B660)
10NHSTUB(kbd_read_keys_r2, 0xFF84AF6C)
11NHSTUB(qsort, 0xFFAB815C)
12NHSTUB(strchr, 0xFF89B924)
13NHSTUB(strrchr, 0xFF9DF438)
14
15
16NHSTUB(TurnOffBackLight, 0xFF88F28C)
17//NHSTUB(vsprintf, 0xFF81CAE8)
18NHSTUB(VbattGet, 0xFF82046C)
19NHSTUB(GetZoomLensCurrentPoint, 0xFF941130)
20NHSTUB(GetZoomLensCurrentPosition, 0xFFA5B24C)
21NHSTUB(RefreshPhysicalScreen, 0xFF9DF040)
22NHSTUB(EnterToCompensationEVF, 0xFF825B10)
23NHSTUB(ExitFromCompensationEVF, 0xFF825B54)
24NHSTUB(DoAFLock, 0xFF825864)
25NHSTUB(UnlockAF, 0xFF82589C)
26NHSTUB(LEDDrive, 0xFF84AB48)
27NHSTUB(WriteSDCard, 0xFF92A9A4)
28NHSTUB(PostLogicalEventForNotPowerType, 0xFF87EC9C)
29NHSTUB(apex2us, 0xFF9E0128)
30NHSTUB(Restart, 0xFF829848)
31NHSTUB(PB2Rec, 0xFF883FD8)
32NHSTUB(Rec2PB, 0xFF882960)
33
34// null sub - point these at nullsub_1 as labelled in IDA
35
36NHSTUB(kbd_pwr_off, 0xFF81093C)
37NHSTUB(kbd_pwr_on, 0xFF81093C)
38NHSTUB(SetZoomActuatorSpeedPercent, 0xFF81093C)
39NHSTUB(SetScriptMode, 0xFF880C80) // string
40
41
42
43// Added by finsig_dryos V2 to match old values found by finsig.
44// Values should be checked in firmware, if the new address in stubs_entry.S
45// is correct then delete the correspoding entry below.
46NHSTUB(rename                        ,0xff823b38) // New address = 0xff8232bc
47NHSTUB(write                         ,0xff819aac) // New address = 0xff823b10
Note: See TracBrowser for help on using the repository browser.