- Timestamp:
- 04/17/11 17:47:20 (2 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
core/gui.c (modified) (2 diffs)
-
platform/g12/platform_camera.h (modified) (1 diff)
-
platform/g12/sub/100c/boot.c (modified) (2 diffs)
-
platform/g12/sub/100e/boot.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui.c
r1124 r1148 2368 2368 // If defined the exmem memory is allocated; but not used for CHDK. 2369 2369 // It is filled with a guard value (see wrappers.c) which is checked here 2370 // Any corruption is reported, otherwise 'OK' is displayed on screen.2370 // Any corruption is reported, otherwise 'OK' is displayed on screen (along with the exmem memory start address). 2371 2371 extern void *exmem_start, *exmem_end; 2372 2372 // check exmem allocated memory for corruption … … 2392 2392 else 2393 2393 { 2394 s trcpy(osd_buf,"OK");2394 sprintf(osd_buf, "OK 0x%x", exmem_start); 2395 2395 } 2396 2396 draw_txt_string(2, 13, osd_buf, conf.osd_color); -
trunk/platform/g12/platform_camera.h
r1140 r1148 79 79 //need fixing ***************************************************** 80 80 #define cam_CalibrationIlluminant1 17 // Standard Light A 81 /* 81 82 #define CAM_COLORMATRIX1 \ 82 14134, 1000000, -5576, 1000000, -1527, 1000000, \ 83 -1991, 1000000, 10719, 1000000, 1273, 1000000, \ 84 -1158, 1000000, 1929, 1000000, 3581, 1000000 83 14134, 100000, -5576, 100000, -1527, 100000, \ 84 -1991, 100000, 10719, 100000, 1273, 100000, \ 85 -1158, 100000, 1929, 100000, 3581, 100000 86 */ 87 // From dcraw 88 #define CAM_COLORMATRIX1 \ 89 13244, 10000, -5501, 10000, -1248, 10000, \ 90 -1508, 10000, 9858, 10000, 1935, 10000, \ 91 -270, 10000, 1083, 10000, 4366, 10000 85 92 86 93 // cropping -
trunk/platform/g12/sub/100c/boot.c
r1145 r1148 49 49 if(tcb->entry == (void*)task_MovieRecord) tcb->entry = (void*)movie_record_task; 50 50 if(tcb->entry == (void*)task_ExpDrv) tcb->entry = (void*)exp_drv_task; 51 }52 53 void taskHook2(context_t **context)54 {55 task_t *tcb=(task_t*)((char*)context-offsetof(task_t, context));56 57 // Replace firmware task addresses with ours58 if(tcb->entry == (void*)task_InitFileModules) tcb->entry = (void*)init_file_modules_task;59 51 } 60 52 … … 182 174 //http://chdk.setepontos.com/index.php/topic,4194.0.html 183 175 *(int*)0x1938=(int)taskHook; 184 *(int*)0x193C=(int)taskHook 2; // setting this to an empty function seems to fix startup crash in movie mode ???176 *(int*)0x193C=(int)taskHook; 185 177 186 178 // replacement of sub_FF864BE0 for correct power-on. -
trunk/platform/g12/sub/100e/boot.c
r1145 r1148 49 49 if(tcb->entry == (void*)task_MovieRecord) tcb->entry = (void*)movie_record_task; 50 50 if(tcb->entry == (void*)task_ExpDrv) tcb->entry = (void*)exp_drv_task; 51 }52 53 void taskHook2(context_t **context)54 {55 51 } 56 52 … … 178 174 //http://chdk.setepontos.com/index.php/topic,4194.0.html 179 175 *(int*)0x1938=(int)taskHook; 180 *(int*)0x193C=(int)taskHook 2; // setting this to an empty function seems to fix startup crash in movie mode ???176 *(int*)0x193C=(int)taskHook; 181 177 182 178 // replacement of sub_FF864BE0 for correct power-on.
Note: See TracChangeset
for help on using the changeset viewer.