Changeset 742
- Timestamp:
- 08/09/11 10:42:33 (22 months ago)
- Location:
- trunk
- Files:
-
- 11 added
- 22 edited
-
Makefile (modified) (3 diffs)
-
core/gui_menu.c (modified) (2 diffs)
-
core/kbd.c (modified) (2 diffs)
-
makefile.inc (modified) (1 diff)
-
platform/g12/kbd.c (modified) (3 diffs)
-
platform/g12/shooting.c (modified) (1 diff)
-
platform/g12/sub/100c/boot.c (modified) (7 diffs)
-
platform/g12/sub/100c/capt_seq.c (modified) (1 diff)
-
platform/g12/sub/100e/boot.c (modified) (7 diffs)
-
platform/g12/sub/100e/capt_seq.c (modified) (1 diff)
-
platform/g12/sub/100f/boot.c (modified) (7 diffs)
-
platform/g12/sub/100f/capt_seq.c (modified) (1 diff)
-
platform/sx30/kbd.c (modified) (3 diffs)
-
platform/sx30/shooting.c (modified) (1 diff)
-
platform/sx30/sub/100e/boot.c (modified) (7 diffs)
-
platform/sx30/sub/100e/capt_seq.c (modified) (1 diff)
-
platform/sx30/sub/100h/boot.c (modified) (7 diffs)
-
platform/sx30/sub/100h/capt_seq.c (modified) (1 diff)
-
platform/sx30/sub/100l/boot.c (modified) (7 diffs)
-
platform/sx30/sub/100l/capt_seq.c (modified) (1 diff)
-
platform/sx30/sub/100n/boot.c (modified) (7 diffs)
-
platform/sx30/sub/100n/capt_seq.c (modified) (1 diff)
-
platform/sx30/sub/100p (added)
-
platform/sx30/sub/100p/Makefile (added)
-
platform/sx30/sub/100p/boot.c (added)
-
platform/sx30/sub/100p/capt_seq.c (added)
-
platform/sx30/sub/100p/lib.c (added)
-
platform/sx30/sub/100p/makefile.inc (added)
-
platform/sx30/sub/100p/movie_rec.c (added)
-
platform/sx30/sub/100p/stubs_asm.h (added)
-
platform/sx30/sub/100p/stubs_entry.S (added)
-
platform/sx30/sub/100p/stubs_entry_2.S (added)
-
platform/sx30/sub/100p/stubs_min.S (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r741 r742 301 301 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsub 302 302 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100n NO_INC_BUILD=1 firzipsub 303 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100p NO_INC_BUILD=1 firzipsub 303 304 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub 304 305 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub … … 525 526 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsubcomplete 526 527 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100n NO_INC_BUILD=1 firzipsubcomplete 528 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100p NO_INC_BUILD=1 firzipsubcomplete 527 529 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete 528 530 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete … … 820 822 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 clean 821 823 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100n NO_INC_BUILD=1 clean 824 $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100p NO_INC_BUILD=1 clean 822 825 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 clean 823 826 $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 clean -
trunk/core/gui_menu.c
r719 r742 173 173 (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 174 174 int_incr = 1; 175 gui_menu_redraw=1;175 if (gui_menu_redraw == 0) gui_menu_redraw=1; 176 176 } 177 177 break; … … 194 194 (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 195 195 int_incr = 1; 196 gui_menu_redraw=1;196 if (gui_menu_redraw == 0) gui_menu_redraw=1; 197 197 } 198 198 break; -
trunk/core/kbd.c
r732 r742 792 792 nCa=0; 793 793 nTxvideo=0; 794 debug_led(0);794 // debug_led(0); 795 795 return 1; 796 796 } … … 920 920 nWt=10; 921 921 // lens_set_zoom_speed(100); 922 debug_led(0);922 // debug_led(0); 923 923 return 1; 924 924 } -
trunk/makefile.inc
r728 r742 331 331 #PLATFORM=sx30 332 332 #PLATFORMSUB=100n 333 334 #PLATFORM=sx30 335 #PLATFORMSUB=100p 333 336 334 337 #PLATFORM=g12 -
trunk/platform/g12/kbd.c
r711 r742 230 230 } 231 231 232 // Set to 1 to disable jogdial events from being processed in firmware 232 233 volatile int jogdial_stopped=0; 234 235 // Pointer to stack location where jogdial task records previous and current 236 // jogdial positions 237 extern short* jog_position; 238 239 void jogdial_control(int n) 240 { 241 if (jogdial_stopped && !n) 242 { 243 // If re-enabling jogdial set the task code current & previous positions to the actual 244 // dial positions so that the change won't get processed by the firmware 245 jog_position[0] = jog_position[2] = (*(short*)0xC0240106); // Rear dial 246 jog_position[1] = jog_position[3] = (*(short*)0xC0240306); // Front dial 247 } 248 jogdial_stopped = n; 249 } 233 250 234 251 void my_kbd_read_keys() … … 246 263 physw_status[1] = kbd_new_state[1]; 247 264 physw_status[2] = kbd_new_state[2]; 248 jogdial_ stopped=0;265 jogdial_control(0); 249 266 250 267 } else { … … 256 273 if ((jogdial_stopped==0) && !state_kbd_script_run) 257 274 { 258 jogdial_ stopped=1;275 jogdial_control(1); 259 276 get_jogdial_direction(); 260 277 } 261 else if (jogdial_stopped && state_kbd_script_run) jogdial_ stopped=0;278 else if (jogdial_stopped && state_kbd_script_run) jogdial_control(0); 262 279 } 263 280 -
trunk/platform/g12/shooting.c
r703 r742 138 138 #include "../generic/shooting.c" 139 139 140 // Override ISO settings (need to do this before exposure calc for ISO, as well as after) 141 void __attribute__((naked,noinline)) shooting_expo_iso_override(void){ 142 asm volatile("STMFD SP!, {R0-R12,LR}\n"); 143 144 if ((state_kbd_script_run) && (photo_param_put_off.sv96)) 145 { 146 shooting_set_sv96(photo_param_put_off.sv96, SET_NOW); 147 // photo_param_put_off.sv96 is not reset here, it will be reset in next call to shooting_expo_param_override 148 } 149 else if ((conf.iso_override_value) && (conf.iso_override_koef) && !(conf.override_disable==1)) 150 shooting_set_iso_real(shooting_get_iso_override_value(), SET_NOW); 151 else if (conf.autoiso_enable && shooting_get_flash_mode()/*NOT FOR FLASH AUTO MODE*/ && !(conf.override_disable==1 && conf.override_disable_all)) 152 shooting_set_autoiso(shooting_get_iso_mode()); 153 154 asm volatile("LDMFD SP!, {R0-R12,PC}\n"); 155 } 156 140 157 long get_file_next_counter() { 141 158 return get_file_counter(); -
trunk/platform/g12/sub/100c/boot.c
r666 r742 649 649 } 650 650 651 // Pointer to stack location where jogdial task records previous and current 652 // jogdial positions 653 short *jog_position; 654 651 655 // Firmware version @ FF8657EC 652 656 void __attribute__((naked,noinline)) JogDial_task_my() { … … 659 663 " MOV R0, #0 \n" 660 664 " ADD R3, SP, #0x18 \n" 665 666 // Save pointer for kbd.c routine 667 " LDR R12, =jog_position \n" 668 " STR R3, [R12] \n" 669 661 670 " ADD R12, SP, #0x1C \n" 662 671 " ADD R10, SP, #0x08 \n" … … 686 695 " CMP R0, #0 \n" 687 696 " LDRNE R1, =0x262 \n" 688 689 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 690 " LDRNE R0,=0xFF865AA8 \n" 691 697 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 692 698 " BLNE _DebugAssert \n" 693 699 " LDR R0, [SP] \n" … … 704 710 " CMP R4, #0 \n" 705 711 " LDRNE R1, =0x2ED \n" 706 707 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 708 " LDRNE R0,=0xFF865AA8 \n" 709 712 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 710 713 " BLNE _DebugAssert \n" 711 714 " RSB R0, R4, R4,LSL#3 \n" … … 849 852 850 853 "loc_FF865A48: \n" 851 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 852 " LDR R0,=0xFF865AA8 \n" 853 854 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 854 855 " BL _DebugAssert \n" 855 856 … … 877 878 878 879 "loc_FF865A94: \n" 879 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 880 " LDR R0,=0xFF865AA8 \n" 881 880 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 882 881 " BL _DebugAssert \n" 883 882 " B loc_FF865848 \n" … … 891 890 " CMP R0, #0 \n" 892 891 " MOVEQ R1, #0x2E0 \n" 893 894 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 895 " LDRNE R0,=0xFF865AA8 \n" 896 892 " LDREQ R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 897 893 " BLEQ _DebugAssert \n" 898 894 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/g12/sub/100c/capt_seq.c
r713 r742 120 120 // jump table entry 0 121 121 "loc_FF882700:\n" 122 123 " BL shooting_expo_iso_override\n" // added 124 122 125 " BL sub_FF882E00 \n" 123 126 -
trunk/platform/g12/sub/100e/boot.c
r666 r742 649 649 } 650 650 651 // Pointer to stack location where jogdial task records previous and current 652 // jogdial positions 653 short *jog_position; 654 651 655 // Firmware version @ FF8657EC 652 656 void __attribute__((naked,noinline)) JogDial_task_my() { … … 659 663 " MOV R0, #0 \n" 660 664 " ADD R3, SP, #0x18 \n" 665 666 // Save pointer for kbd.c routine 667 " LDR R12, =jog_position \n" 668 " STR R3, [R12] \n" 669 661 670 " ADD R12, SP, #0x1C \n" 662 671 " ADD R10, SP, #0x08 \n" … … 686 695 " CMP R0, #0 \n" 687 696 " LDRNE R1, =0x262 \n" 688 689 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 690 " LDRNE R0,=0xFF865AA8 \n" 691 697 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 692 698 " BLNE _DebugAssert \n" 693 699 " LDR R0, [SP] \n" … … 704 710 " CMP R4, #0 \n" 705 711 " LDRNE R1, =0x2ED \n" 706 707 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 708 " LDRNE R0,=0xFF865AA8 \n" 709 712 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 710 713 " BLNE _DebugAssert \n" 711 714 " RSB R0, R4, R4,LSL#3 \n" … … 849 852 850 853 "loc_FF865A48: \n" 851 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 852 " LDR R0,=0xFF865AA8 \n" 853 854 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 854 855 " BL _DebugAssert \n" 855 856 … … 877 878 878 879 "loc_FF865A94: \n" 879 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 880 " LDR R0,=0xFF865AA8 \n" 881 880 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 882 881 " BL _DebugAssert \n" 883 882 " B loc_FF865848 \n" … … 891 890 " CMP R0, #0 \n" 892 891 " MOVEQ R1, #0x2E0 \n" 893 894 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 895 " LDRNE R0,=0xFF865AA8 \n" 896 892 " LDREQ R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 897 893 " BLEQ _DebugAssert \n" 898 894 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/g12/sub/100e/capt_seq.c
r713 r742 120 120 // jump table entry 0 121 121 "loc_FF882700:\n" 122 123 " BL shooting_expo_iso_override\n" // added 124 122 125 " BL sub_FF882E00 \n" 123 126 -
trunk/platform/g12/sub/100f/boot.c
r674 r742 657 657 } 658 658 659 // Pointer to stack location where jogdial task records previous and current 660 // jogdial positions 661 short *jog_position; 662 659 663 // Firmware version @ FF8657EC 660 664 void __attribute__((naked,noinline)) JogDial_task_my() { … … 667 671 " MOV R0, #0 \n" 668 672 " ADD R3, SP, #0x18 \n" 673 674 // Save pointer for kbd.c routine 675 " LDR R12, =jog_position \n" 676 " STR R3, [R12] \n" 677 669 678 " ADD R12, SP, #0x1C \n" 670 679 " ADD R10, SP, #0x08 \n" … … 694 703 " CMP R0, #0 \n" 695 704 " LDRNE R1, =0x262 \n" 696 697 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 698 " LDRNE R0,=0xFF865AA8 \n" 699 705 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 700 706 " BLNE _DebugAssert \n" 701 707 " LDR R0, [SP] \n" … … 712 718 " CMP R4, #0 \n" 713 719 " LDRNE R1, =0x2ED \n" 714 715 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 716 " LDRNE R0,=0xFF865AA8 \n" 717 720 " LDRNE R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 718 721 " BLNE _DebugAssert \n" 719 722 " RSB R0, R4, R4,LSL#3 \n" … … 857 860 858 861 "loc_FF865A48: \n" 859 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 860 " LDR R0,=0xFF865AA8 \n" 861 862 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 862 863 " BL _DebugAssert \n" 863 864 … … 885 886 886 887 "loc_FF865A94: \n" 887 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 888 " LDR R0,=0xFF865AA8 \n" 889 888 " LDR R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 890 889 " BL _DebugAssert \n" 891 890 " B loc_FF865848 \n" … … 899 898 " CMP R0, #0 \n" 900 899 " MOVEQ R1, #0x2E0 \n" 901 902 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 903 " LDRNE R0,=0xFF865AA8 \n" 904 900 " LDREQ R0,=0xFF865AA8 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 905 901 " BLEQ _DebugAssert \n" 906 902 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/g12/sub/100f/capt_seq.c
r713 r742 120 120 // jump table entry 0 121 121 "loc_FF882700:\n" 122 123 " BL shooting_expo_iso_override\n" // added 124 122 125 " BL sub_FF882E00 \n" 123 126 -
trunk/platform/sx30/kbd.c
r711 r742 243 243 } 244 244 245 // Set to 1 to disable jogdial events from being processed in firmware 245 246 volatile int jogdial_stopped=0; 247 248 // Pointer to stack location where jogdial task records previous and current 249 // jogdial positions 250 extern short* jog_position; 251 252 void jogdial_control(int n) 253 { 254 if (jogdial_stopped && !n) 255 { 256 // If re-enabling jogdial set the task code current & previous positions to the actual 257 // dial positions so that the change won't get processed by the firmware 258 jog_position[0] = jog_position[2] = (*(short*)0xC0240106); // Rear dial 259 } 260 jogdial_stopped = n; 261 } 246 262 247 263 void my_kbd_read_keys() … … 259 275 physw_status[1] = kbd_new_state[1]; 260 276 physw_status[2] = kbd_new_state[2]; 261 jogdial_ stopped=0;277 jogdial_control(0); 262 278 263 279 } else { … … 269 285 if ((jogdial_stopped==0) && !state_kbd_script_run) 270 286 { 271 jogdial_ stopped=1;287 jogdial_control(1); 272 288 get_jogdial_direction(); 273 289 } 274 else if (jogdial_stopped && state_kbd_script_run) jogdial_ stopped=0;290 else if (jogdial_stopped && state_kbd_script_run) jogdial_control(0); 275 291 } 276 292 -
trunk/platform/sx30/shooting.c
r703 r742 131 131 #include "../generic/shooting.c" 132 132 133 // Override ISO settings (need to do this before exposure calc for ISO as well as after) 134 void __attribute__((naked,noinline)) shooting_expo_iso_override(void){ 135 asm volatile("STMFD SP!, {R0-R12,LR}\n"); 136 137 if ((state_kbd_script_run) && (photo_param_put_off.sv96)) 138 { 139 shooting_set_sv96(photo_param_put_off.sv96, SET_NOW); 140 // photo_param_put_off.sv96 is not reset here, it will be reset in next call to shooting_expo_param_override 141 } 142 else if ((conf.iso_override_value) && (conf.iso_override_koef) && !(conf.override_disable==1)) 143 shooting_set_iso_real(shooting_get_iso_override_value(), SET_NOW); 144 else if (conf.autoiso_enable && shooting_get_flash_mode()/*NOT FOR FLASH AUTO MODE*/ && !(conf.override_disable==1 && conf.override_disable_all)) 145 shooting_set_autoiso(shooting_get_iso_mode()); 146 147 asm volatile("LDMFD SP!, {R0-R12,PC}\n"); 148 } 149 133 150 long get_file_next_counter() { 134 151 return get_file_counter(); -
trunk/platform/sx30/sub/100e/boot.c
r666 r742 639 639 } 640 640 641 // Pointer to stack location where jogdial task records previous and current 642 // jogdial positions 643 short *jog_position; 644 641 645 // Firmware version @ FF865D08 642 646 void __attribute__((naked,noinline)) JogDial_task_my() { … … 649 653 " MOV R0, #0 \n" 650 654 " ADD R3, SP, #0x10 \n" 655 656 // Save pointer for kbd.c routine 657 " LDR R12, =jog_position \n" 658 " STR R3, [R12] \n" 659 651 660 " ADD R12, SP, #0x14 \n" 652 661 " ADD R10, SP, #0x08 \n" … … 676 685 " CMP R0, #0 \n" 677 686 " LDRNE R1, =0x262 \n" 678 679 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 680 " LDRNE R0,=0xFF865FC4 \n" 681 687 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 682 688 " BLNE _DebugAssert \n" 683 689 " LDR R0, [SP] \n" … … 694 700 " CMP R4, #0 \n" 695 701 " LDRNE R1, =0x2ED \n" 696 697 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 698 " LDRNE R0,=0xFF865FC4 \n" 699 702 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 700 703 " BLNE _DebugAssert \n" 701 704 " RSB R0, R4, R4,LSL#3 \n" … … 839 842 840 843 "loc_FF865F64: \n" 841 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 842 " LDR R0,=0xFF865FC4 \n" 843 844 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 844 845 " BL _DebugAssert \n" 845 846 … … 867 868 868 869 "loc_FF865FB0: \n" 869 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 870 " LDR R0,=0xFF865FC4 \n" 871 870 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 872 871 " BL _DebugAssert \n" 873 872 " B loc_FF865D64 \n" … … 881 880 " CMP R0, #0 \n" 882 881 " MOVEQ R1, #0x2E0 \n" 883 884 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 885 " LDRNE R0,=0xFF865FC4 \n" 886 882 " LDREQ R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 887 883 " BLEQ _DebugAssert \n" 888 884 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/sx30/sub/100e/capt_seq.c
r692 r742 81 81 // jump table entry 0 82 82 "loc_FF88699C:\n" 83 84 " BL shooting_expo_iso_override\n" // added 85 83 86 " BL sub_FF887084 \n" 84 87 -
trunk/platform/sx30/sub/100h/boot.c
r666 r742 639 639 } 640 640 641 // Pointer to stack location where jogdial task records previous and current 642 // jogdial positions 643 short *jog_position; 644 641 645 // Firmware version @ FF865D08 642 646 void __attribute__((naked,noinline)) JogDial_task_my() { … … 649 653 " MOV R0, #0 \n" 650 654 " ADD R3, SP, #0x10 \n" 655 656 // Save pointer for kbd.c routine 657 " LDR R12, =jog_position \n" 658 " STR R3, [R12] \n" 659 651 660 " ADD R12, SP, #0x14 \n" 652 661 " ADD R10, SP, #0x08 \n" … … 676 685 " CMP R0, #0 \n" 677 686 " LDRNE R1, =0x262 \n" 678 679 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 680 " LDRNE R0,=0xFF865FC4 \n" 681 687 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 682 688 " BLNE _DebugAssert \n" 683 689 " LDR R0, [SP] \n" … … 694 700 " CMP R4, #0 \n" 695 701 " LDRNE R1, =0x2ED \n" 696 697 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 698 " LDRNE R0,=0xFF865FC4 \n" 699 702 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 700 703 " BLNE _DebugAssert \n" 701 704 " RSB R0, R4, R4,LSL#3 \n" … … 839 842 840 843 "loc_FF865F64: \n" 841 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 842 " LDR R0,=0xFF865FC4 \n" 843 844 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 844 845 " BL _DebugAssert \n" 845 846 … … 867 868 868 869 "loc_FF865FB0: \n" 869 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 870 " LDR R0,=0xFF865FC4 \n" 871 870 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 872 871 " BL _DebugAssert \n" 873 872 " B loc_FF865D64 \n" … … 881 880 " CMP R0, #0 \n" 882 881 " MOVEQ R1, #0x2E0 \n" 883 884 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 885 " LDRNE R0,=0xFF865FC4 \n" 886 882 " LDREQ R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 887 883 " BLEQ _DebugAssert \n" 888 884 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/sx30/sub/100h/capt_seq.c
r692 r742 81 81 // jump table entry 0 82 82 "loc_FF88699C:\n" 83 84 " BL shooting_expo_iso_override\n" // added 85 83 86 " BL sub_FF887084 \n" 84 87 -
trunk/platform/sx30/sub/100l/boot.c
r666 r742 639 639 } 640 640 641 // Pointer to stack location where jogdial task records previous and current 642 // jogdial positions 643 short *jog_position; 644 641 645 // Firmware version @ FF865D08 642 646 void __attribute__((naked,noinline)) JogDial_task_my() { … … 649 653 " MOV R0, #0 \n" 650 654 " ADD R3, SP, #0x10 \n" 655 656 // Save pointer for kbd.c routine 657 " LDR R12, =jog_position \n" 658 " STR R3, [R12] \n" 659 651 660 " ADD R12, SP, #0x14 \n" 652 661 " ADD R10, SP, #0x08 \n" … … 676 685 " CMP R0, #0 \n" 677 686 " LDRNE R1, =0x262 \n" 678 679 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 680 " LDRNE R0,=0xFF865FC4 \n" 681 687 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 682 688 " BLNE _DebugAssert \n" 683 689 " LDR R0, [SP] \n" … … 694 700 " CMP R4, #0 \n" 695 701 " LDRNE R1, =0x2ED \n" 696 697 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 698 " LDRNE R0,=0xFF865FC4 \n" 699 702 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 700 703 " BLNE _DebugAssert \n" 701 704 " RSB R0, R4, R4,LSL#3 \n" … … 839 842 840 843 "loc_FF865F64: \n" 841 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 842 " LDR R0,=0xFF865FC4 \n" 843 844 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 844 845 " BL _DebugAssert \n" 845 846 … … 867 868 868 869 "loc_FF865FB0: \n" 869 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 870 " LDR R0,=0xFF865FC4 \n" 871 870 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 872 871 " BL _DebugAssert \n" 873 872 " B loc_FF865D64 \n" … … 881 880 " CMP R0, #0 \n" 882 881 " MOVEQ R1, #0x2E0 \n" 883 884 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 885 " LDRNE R0,=0xFF865FC4 \n" 886 882 " LDREQ R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 887 883 " BLEQ _DebugAssert \n" 888 884 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/sx30/sub/100l/capt_seq.c
r692 r742 81 81 // jump table entry 0 82 82 "loc_FF8869A0:\n" 83 84 " BL shooting_expo_iso_override\n" // added 85 83 86 " BL sub_FF887088 \n" 84 87 -
trunk/platform/sx30/sub/100n/boot.c
r679 r742 649 649 } 650 650 651 // Pointer to stack location where jogdial task records previous and current 652 // jogdial positions 653 short *jog_position; 654 651 655 // Firmware version @ FF865D08 652 656 void __attribute__((naked,noinline)) JogDial_task_my() { … … 659 663 " MOV R0, #0 \n" 660 664 " ADD R3, SP, #0x10 \n" 665 666 // Save pointer for kbd.c routine 667 " LDR R12, =jog_position \n" 668 " STR R3, [R12] \n" 669 661 670 " ADD R12, SP, #0x14 \n" 662 671 " ADD R10, SP, #0x08 \n" … … 686 695 " CMP R0, #0 \n" 687 696 " LDRNE R1, =0x262 \n" 688 689 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 690 " LDRNE R0,=0xFF865FC4 \n" 691 697 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 692 698 " BLNE _DebugAssert \n" 693 699 " LDR R0, [SP] \n" … … 704 710 " CMP R4, #0 \n" 705 711 " LDRNE R1, =0x2ED \n" 706 707 //" ADRNE R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 708 " LDRNE R0,=0xFF865FC4 \n" 709 712 " LDRNE R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 710 713 " BLNE _DebugAssert \n" 711 714 " RSB R0, R4, R4,LSL#3 \n" … … 849 852 850 853 "loc_FF865F64: \n" 851 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 852 " LDR R0,=0xFF865FC4 \n" 853 854 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 854 855 " BL _DebugAssert \n" 855 856 … … 877 878 878 879 "loc_FF865FB0: \n" 879 //" ADR R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 880 " LDR R0,=0xFF865FC4 \n" 881 880 " LDR R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 882 881 " BL _DebugAssert \n" 883 882 " B loc_FF865D64 \n" … … 891 890 " CMP R0, #0 \n" 892 891 " MOVEQ R1, #0x2E0 \n" 893 894 //" ADREQ R0, aRotaryencoder_ ; "RotaryEncoder.c" \n" 895 " LDRNE R0,=0xFF865FC4 \n" 896 892 " LDREQ R0,=0xFF865FC4 \n" //aRotaryencoder_ ; "RotaryEncoder.c" \n" 897 893 " BLEQ _DebugAssert \n" 898 894 " RSB R0, R4, R4,LSL#3 \n" -
trunk/platform/sx30/sub/100n/capt_seq.c
r679 r742 81 81 // jump table entry 0 82 82 "loc_FF8869A0:\n" 83 84 " BL shooting_expo_iso_override\n" // added 85 83 86 " BL sub_FF887088 \n" 84 87
Note: See TracChangeset
for help on using the changeset viewer.