Changeset 1401
- Timestamp:
- 11/10/11 04:29:40 (19 months ago)
- Location:
- branches/philmoz
- Files:
-
- 32 added
- 10 edited
-
camera_list.csv (modified) (1 diff)
-
core/gui.c (modified) (2 diffs)
-
core/gui_draw.h (modified) (1 diff)
-
core/kbd.c (modified) (1 diff)
-
core/live_view.c (modified) (2 diffs)
-
core/live_view.h (modified) (1 diff)
-
core/raw.c (modified) (1 diff)
-
include/camera.h (modified) (1 diff)
-
loader/sx40hs (added)
-
loader/sx40hs/Makefile (added)
-
loader/sx40hs/blobs.S (added)
-
loader/sx40hs/entry.S (added)
-
loader/sx40hs/main.c (added)
-
loader/sx40hs/resetcode (added)
-
loader/sx40hs/resetcode/Makefile (added)
-
loader/sx40hs/resetcode/entry.S (added)
-
loader/sx40hs/resetcode/main.c (added)
-
platform/generic/wrappers.c (modified) (1 diff)
-
platform/sx40hs (added)
-
platform/sx40hs/Makefile (added)
-
platform/sx40hs/kbd.c (added)
-
platform/sx40hs/lib.c (added)
-
platform/sx40hs/main.c (added)
-
platform/sx40hs/notes.txt (added)
-
platform/sx40hs/platform_camera.h (added)
-
platform/sx40hs/shooting.c (added)
-
platform/sx40hs/sub (added)
-
platform/sx40hs/sub/100g (added)
-
platform/sx40hs/sub/100g/Makefile (added)
-
platform/sx40hs/sub/100g/boot.c (added)
-
platform/sx40hs/sub/100g/capt_seq.c (added)
-
platform/sx40hs/sub/100g/lib.c (added)
-
platform/sx40hs/sub/100g/makefile.inc (added)
-
platform/sx40hs/sub/100g/movie_rec.c (added)
-
platform/sx40hs/sub/100g/stubs_asm.h (added)
-
platform/sx40hs/sub/100g/stubs_auto.S (added)
-
platform/sx40hs/sub/100g/stubs_entry.S (added)
-
platform/sx40hs/sub/100g/stubs_entry_2.S (added)
-
platform/sx40hs/sub/100g/stubs_min.S (added)
-
platform/sx40hs/sub/Makefile (added)
-
platform/sx40hs/wrappers.c (added)
-
tools/finsig_dryos.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/philmoz/camera_list.csv
r1400 r1401 153 153 sx30,100n,,, 154 154 sx30,100p,,, 155 sx40hs,100f,ALPHA,, 156 sx40hs,100g,ALPHA,, 155 157 tx1,100g,,, 156 158 tx1,101b,,, -
branches/philmoz/core/gui.c
r1400 r1401 101 101 // KEY_LEFT/KEY_RIGHT is used for gui_subj_dist_override_value_enum (because of no separate ZOOM_IN/OUT) 102 102 103 #elif defined(CAMERA_g7) || defined(CAMERA_sx10) || defined(CAMERA_sx1) || defined(CAMERA_sx20) || defined(CAMERA_sx30) 103 #elif defined(CAMERA_g7) || defined(CAMERA_sx10) || defined(CAMERA_sx1) || defined(CAMERA_sx20) || defined(CAMERA_sx30) || defined(CAMERA_sx40hs) 104 104 //Alt mode 105 105 #define SHORTCUT_TOGGLE_RAW KEY_ERASE … … 1254 1254 static const char* names[]={ "Print", "Face"}; 1255 1255 static const int keys[]={ KEY_PRINT, KEY_FACE }; 1256 #elif defined(CAMERA_sx10) || defined(CAMERA_sx1) || defined(CAMERA_sx20) || defined(CAMERA_sx30) 1256 #elif defined(CAMERA_sx10) || defined(CAMERA_sx1) || defined(CAMERA_sx20) || defined(CAMERA_sx30) || defined(CAMERA_sx40hs) 1257 1257 static const char* names[]={ "Shrtcut", "Flash", "Video"}; 1258 1258 static const int keys[]={ KEY_PRINT, KEY_FLASH, KEY_VIDEO }; -
branches/philmoz/core/gui_draw.h
r1378 r1401 599 599 #elif CAM_BITMAP_PALETTE==12 600 600 601 // Used by :- G12, SX30, IXUS310_ELPH500HS601 // Used by :- G12, SX30, SX40HS, IXUS310_ELPH500HS 602 602 603 603 // Default Canon colors -
branches/philmoz/core/kbd.c
r1400 r1401 59 59 #endif 60 60 61 #if defined(CAMERA_sx30) 61 #if defined(CAMERA_sx30) || defined(CAMERA_sx40hs) 62 62 #define ZSTEP_TABLE_SIZE 11 63 63 static int nTxtbl[]={0,20,40,60,80,100,120,140,160,180,200}; -
branches/philmoz/core/live_view.c
r1378 r1401 5 5 #include "core.h" 6 6 #include "live_view.h" 7 8 #ifdef CAM_CHDK_PTP 7 9 8 10 // PTP Live View functions … … 114 116 return 0; 115 117 } 118 119 #endif -
branches/philmoz/core/live_view.h
r1322 r1401 43 43 } lv_vid_info; 44 44 45 #ifdef CAM_CHDK_PTP 45 46 extern int live_view_data_handler(ptp_data *data, int flags, int arg2); 47 #endif 46 48 47 49 #endif // __LIVE_VIEW_H -
branches/philmoz/core/raw.c
r1321 r1401 117 117 int i; 118 118 if (gamma[255]) return; 119 #if defined(CAMERA_sx30) || defined(CAMERA_ g12) || defined(CAMERA_ixus310_elph500hs)119 #if defined(CAMERA_sx30) || defined(CAMERA_sx40hs) || defined(CAMERA_g12) || defined(CAMERA_ixus310_elph500hs) 120 120 for (i=0; i<12; i++) gamma[i]=255*pow(i/255.0, 0.5); 121 121 for (i=12; i<64; i++) gamma[i]=255*pow(i/255.0, 0.4); -
branches/philmoz/include/camera.h
r1378 r1401 174 174 // and gui_space.c. 175 175 176 #define CAM_USB_EVENTID 0x902 // Levent ID for USB control. Changed to 0x202 in DryOS R49 so needs to be overridable. 177 176 178 //---------------------------------------------------------- 177 179 // Override Default values for Camera if necessary -
branches/philmoz/platform/generic/wrappers.c
r1343 r1401 1303 1303 if ( mode == 0 ) { 1304 1304 _Rec2PB(); 1305 _set_control_event(0x80000 902); // 0x10A5 ConnectUSBCable1305 _set_control_event(0x80000000|CAM_USB_EVENTID); // ConnectUSBCable 0x10A5 (0x10B3 in DryOS R49) 1306 1306 } else if ( mode == 1 ) { 1307 _set_control_event( 0x902); // 0x10A6 DisconnectUSBCable1307 _set_control_event(CAM_USB_EVENTID); // DisconnectUSBCable 0x10A6 (0x10B4 in DryOS R49) 1308 1308 _PB2Rec(); 1309 1309 } else return 0; -
branches/philmoz/tools/finsig_dryos.c
r1400 r1401 2423 2423 while ((*p != 0xFFFF) && (k < 50)) 2424 2424 { 2425 if (( *p < 8000) || (*p > 8999))2425 if (((fw->dryos_ver < 49) && ((*p < 8000) || (*p > 8999))) || ((fw->dryos_ver == 49) && ((*p < 4000) || (*p > 4999)))) 2426 2426 { 2427 2427 osig *m = find_sig_val(modemap, *p);
Note: See TracChangeset
for help on using the changeset viewer.