Changeset 1893
- Timestamp:
- 06/02/12 22:40:08 (12 months ago)
- Location:
- branches/reyalp-ptp-live
- Files:
-
- 8 edited
-
. (modified) (1 prop)
-
core/gui.c (modified) (1 diff)
-
core/modules.c (modified) (1 diff)
-
core/motion_detector.h (modified) (1 diff)
-
core/script.c (modified) (2 diffs)
-
platform/sx200is/lib.c (modified) (1 diff)
-
platform/sx200is/sub/100c/stubs_entry.S (modified) (2 diffs)
-
platform/sx200is/sub/100c/stubs_min.S (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/reyalp-ptp-live
-
branches/reyalp-ptp-live/core/gui.c
r1878 r1893 1983 1983 { 1984 1984 --show_md_grid; 1985 if (module_mdetect_load()) 1985 // If motion detect library loaded then display the MD grid 1986 // Don't call 'module_mdetect_load' here as we don't want to load 1987 // the module, just see if it was already loaded. 1988 if (libmotiondetect) 1986 1989 libmotiondetect->md_draw_grid(); 1987 1990 } -
branches/reyalp-ptp-live/core/modules.c
r1814 r1893 164 164 } 165 165 166 void module_mdetect_unload() 167 { 168 if (libmotiondetect) 169 { 170 module_unload(MODULE_NAME_MDETECT); 171 libmotiondetect = 0; 172 } 173 } 174 166 175 167 176 /************* DYNAMIC LIBRARY ZEBRA ******/ -
branches/reyalp-ptp-live/core/motion_detector.h
r1711 r1893 119 119 extern struct libmotiondetect_sym* libmotiondetect; 120 120 extern struct libmotiondetect_sym* module_mdetect_load(); // 0fail, addr-ok 121 extern void module_mdetect_unload(); 121 122 #else 122 123 // This section is for module -
branches/reyalp-ptp-live/core/script.c
r1737 r1893 612 612 break; 613 613 case AS_MOTION_DETECTOR: 614 if (module_mdetect_load()) 614 // If motion detect module loaded then run the MD code 615 // Don't call module_mdetect_load here as it may cause the 616 // module to be re-loaded after the script is interrupted 617 if (libmotiondetect) 615 618 { 616 619 if (libmotiondetect->md_detect_motion()==0) … … 717 720 } 718 721 // If motion detect library loaded then shut down motion detector 719 // Don't call 'module_mdetect_load' here as we don't want to load 720 // the module, just see if it was already loaded. 721 if (libmotiondetect) 722 libmotiondetect->md_close_motion_detector(); 722 module_mdetect_unload(); 723 723 724 shot_histogram_set(0); 724 725 kbd_key_release_all(); -
branches/reyalp-ptp-live/platform/sx200is/lib.c
r1889 r1893 67 67 { 68 68 extern int active_palette_buffer; 69 extern char* palette_buffer[];70 return (palette_buffer [active_palette_buffer]+0xC);69 extern int** palette_buffer_ptr; 70 return (palette_buffer_ptr[active_palette_buffer]+0x3); 71 71 } 72 72 73 // Function to load CHDK custom colors into active Canon palette 73 74 void load_chdk_palette() -
branches/reyalp-ptp-live/platform/sx200is/sub/100c/stubs_entry.S
r1878 r1893 5 5 // DRYOS R31 (DRYOS version 2.3, release #0031) 6 6 // Firmware Ver GM1.00C 7 // Possible corrupt firmware dump - file size to small for start address 0xff810000 8 // file size = 4.00MB, should be 7.94MB 9 // Could not find Camera name - possible corrupt firmware dump 7 // Canon PowerShot SX200 IS 10 8 11 9 // Values for makefile.inc 12 10 // PLATFORMOSVER = 31 11 // PLATFORMID = 12736 (0x31c0) // Found @ 0xfffe0130 13 12 // MAXRAMADDR = 0x03ffffff 13 // KEYSYS = d4 // Found @ 0xffff356c 14 // NEED_ENCODED_DISKBOOT = 2 // Found @ 0xffff357c 14 15 15 16 // Stubs below should be checked. Stub not matched 100%, or difference found to current 'stubs_entry_2.S' … … 34 35 DEF(zoom_status ,0x0000b850) // Found @0xffa775d0 35 36 DEF(some_flag_for_af_scan ,0x00006af8) // Found @0xff93b340 37 // focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 38 // each entry contains 3 int value(s), the first is the zoom focus length. 39 // there are 126 entries in the table - set NUM_FL to 126 40 DEF(focus_len_table ,0xfffe8538) // Found @0xfffe8538 36 41 DEF(zoom_busy ,0x000064f0) // Found @0xff9342b4 37 42 DEF(focus_busy ,0x000063f8) // Found @0xff92e97c -
branches/reyalp-ptp-live/platform/sx200is/sub/100c/stubs_min.S
r1889 r1893 4 4 DEF(enabled_refresh_physical_screen, 0x8e04 + 0x30) //found at FF9D4918 and FF9D4F38 5 5 DEF(led_table, 0x24AC + 0x04) // found at FF847374 6 DEF(palette_buffer , 0x15B5A0) // ref by 0x8D9C, sub_FF9CFC106 DEF(palette_buffer_ptr, 0x8D9C) // points to 0x15B5A0, sub_FF9CFC10 7 7 DEF(active_palette_buffer, 0x8D8C) // sub_FF9CFE34 8 8 DEF(palette_control, 0x8D88) // sub_FF9CFE34
Note: See TracChangeset
for help on using the changeset viewer.