source: branches/reyalp-ptp-live/platform/ixus200_sd980/sub/101c/stubs_entry.S @ 1911

Revision 1911, 16.0 KB checked in by reyalp, 12 months ago (diff)

update live view branch to trunk 1910

  • Property svn:eol-style set to native
Line 
1// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
2#include "stubs_asm.h"
3
4// Camera info:
5//   DRYOS R39 (DRYOS version 2.3, release #0039)
6//   Firmware Ver GM1.01C
7//   Canon DIGITAL IXUS 200 IS
8
9// Values for makefile.inc
10//   PLATFORMOSVER = 39
11//   PLATFORMID = 12773 (0x31e5) // Found @ 0xfffe0130
12//   MAXRAMADDR = 0x03ffffff
13//   KEYSYS = d4                 // Found @ 0xffff3564
14//   NEED_ENCODED_DISKBOOT = 3   // Found @ 0xffff3574
15
16// Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S'
17//    Name                                     Address      Rule  %  Comp to stubs_entry_2.S
18NSTUB(kbd_pwr_off                             ,0xff85ae98) //  2 64%
19// ERROR: kbd_pwr_on is not found.                         //--- ---    *** != 0x00000000
20
21// Check of modemap from 'platform/CAMERA/shooting.c':
22// Firmware modemap table found @ff894674 -> ff890d94 -> ff978aa0 -> ffaab250 -> ffbda9ac
23// Mode 32774 in firmware but not in current modemap
24// Mode 33288 in firmware but not in current modemap
25// Mode 33307 in firmware but not in current modemap
26// Mode 33308 in firmware but not in current modemap
27// Mode 32797 in firmware but not in current modemap
28// Mode 32786 in firmware but not in current modemap
29// Mode 32788 in firmware but not in current modemap
30// Mode 32789 in firmware but not in current modemap
31// Mode 32785 in firmware but not in current modemap
32// Mode 33295 in firmware but not in current modemap
33// Mode 32784 in firmware but not in current modemap
34// Mode  2601 in firmware but not in current modemap
35// Mode  2602 in firmware but not in current modemap
36// Current modemap entry not found in firmware - MODE_SCN_COLOR_SWAP      16924
37// Current modemap entry not found in firmware - MODE_SCN_COLOR_ACCENT    16923
38// Current modemap entry not found in firmware - MODE_SCN_ISO_3200        16413
39// Current modemap entry not found in firmware - MODE_SCN_BEACH           16405
40// Current modemap entry not found in firmware - MODE_SCN_SNOW            16404
41// Current modemap entry not found in firmware - MODE_SCN_SUNSET          16402
42// Current modemap entry not found in firmware - MODE_SCN_INDOOR          16401
43// Current modemap entry not found in firmware - MODE_SCN_NIGHT_SCENE     16398
44// Current modemap entry not found in firmware - MODE_SPORTS              33287
45// Current modemap entry not found in firmware - MODE_VIDEO_STD            3622
46// Current modemap entry not found in firmware - MODE_LANDSCAPE           32780
47// Current modemap entry not found in firmware - MODE_M                   32769
48// Current modemap entry not found in firmware - MODE_AV                  32770
49// Current modemap entry not found in firmware - MODE_TV                  32771
50
51// Values below can be overridden in 'stubs_min.S':
52DEF(physw_status                            ,0x00044558) // Found @0xff8335a8
53DEF(physw_run                               ,0x00001c44) // Found @0xff833200
54DEF(levent_table                            ,0xffb7a2a0) // Found @0xffb7a2a0
55DEF(FlashParamsTable                        ,0xffbdab94) // Found @0xffbdab94
56DEF(movie_status                            ,0x000067e0) // Found @0xff94ac20
57DEF(full_screen_refresh                     ,0x0001b2dc) // Found @0xff9f751c
58DEF(canon_menu_active                       ,0x00002ec8) // Found @0xff889704
59DEF(canon_shoot_menu_active                 ,0x00007b09) // Found @0xff98d9ac
60DEF(playrec_mode                            ,0x00002bfc) // Found @0xff87bbdc
61DEF(zoom_status                             ,0x0001e3d4) // Found @0xffaadcdc
62DEF(some_flag_for_af_scan                   ,0x00006cd4) // Found @0xff94dc3c
63// focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c).
64// each entry contains 3 int value(s), the first is the zoom focus length.
65// there are 12 entries in the table - set NUM_FL to 12
66DEF(focus_len_table                         ,0xfffe2ac8) // Found @0xfffe2ac8
67DEF(zoom_busy                               ,0x0000670c) // Found @0xff946e00
68DEF(focus_busy                              ,0x00006608) // Found @0xff941f28
69DEF(recreview_hold                          ,0x00003818) // Found @0xff89a778
70
71// Values below go in 'lib.c':
72//void *vid_get_bitmap_fb()        { return (void*)0x40431000; }             // Found @0xff853588
73//void *vid_get_viewport_fb()      { return (void*)0x408cb700; }             // Found @0xffb0b880
74//void *vid_get_viewport_fb_d()    { return (void*)(*(int*)(0x28f0+0x58)); } // Found @0xff86d354 & 0xff86d38c
75//char *camera_jpeg_count_str()    { return (char*)0x00084ca4; }             // Found @0xff9e8aa8
76//long hook_raw_size()             { return 0x011ca240; }                    // Found @0xffb0e710
77//int get_flash_params_count(void) { return 0x84; }                          // Found @0xff979b5c
78
79// Bitmap masks and physw_status index values for SD_READONLY and USB power flags (for kbd.c).
80//#define SD_READONLY_FLAG    0x00020000 // Found @0xffb404e8, levent 0x90a
81//#define SD_READONLY_IDX     2
82//#define USB_MASK            0x00100000 // Found @0xffb40500, levent 0x902
83//#define USB_IDX             2
84
85// Keymap values for kbd.c. Additional keys may be present, only common values included here.
86//static KeyMap keymap[] = {
87//    { 2, KEY_SHOOT_FULL      ,0x00000300 }, // Found @0xffb404ac, levent 0x01
88//    { 2, KEY_SHOOT_FULL_ONLY ,0x00000200 }, // Found @0xffb404ac, levent 0x01
89//    { 2, KEY_SHOOT_HALF      ,0x00000100 }, // Found @0xffb404a0, levent 0x00
90//    { 2, KEY_MENU            ,0x00000001 }, // Found @0xffb40440, levent 0x09
91//    { 2, KEY_SET             ,0x00000002 }, // Found @0xffb4044c, levent 0x08
92//    { 2, KEY_ZOOM_IN         ,0x00000004 }, // Found @0xffb40458, levent 0x02
93//    { 2, KEY_ZOOM_OUT        ,0x00000008 }, // Found @0xffb40464, levent 0x03
94//    { 2, KEY_LEFT            ,0x00000010 }, // Found @0xffb40470, levent 0x06
95//    { 2, KEY_RIGHT           ,0x00000020 }, // Found @0xffb4047c, levent 0x07
96//    { 2, KEY_DOWN            ,0x00000040 }, // Found @0xffb40488, levent 0x05
97//    { 2, KEY_UP              ,0x00000080 }, // Found @0xffb40494, levent 0x04
98//    { 0, 0, 0 }
99//};
100
101// Values below go in 'platform_camera.h':
102//#define CAM_DRYOS         1
103//#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher
104//#define CAM_RAW_ROWPIX    4080 // Found @0xff91bfbc
105//#define CAM_RAW_ROWS      3048 // Found @0xff91bfc4
106//#undef  CAM_UNCACHED_BIT
107//#define CAM_UNCACHED_BIT  0x40000000 // Found @0xff838a1c
108
109// Misc stuff
110DEF(ctypes, 0xffb3eb3e)
111
112// For capt_seq.c
113//static long *nrflag = (long*)(0x6cb8-0x08);  // Found @ ff94ff04 & ff94ff20
114
115// Stubs below matched 100%.
116//    Name                                     Address                Comp to stubs_entry_2.S
117NSTUB(AllocateMemory                          ,0xffa9edb0) //101
118NSTUB(AllocateUncacheableMemory               ,0xff8389d8) //112
119NSTUB(Close                                   ,0xff835408) //101
120NSTUB(CreateTask                              ,0xff81e5b4) //101
121NSTUB(DebugAssert                             ,0xff81e88c) //111
122NSTUB(DeleteDirectory_Fut                     ,0xff834e78) //  1
123NSTUB(DeleteFile_Fut                          ,0xff834d94) //112
124NSTUB(DoAFLock                                ,0xff8368f0) //102
125NSTUB(EnterToCompensationEVF                  ,0xff836ae0) //104
126NSTUB(ExecuteEventProcedure                   ,0xff884de0) //  1
127NSTUB(ExitFromCompensationEVF                 ,0xff836b24) //104
128NSTUB(ExitTask                                ,0xff81e844) //101
129NSTUB(ExpCtrlTool_StartContiAE                ,0xff844254) //104
130NSTUB(ExpCtrlTool_StopContiAE                 ,0xff84432c) //104
131NSTUB(Fclose_Fut                              ,0xff834f10) //101
132NSTUB(Feof_Fut                                ,0xff8350fc) //  1
133NSTUB(Fflush_Fut                              ,0xff835138) //  1
134NSTUB(Fgets_Fut                               ,0xff835064) //  1
135NSTUB(Fopen_Fut                               ,0xff834ed0) //101
136NSTUB(Fread_Fut                               ,0xff834fbc) //101
137NSTUB(FreeMemory                              ,0xffa9eda8) //101
138NSTUB(FreeUncacheableMemory                   ,0xff838a18) //112
139NSTUB(Fseek_Fut                               ,0xff8350b0) //101
140NSTUB(Fwrite_Fut                              ,0xff835010) //101
141NSTUB(GetBatteryTemperature                   ,0xff85e2ac) //102
142NSTUB(GetCCDTemperature                       ,0xff85e238) //102
143NSTUB(GetCurrentAvValue                       ,0xff9446cc) //102
144NSTUB(GetDrive_ClusterSize                    ,0xff86bb04) //  3
145NSTUB(GetDrive_FreeClusters                   ,0xff86bb64) //  3
146NSTUB(GetDrive_TotalClusters                  ,0xff86bb38) //  3
147NSTUB(GetFocusLensSubjectDistance             ,0xff942ca0) //102
148NSTUB(GetFocusLensSubjectDistanceFromLens     ,0xff9430e8) //  3
149NSTUB(GetImageFolder                          ,0xff923de8) //106
150NSTUB(GetKbdState                             ,0xff85ae80) //109
151NSTUB(GetMemInfo                              ,0xff81a070) //  3
152NSTUB(GetOpticalTemperature                   ,0xff85e320) //102
153NSTUB(GetParameterData                        ,0xff979b1c) //101
154NSTUB(GetPropertyCase                         ,0xff888b48) //102
155NSTUB(GetSystemTime                           ,0xffa9ee08) //101
156NSTUB(GetVRAMHPixelsSize                      ,0xff8e1e14) //102
157NSTUB(GetVRAMVPixelsSize                      ,0xff8e1e20) //102
158NSTUB(GetZoomLensCurrentPoint                 ,0xff947174) //102
159NSTUB(GetZoomLensCurrentPosition              ,0xffa904f8) //102
160NSTUB(GiveSemaphore                           ,0xff8383f4) //112
161NSTUB(IsStrobeChargeCompleted                 ,0xff8c3a24) //102
162NSTUB(LEDDrive                                ,0xff85a31c) //103
163NSTUB(LocalTime                               ,0xff882754) //  1
164NSTUB(LockMainPower                           ,0xff8909b0) //103
165NSTUB(Lseek                                   ,0xff835524) //101
166NSTUB(MakeDirectory_Fut                       ,0xff834e08) //  1
167NSTUB(MoveFocusLensToDistance                 ,0xffb08268) //102
168NSTUB(MoveIrisWithAv                          ,0xffa9c344) //102
169NSTUB(MoveZoomLensWithPoint                   ,0xffa9c990) //102
170NSTUB(NewTaskShell                            ,0xff8885f4) //103
171NSTUB(Open                                    ,0xff8353b0) //101
172NSTUB(PB2Rec                                  ,0xff8939dc) //104
173NSTUB(PT_MoveDigitalZoomToWide                ,0xff8747cc) //102
174NSTUB(PT_MoveOpticalZoomAt                    ,0xff8747a4) //102
175NSTUB(PT_PlaySound                            ,0xff87d8a8) //102
176NSTUB(PostLogicalEventForNotPowerType         ,0xff88e7b8) //103
177NSTUB(PostLogicalEventToUI                    ,0xff88e804) //103
178NSTUB(PutInNdFilter                           ,0xffb05ec8) //102
179NSTUB(PutOutNdFilter                          ,0xffb05f00) //102
180NSTUB(Read                                    ,0xff81ab78) //101
181NSTUB(ReadFastDir                             ,0xffa7e1f4) //  3
182NSTUB(Rec2PB                                  ,0xff893a1c) //104
183NSTUB(RefreshPhysicalScreen                   ,0xff9f8694) //104
184NSTUB(Remove                                  ,0xff83543c) //  4
185NSTUB(RenameFile_Fut                          ,0xff834d00) //  4
186NSTUB(Restart                                 ,0xff83a130) //106
187NSTUB(ScreenLock                              ,0xff9f98b4) //  3
188NSTUB(ScreenUnlock                            ,0xff9f98dc) //  3
189NSTUB(SetAE_ShutterSpeed                      ,0xffb0a9f8) //102
190NSTUB(SetAutoShutdownTime                     ,0xff890a24) //103
191NSTUB(SetCurrentCaptureModeType               ,0xff897d04) //101
192NSTUB(SetFileAttributes                       ,0xff8356d8) //  3
193NSTUB(SetFileTimeStamp                        ,0xff835694) //  3
194NSTUB(SetLogicalEventActive                   ,0xff8906fc) //101
195NSTUB(SetParameterData                        ,0xff979a8c) //101
196NSTUB(SetPropertyCase                         ,0xff888a44) //102
197NSTUB(SetScriptMode                           ,0xff89074c) //101
198NSTUB(SleepTask                               ,0xff83865c) //101
199NSTUB(TakeSemaphore                           ,0xff838324) //101
200NSTUB(TurnOffBackLight                        ,0xff89e2b8) //104
201NSTUB(TurnOnBackLight                         ,0xff89e2a0) //104
202NSTUB(UIFS_WriteFirmInfoToFile                ,0xff9642c8) //105
203NSTUB(UnlockAF                                ,0xff836928) //102
204NSTUB(UnlockMainPower                         ,0xff890904) //103
205NSTUB(UnsetZoomForMovie                       ,0xff97fdd8) //104
206NSTUB(UpdateMBROnFlash                        ,0xff86b984) //105
207NSTUB(VbattGet                                ,0xff831e04) //103
208NSTUB(Write                                   ,0xff835498) //101
209NSTUB(WriteSDCard                             ,0xff933968) //108
210NSTUB(_log                                    ,0xffb3bc6c) //111
211NSTUB(_log10                                  ,0xffb3a8f8) //112
212NSTUB(_pow                                    ,0xffb3aa68) //114
213NSTUB(_sqrt                                   ,0xffb3d8f0) //  1
214NSTUB(add_ptp_handler                         ,0xffa3f98c) //  3
215NSTUB(apex2us                                 ,0xff9fd42c) //  4
216NSTUB(close                                   ,0xff81a990) //  1
217NSTUB(closedir                                ,0xffa7e07c) //  3
218NSTUB(err_init_task                           ,0xff815f28) //  4
219NSTUB(exmem_alloc                             ,0xff883614) //103
220NSTUB(free                                    ,0xff814138) //112
221NSTUB(kbd_p1_f                                ,0xff833624) //109
222NSTUB(kbd_p1_f_cont                           ,0xff833630) //109
223NSTUB(kbd_p2_f                                ,0xff832ecc) //109
224NSTUB(kbd_read_keys                           ,0xff8335a8) //109
225NSTUB(kbd_read_keys_r2                        ,0xff85a83c) //109
226NSTUB(lseek                                   ,0xff835524) //101
227NSTUB(malloc                                  ,0xff8140dc) //112
228NSTUB(memcmp                                  ,0xff8203e8) //101
229NSTUB(memcpy                                  ,0xff83df94) //101
230NSTUB(memset                                  ,0xff9fbfa0) //101
231NSTUB(mkdir                                   ,0xff83587c) //  3
232NSTUB(mktime_ext                              ,0xff8a5d68) //  1
233NSTUB(open                                    ,0xff81a8e0) //  1
234NSTUB(opendir                                 ,0xffa7e0c0) //  3
235NSTUB(openfastdir                             ,0xffa7e0c0) //  3
236NSTUB(qsort                                   ,0xff9fc560) //  1
237NSTUB(rand                                    ,0xff8204f0) //  1
238NSTUB(read                                    ,0xff81ab78) //101
239NSTUB(reboot_fw_update                        ,0xffa83704) //  1
240NSTUB(rename                                  ,0xff834d00) //  4
241NSTUB(set_control_event                       ,0xff89032c) //111
242NSTUB(srand                                   ,0xff8204e4) //  1
243NSTUB(stat                                    ,0xff835560) //  3
244// ALT: NSTUB(stat, 0xff868f48) // 3 31/0
245NSTUB(strcat                                  ,0xff8a5524) //  1
246NSTUB(strchr                                  ,0xff813fc0) //  1
247NSTUB(strcmp                                  ,0xff8203a4) //101
248NSTUB(strcpy                                  ,0xff82038c) //101
249NSTUB(strftime                                ,0xff8a5770) //  1
250NSTUB(strlen                                  ,0xff81400c) //101
251NSTUB(strncmp                                 ,0xff813f74) //  1
252NSTUB(strncpy                                 ,0xff813f38) //  1
253NSTUB(strrchr                                 ,0xff813fe4) //  1
254NSTUB(strtol                                  ,0xff83e274) //101
255NSTUB(strtolx                                 ,0xff83e078) //109
256  DEF(task_CaptSeq                            ,0xff876e70) //107
257  DEF(task_ExpDrv                             ,0xff8ba2d4) //110
258  DEF(task_InitFileModules                    ,0xff894500) //107
259  DEF(task_MovieRecord                        ,0xff94af08) //107
260  DEF(task_PhySw                              ,0xff8331fc) //107
261  DEF(task_RotaryEncoder                      ,0xff85afb0) //107
262NSTUB(time                                    ,0xff882ccc) //  2
263NSTUB(vsprintf                                ,0xff820350) //  1
264NSTUB(write                                   ,0xff835498) //101
Note: See TracBrowser for help on using the repository browser.