Changeset 742


Ignore:
Timestamp:
08/09/11 10:42:33 (22 months ago)
Author:
CHDKLover
Message:

Aktualisierung auf Grundlage der Rev. 1262, 1273, 1274, 1275 aus dem internationalem Trunk, danke philmoz

http://tools.assembla.com/chdk/changeset/1262/trunk
http://tools.assembla.com/chdk/changeset/1273/trunk
http://tools.assembla.com/chdk/changeset/1274/trunk
http://tools.assembla.com/chdk/changeset/1275/trunk

Betrifft G12 und SX30:
+ Verhalten des Steuerrades verbessert
+ ISO override verbessert

  • SX30 100p hinzugefügt

Betrifft alle:

  • clenaup

Einige Änderungen wurden schon in r732 übernommen

Location:
trunk
Files:
11 added
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r741 r742  
    301301        $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsub 
    302302        $(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 
    303304        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub 
    304305        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub 
     
    525526        $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsubcomplete 
    526527        $(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 
    527529        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete 
    528530        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete 
     
    820822        $(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 clean 
    821823        $(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 
    822825        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=100e NO_INC_BUILD=1 clean 
    823826        $(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940  PLATFORMSUB=101a NO_INC_BUILD=1 clean 
  • trunk/core/gui_menu.c

    r719 r742  
    173173                     (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 
    174174            int_incr = 1; 
    175             gui_menu_redraw=1; 
     175            if (gui_menu_redraw == 0) gui_menu_redraw=1; 
    176176                        } 
    177177            break; 
     
    194194                     (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 
    195195            int_incr = 1; 
    196             gui_menu_redraw=1; 
     196            if (gui_menu_redraw == 0) gui_menu_redraw=1; 
    197197                        } 
    198198            break; 
  • trunk/core/kbd.c

    r732 r742  
    792792                    nCa=0; 
    793793                    nTxvideo=0; 
    794                     debug_led(0); 
     794//                    debug_led(0); 
    795795                    return 1; 
    796796                } 
     
    920920                            nWt=10; 
    921921//                          lens_set_zoom_speed(100); 
    922                             debug_led(0); 
     922//                            debug_led(0); 
    923923                            return 1; 
    924924                        } 
  • trunk/makefile.inc

    r728 r742  
    331331#PLATFORM=sx30 
    332332#PLATFORMSUB=100n 
     333 
     334#PLATFORM=sx30 
     335#PLATFORMSUB=100p 
    333336 
    334337#PLATFORM=g12 
  • trunk/platform/g12/kbd.c

    r711 r742  
    230230} 
    231231 
     232// Set to 1 to disable jogdial events from being processed in firmware 
    232233volatile int jogdial_stopped=0; 
     234 
     235// Pointer to stack location where jogdial task records previous and current 
     236// jogdial positions 
     237extern short* jog_position; 
     238 
     239void 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} 
    233250 
    234251void my_kbd_read_keys() 
     
    246263          physw_status[1] = kbd_new_state[1]; 
    247264          physw_status[2] = kbd_new_state[2]; 
    248           jogdial_stopped=0; 
     265          jogdial_control(0); 
    249266 
    250267        } else { 
     
    256273                if ((jogdial_stopped==0) && !state_kbd_script_run) 
    257274                { 
    258                         jogdial_stopped=1; 
     275                        jogdial_control(1); 
    259276                        get_jogdial_direction(); 
    260277                } 
    261                 else if (jogdial_stopped && state_kbd_script_run) jogdial_stopped=0; 
     278                else if (jogdial_stopped && state_kbd_script_run) jogdial_control(0); 
    262279        } 
    263280 
  • trunk/platform/g12/shooting.c

    r703 r742  
    138138#include "../generic/shooting.c" 
    139139 
     140// Override ISO settings (need to do this before exposure calc for ISO, as well as after) 
     141void __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 
    140157long get_file_next_counter() { 
    141158        return get_file_counter(); 
  • trunk/platform/g12/sub/100c/boot.c

    r666 r742  
    649649} 
    650650 
     651// Pointer to stack location where jogdial task records previous and current 
     652// jogdial positions 
     653short *jog_position; 
     654 
    651655// Firmware version @ FF8657EC 
    652656void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    659663"                MOV     R0, #0 \n" 
    660664"                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 
    661670"                ADD     R12, SP, #0x1C \n" 
    662671"                ADD     R10, SP, #0x08 \n" 
     
    686695"                CMP     R0, #0 \n" 
    687696"                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" 
    692698"                BLNE    _DebugAssert \n" 
    693699"                LDR     R0, [SP] \n" 
     
    704710"                CMP     R4, #0 \n" 
    705711"                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" 
    710713"                BLNE    _DebugAssert \n" 
    711714"                RSB     R0, R4, R4,LSL#3 \n" 
     
    849852 
    850853"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" 
    854855"                BL      _DebugAssert \n" 
    855856 
     
    877878 
    878879"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" 
    882881"                BL      _DebugAssert \n" 
    883882"                B       loc_FF865848 \n" 
     
    891890"                CMP     R0, #0 \n" 
    892891"                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" 
    897893"                BLEQ    _DebugAssert \n" 
    898894"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/g12/sub/100c/capt_seq.c

    r713 r742  
    120120// jump table entry 0 
    121121"loc_FF882700:\n" 
     122 
     123"               BL      shooting_expo_iso_override\n"               // added 
     124 
    122125"               BL      sub_FF882E00 \n" 
    123126 
  • trunk/platform/g12/sub/100e/boot.c

    r666 r742  
    649649} 
    650650 
     651// Pointer to stack location where jogdial task records previous and current 
     652// jogdial positions 
     653short *jog_position; 
     654 
    651655// Firmware version @ FF8657EC 
    652656void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    659663"                MOV     R0, #0 \n" 
    660664"                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 
    661670"                ADD     R12, SP, #0x1C \n" 
    662671"                ADD     R10, SP, #0x08 \n" 
     
    686695"                CMP     R0, #0 \n" 
    687696"                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" 
    692698"                BLNE    _DebugAssert \n" 
    693699"                LDR     R0, [SP] \n" 
     
    704710"                CMP     R4, #0 \n" 
    705711"                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" 
    710713"                BLNE    _DebugAssert \n" 
    711714"                RSB     R0, R4, R4,LSL#3 \n" 
     
    849852 
    850853"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" 
    854855"                BL      _DebugAssert \n" 
    855856 
     
    877878 
    878879"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" 
    882881"                BL      _DebugAssert \n" 
    883882"                B       loc_FF865848 \n" 
     
    891890"                CMP     R0, #0 \n" 
    892891"                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" 
    897893"                BLEQ    _DebugAssert \n" 
    898894"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/g12/sub/100e/capt_seq.c

    r713 r742  
    120120// jump table entry 0 
    121121"loc_FF882700:\n" 
     122 
     123"               BL      shooting_expo_iso_override\n"               // added 
     124 
    122125"               BL      sub_FF882E00 \n" 
    123126 
  • trunk/platform/g12/sub/100f/boot.c

    r674 r742  
    657657} 
    658658 
     659// Pointer to stack location where jogdial task records previous and current 
     660// jogdial positions 
     661short *jog_position; 
     662 
    659663// Firmware version @ FF8657EC 
    660664void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    667671"                MOV     R0, #0 \n" 
    668672"                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 
    669678"                ADD     R12, SP, #0x1C \n" 
    670679"                ADD     R10, SP, #0x08 \n" 
     
    694703"                CMP     R0, #0 \n" 
    695704"                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" 
    700706"                BLNE    _DebugAssert \n" 
    701707"                LDR     R0, [SP] \n" 
     
    712718"                CMP     R4, #0 \n" 
    713719"                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" 
    718721"                BLNE    _DebugAssert \n" 
    719722"                RSB     R0, R4, R4,LSL#3 \n" 
     
    857860 
    858861"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" 
    862863"                BL      _DebugAssert \n" 
    863864 
     
    885886 
    886887"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" 
    890889"                BL      _DebugAssert \n" 
    891890"                B       loc_FF865848 \n" 
     
    899898"                CMP     R0, #0 \n" 
    900899"                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" 
    905901"                BLEQ    _DebugAssert \n" 
    906902"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/g12/sub/100f/capt_seq.c

    r713 r742  
    120120// jump table entry 0 
    121121"loc_FF882700:\n" 
     122 
     123"               BL      shooting_expo_iso_override\n"               // added 
     124 
    122125"               BL      sub_FF882E00 \n" 
    123126 
  • trunk/platform/sx30/kbd.c

    r711 r742  
    243243} 
    244244 
     245// Set to 1 to disable jogdial events from being processed in firmware 
    245246volatile int jogdial_stopped=0; 
     247 
     248// Pointer to stack location where jogdial task records previous and current 
     249// jogdial positions 
     250extern short* jog_position; 
     251 
     252void 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} 
    246262 
    247263void my_kbd_read_keys() 
     
    259275          physw_status[1] = kbd_new_state[1]; 
    260276          physw_status[2] = kbd_new_state[2]; 
    261           jogdial_stopped=0; 
     277          jogdial_control(0); 
    262278 
    263279        } else { 
     
    269285                if ((jogdial_stopped==0) && !state_kbd_script_run) 
    270286                { 
    271                         jogdial_stopped=1; 
     287                        jogdial_control(1); 
    272288                        get_jogdial_direction(); 
    273289                } 
    274                 else if (jogdial_stopped && state_kbd_script_run) jogdial_stopped=0; 
     290                else if (jogdial_stopped && state_kbd_script_run) jogdial_control(0); 
    275291        } 
    276292 
  • trunk/platform/sx30/shooting.c

    r703 r742  
    131131#include "../generic/shooting.c" 
    132132 
     133// Override ISO settings (need to do this before exposure calc for ISO as well as after) 
     134void __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 
    133150long get_file_next_counter() { 
    134151        return get_file_counter(); 
  • trunk/platform/sx30/sub/100e/boot.c

    r666 r742  
    639639} 
    640640 
     641// Pointer to stack location where jogdial task records previous and current 
     642// jogdial positions 
     643short *jog_position; 
     644 
    641645// Firmware version @ FF865D08 
    642646void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    649653"                MOV     R0, #0 \n" 
    650654"                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 
    651660"                ADD     R12, SP, #0x14 \n" 
    652661"                ADD     R10, SP, #0x08 \n" 
     
    676685"                CMP     R0, #0 \n" 
    677686"                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" 
    682688"                BLNE    _DebugAssert \n" 
    683689"                LDR     R0, [SP] \n" 
     
    694700"                CMP     R4, #0 \n" 
    695701"                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" 
    700703"                BLNE    _DebugAssert \n" 
    701704"                RSB     R0, R4, R4,LSL#3 \n" 
     
    839842 
    840843"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" 
    844845"                BL      _DebugAssert \n" 
    845846 
     
    867868 
    868869"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" 
    872871"                BL      _DebugAssert \n" 
    873872"                B       loc_FF865D64 \n" 
     
    881880"                CMP     R0, #0 \n" 
    882881"                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" 
    887883"                BLEQ    _DebugAssert \n" 
    888884"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/sx30/sub/100e/capt_seq.c

    r692 r742  
    8181// jump table entry 0 
    8282"loc_FF88699C:\n" 
     83 
     84"               BL      shooting_expo_iso_override\n"               // added 
     85 
    8386"               BL      sub_FF887084 \n" 
    8487 
  • trunk/platform/sx30/sub/100h/boot.c

    r666 r742  
    639639} 
    640640 
     641// Pointer to stack location where jogdial task records previous and current 
     642// jogdial positions 
     643short *jog_position; 
     644 
    641645// Firmware version @ FF865D08 
    642646void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    649653"                MOV     R0, #0 \n" 
    650654"                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 
    651660"                ADD     R12, SP, #0x14 \n" 
    652661"                ADD     R10, SP, #0x08 \n" 
     
    676685"                CMP     R0, #0 \n" 
    677686"                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" 
    682688"                BLNE    _DebugAssert \n" 
    683689"                LDR     R0, [SP] \n" 
     
    694700"                CMP     R4, #0 \n" 
    695701"                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" 
    700703"                BLNE    _DebugAssert \n" 
    701704"                RSB     R0, R4, R4,LSL#3 \n" 
     
    839842 
    840843"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" 
    844845"                BL      _DebugAssert \n" 
    845846 
     
    867868 
    868869"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" 
    872871"                BL      _DebugAssert \n" 
    873872"                B       loc_FF865D64 \n" 
     
    881880"                CMP     R0, #0 \n" 
    882881"                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" 
    887883"                BLEQ    _DebugAssert \n" 
    888884"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/sx30/sub/100h/capt_seq.c

    r692 r742  
    8181// jump table entry 0 
    8282"loc_FF88699C:\n" 
     83 
     84"               BL      shooting_expo_iso_override\n"               // added 
     85 
    8386"               BL      sub_FF887084 \n" 
    8487 
  • trunk/platform/sx30/sub/100l/boot.c

    r666 r742  
    639639} 
    640640 
     641// Pointer to stack location where jogdial task records previous and current 
     642// jogdial positions 
     643short *jog_position; 
     644 
    641645// Firmware version @ FF865D08 
    642646void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    649653"                MOV     R0, #0 \n" 
    650654"                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 
    651660"                ADD     R12, SP, #0x14 \n" 
    652661"                ADD     R10, SP, #0x08 \n" 
     
    676685"                CMP     R0, #0 \n" 
    677686"                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" 
    682688"                BLNE    _DebugAssert \n" 
    683689"                LDR     R0, [SP] \n" 
     
    694700"                CMP     R4, #0 \n" 
    695701"                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" 
    700703"                BLNE    _DebugAssert \n" 
    701704"                RSB     R0, R4, R4,LSL#3 \n" 
     
    839842 
    840843"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" 
    844845"                BL      _DebugAssert \n" 
    845846 
     
    867868 
    868869"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" 
    872871"                BL      _DebugAssert \n" 
    873872"                B       loc_FF865D64 \n" 
     
    881880"                CMP     R0, #0 \n" 
    882881"                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" 
    887883"                BLEQ    _DebugAssert \n" 
    888884"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/sx30/sub/100l/capt_seq.c

    r692 r742  
    8181// jump table entry 0 
    8282"loc_FF8869A0:\n" 
     83 
     84"               BL      shooting_expo_iso_override\n"               // added 
     85 
    8386"               BL      sub_FF887088 \n" 
    8487 
  • trunk/platform/sx30/sub/100n/boot.c

    r679 r742  
    649649} 
    650650 
     651// Pointer to stack location where jogdial task records previous and current 
     652// jogdial positions 
     653short *jog_position; 
     654 
    651655// Firmware version @ FF865D08 
    652656void __attribute__((naked,noinline)) JogDial_task_my() { 
     
    659663"                MOV     R0, #0 \n" 
    660664"                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 
    661670"                ADD     R12, SP, #0x14 \n" 
    662671"                ADD     R10, SP, #0x08 \n" 
     
    686695"                CMP     R0, #0 \n" 
    687696"                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" 
    692698"                BLNE    _DebugAssert \n" 
    693699"                LDR     R0, [SP] \n" 
     
    704710"                CMP     R4, #0 \n" 
    705711"                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" 
    710713"                BLNE    _DebugAssert \n" 
    711714"                RSB     R0, R4, R4,LSL#3 \n" 
     
    849852 
    850853"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" 
    854855"                BL      _DebugAssert \n" 
    855856 
     
    877878 
    878879"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" 
    882881"                BL      _DebugAssert \n" 
    883882"                B       loc_FF865D64 \n" 
     
    891890"                CMP     R0, #0 \n" 
    892891"                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" 
    897893"                BLEQ    _DebugAssert \n" 
    898894"                RSB     R0, R4, R4,LSL#3 \n" 
  • trunk/platform/sx30/sub/100n/capt_seq.c

    r679 r742  
    8181// jump table entry 0 
    8282"loc_FF8869A0:\n" 
     83 
     84"               BL      shooting_expo_iso_override\n"               // added 
     85 
    8386"               BL      sub_FF887088 \n" 
    8487 
Note: See TracChangeset for help on using the changeset viewer.