Changeset 1091
- Timestamp:
- 03/20/11 01:32:00 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/camera.h (modified) (1 diff)
-
platform/a720/sub/100c/boot.c (modified) (2 diffs)
-
platform/a720/sub/100c/capt_seq.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/camera.h
r1089 r1091 906 906 #define CAM_EV_IN_VIDEO 1 907 907 #undef CAM_VIDEO_CONTROL 908 #define CAM_EXT_TV_RANGE 1 908 // disabled for now, see http://chdk.setepontos.com/index.php?topic=6182.0 909 // #define CAM_EXT_TV_RANGE 1 909 910 910 911 // pattern -
trunk/platform/a720/sub/100c/boot.c
r1082 r1091 24 24 // if (p[0]==0xFFC5F754) p[0]=(int)task_InitFileModules_my; //done 25 25 if (p[0]==0xFFC49B18) p[0]=(int)MovieRecord_Task_my; //done 26 if (p[0]==0xFFC91454) p[0]=(int)exp_drv_task; //done 27 } 28 29 void taskCreateHook2(int *p) { 30 p-=16; 31 if (p[0]==0xFFC49B18) p[0]=(int)MovieRecord_Task_my; //done 32 if (p[0]==0xFFC91454) p[0]=(int)exp_drv_task; //done 26 // if (p[0]==0xFFC91454) p[0]=(int)exp_drv_task; //done 33 27 } 34 28 … … 67 61 :::"r0"); 68 62 */ 69 *(int*)0x1930=(int)taskCreateHook;70 *(int*)0x1934=(int)taskCreateHook2;63 *(int*)0x1930=(int)taskCreateHook; 64 *(int*)0x1934=(int)taskCreateHook; 71 65 72 66 // jump to init-sequence that follows the data-copy-routine -
trunk/platform/a720/sub/100c/capt_seq.c
r1069 r1091 244 244 } //#fe 245 245 246 /* 246 247 void __attribute__((naked,noinline)) exp_drv_task(){ 247 248 asm volatile( … … 283 284 "MOV R1, #1\n" 284 285 "BL sub_FFC18DEC\n" 285 "BL ExitTask\n"286 "BL _ExitTask\n" 286 287 "ADD SP, SP, #0x20\n" 287 288 "LDMFD SP!, {R4-R8,PC}\n" … … 699 700 "BNE loc_FFC91A70\n" 700 701 "MOV R3, #0\n" 701 "STR R3, [SP ,#0x0]\n"702 "STR R3, [SP]\n" 702 703 "MOV R3, #1\n" 703 704 "MOV R2, #1\n" … … 706 707 "BL sub_FFC8E1F0\n" 707 708 "MOV R3, #0\n" 708 "STR R3, [SP ,#0x0]\n"709 "STR R3, [SP]\n" 709 710 "MOV R3, #1\n" 710 711 "MOV R2, #1\n" … … 717 718 "MOV R1, #1\n" 718 719 "MOV R0, #1\n" 719 "STR R3, [SP ,#0x0]\n"720 "STR R3, [SP]\n" 720 721 "BL sub_FFC8E1F0\n" 721 722 "MOV R3, #1\n" … … 723 724 "MOV R1, #1\n" 724 725 "MOV R0, #1\n" 725 "STR R3, [SP ,#0x0]\n"726 "STR R3, [SP]\n" 726 727 "loc_FFC91A9C:\n" 727 728 "BL sub_FFC8E330\n" … … 853 854 ); 854 855 } 856 */
Note: See TracChangeset
for help on using the changeset viewer.