Changeset 770
- Timestamp:
- 06/04/09 21:29:57 (4 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
Makefile (modified) (2 diffs)
-
include/camera.h (modified) (1 diff)
-
loader/a470/main.c (modified) (2 diffs)
-
platform/a470/kbd.c (modified) (2 diffs)
-
platform/a470/lib.c (modified) (1 diff)
-
platform/a470/sub/101b/stubs_entry_2.S (modified) (1 diff)
-
platform/a470/sub/102c/stubs_entry_2.S (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r760 r770 226 226 cp $(topdir)bin/$(VER)-g9-100g-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g9-100f-$(BUILD_NUMBER).zip 227 227 cp $(topdir)bin/$(VER)-g9-100i-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g9-100h-$(BUILD_NUMBER).zip 228 cp $(topdir)bin/$(VER)-a470-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-a470-101a-$(BUILD_NUMBER).zip 228 229 mv $(topdir)bin/$(VER)-sx1-200h-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-sx1-200h-$(BUILD_NUMBER)_BETA.zip 229 230 mv $(topdir)bin/$(VER)-ixus980_sd990-100e-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus980_sd990-100e-$(BUILD_NUMBER)_BETA.zip … … 337 338 cp $(topdir)bin/g9-100i-$(BUILD_NUMBER)-full.zip $(topdir)bin/g9-100h-$(BUILD_NUMBER)-full.zip 338 339 cp $(topdir)bin/g9-100i-$(BUILD_NUMBER).zip $(topdir)bin/g9-100h-$(BUILD_NUMBER).zip 340 cp $(topdir)bin/a470-101b-$(BUILD_NUMBER)-full.zip $(topdir)bin/a470-101a-$(BUILD_NUMBER)-full.zip 341 cp $(topdir)bin/a470-101b-$(BUILD_NUMBER).zip $(topdir)bin/a470-101a-$(BUILD_NUMBER).zip 339 342 mv $(topdir)bin/sx1-200h-$(BUILD_NUMBER)-full.zip $(topdir)bin/sx1-200h-$(BUILD_NUMBER)-full_BETA.zip 340 343 mv $(topdir)bin/sx1-200h-$(BUILD_NUMBER).zip $(topdir)bin/sx1-200h-$(BUILD_NUMBER)_BETA.zip -
trunk/include/camera.h
r767 r770 214 214 #define CAM_RAW_ROWS 2340 // for 7 MP 215 215 216 #undef CAM_USE_ZOOM_FOR_MF 217 #undef CAM_HAS_ZOOM_LEVER 218 #undef CAM_HAS_ERASE_BUTTON 219 #undef CAM_HAS_IRIS_DIAPHRAGM 220 #define CAM_HAS_ND_FILTER 1 221 #undef CAM_HAS_MANUAL_FOCUS 222 #undef CAM_HAS_USER_TV_MODES 223 #define CAM_SHOW_OSD_IN_SHOOT_MENU 1 224 #undef CAM_HAS_IS 225 #define CAM_CAN_MUTE_MICROPHONE 1 226 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 227 #define CAM_EV_IN_VIDEO 1 216 228 #define DNG_SUPPORT 1 217 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 218 #define CAM_EV_IN_VIDEO 1 219 // pattern 220 #define cam_CFAPattern 0x02010100 // Red Green Green Blue 221 // color 222 #define CAM_COLORMATRIX1 \ 223 649324, 1000000,-233893, 1000000, -88521, 1000000, \ 224 -158955, 1000000, 593407, 1000000, 69775, 1000000, \ 225 -44551, 1000000, 136891, 1000000, 254362, 1000000 226 227 #define cam_CalibrationIlluminant1 1 // Daylight 228 // cropping 229 #define CAM_JPEG_WIDTH 2592 230 #define CAM_JPEG_HEIGHT 1944 231 #define CAM_ACTIVE_AREA_X1 6 232 #define CAM_ACTIVE_AREA_Y1 6 233 #define CAM_ACTIVE_AREA_X2 2618 234 #define CAM_ACTIVE_AREA_Y2 1962 229 //#define CAM_MULTIPART 1 230 231 // pattern 232 #define cam_CFAPattern 0x02010100 // Red Green Green Blue 233 // color 234 #define CAM_COLORMATRIX1 \ 235 673251, 1000000,-200684, 1000000, -98680, 1000000, \ 236 -163638, 1000000, 651247, 1000000, 74004, 1000000, \ 237 14221, 1000000, 52979, 1000000, 265291, 1000000 238 #define cam_CalibrationIlluminant1 1 // Daylight 239 // cropping 240 #define CAM_JPEG_WIDTH 3096 241 #define CAM_JPEG_HEIGHT 2324 242 #define CAM_ACTIVE_AREA_X1 12 243 #define CAM_ACTIVE_AREA_Y1 8 244 #define CAM_ACTIVE_AREA_X2 3108 245 #define CAM_ACTIVE_AREA_Y2 2332 235 246 // camera name 236 247 #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData -
trunk/loader/a470/main.c
r739 r770 22 22 } 23 23 24 #define LED_PR 0xc0220080 25 //#define LED_PR 0xC02200D4 26 24 #define LED_PR 0xc022008C 27 25 28 26 static void __attribute__((noreturn)) shutdown() 29 27 { 30 //volatile long *p = (void*)0xc02200a0; // what does this LED? Powe31 volatile long *p = (void*)LED_PR; // turned off later, so assumed to be power28 volatile long *p = (void*)0xc02200a0; // http://chdk.setepontos.com/index.php/topic,3227.0.html - power switch? 29 //volatile long *p = (void*)LED_PR; 32 30 33 31 asm( … … 42 40 while(1); 43 41 } 44 45 42 46 43 static void __attribute__((noreturn)) panic(int cnt) -
trunk/platform/a470/kbd.c
r739 r770 22 22 23 23 #define KEYS_MASK0 (0x00000000) 24 #define KEYS_MASK1 (0x C0800000)25 #define KEYS_MASK2 (0x1 FFF)24 #define KEYS_MASK1 (0x00000000) 25 #define KEYS_MASK2 (0x153F) 26 26 27 27 #define NEW_SS (0x2000) … … 441 441 { 2, KEY_SHOOT_HALF , 0x00000010 }, 442 442 { 2, KEY_MENU , 0x00000400 }, 443 { 2, KEY_DISPLAY , 0x00000111 },444 443 { 2, KEY_PRINT , 0x00001000 }, // 445 444 { 0, 0, 0 } -
trunk/platform/a470/lib.c
r739 r770 18 18 19 19 20 #define LED_PR 0xc022008 020 #define LED_PR 0xc022008C 21 21 22 22 void debug_led(int state) -
trunk/platform/a470/sub/101b/stubs_entry_2.S
r739 r770 16 16 NHSTUB(PostLogicalEventForNotPowerType, 0xFFC5ABD8) 17 17 NHSTUB(RefreshUSBMode, 0xFFC27730) 18 NHSTUB(TurnOnMic, 0xFFC31170) 19 NHSTUB(TurnOffMic, 0xFFC311C4) 20 21 NHSTUB(PutInNdFilter, 0xFFE267B0) 22 NHSTUB(PutOutNdFilter, 0xFFE267E8) 18 23 19 24 //NSTUB(AllocateMemory, 0xFFDF1D70) -
trunk/platform/a470/sub/102c/stubs_entry_2.S
r739 r770 16 16 NHSTUB(PostLogicalEventForNotPowerType, 0xFFC5B0F4) 17 17 NHSTUB(RefreshUSBMode, 0xFFC27730) 18 NHSTUB(TurnOnMic, 0xFFC31634) 19 NHSTUB(TurnOffMic, 0xFFC31660) 20 21 NHSTUB(PutInNdFilter, 0xFFE271F0) 22 NHSTUB(PutOutNdFilter, 0xFFE27228) 18 23 19 24 //NSTUB(AllocateMemory, 0xFFDF1D70)
Note: See TracChangeset
for help on using the changeset viewer.