Ignore:
Timestamp:
03/16/12 04:51:39 (14 months ago)
Author:
reyalp
Message:

update with r1722-r1736 from trunk

Location:
branches/reyalp-ptp-live
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp-live

  • branches/reyalp-ptp-live/platform/a1000/sub/100b/stubs_min.S

    r1720 r1737  
    1212DEF(led_table,                          0x2290) // 0x270C + 4 
    1313 
    14 // found in sub_FF957174 (called from MoveZoomLensWithPoint (sub_FF957B34)) 
    15 // ROM:FF957178   LDR     R4, =0xB37C 
    16 // .. 
    17 // ROM:FF9571BC   LDR     R0, [R4,#0x34] 
    18 // ROM:FF9571C0   CMP     R0, #0 
    19 // ROM:FF9571C4   MOVNE   R1, #0xE0 
    20 // ROM:FF9571C8   ADRNE   R0, aZoomlenscontro @ "ZoomLensController.c" 
    21 // ROM:FF9571CC   BLNE    assert 
    22 //DEF(zoom_busy,                          0xB4A4) //0xB37C + 0x34 
    23  
    24 // Found in sub_FF950718 (<- sub_FFA0D148 <- sub_FFA0D394 <- sub_FFA0D408 
    25 //                                    <- MoveFocusLensToDistance (sub_FFA0D41C)) 
    26 // ROM:FF95071C   LDR     R4, =0xB274 
    27 // .. 
    28 // ROM:FF950770   LDR     R0, [R4,#8] 
    29 // ROM:FF950774   CMP     R0, #0 
    30 // ROM:FF950778   MOVNE   R1, #0x90 
    31 // ROM:FF95077C   ADRNE   R0, aFocuslenscontr @ "FocusLensController.c" 
    32 // ROM:FF950780   BLNE    assert 
    33 //DEF(focus_busy,                         0x7EE8) //0xB274 + 8 or 7fd4 
    34  
    35 // Same as previous variable, unusable. Originally found it by peeking through 
    36 // memory and it looked suitable at first. This address along with 0xBE64 
    37 // (suitable as canon_shoot_menu_active, code agrees) looked suitable but I got 
    38 // the basic idea wrong. Listed for completeness. 
    39  
    40 // Found in sub_FF982310 (deactivates shoot menu?). Ewavr found it but didn't 
    41 // clearly specify where, so this is a guess. 
    42 // ROM:FF982310   LDR     R1, =0xC05C 
    43 // ROM:FF982314   MOV     R0, #0 
    44 // ROM:FF982318   STRB    R0, [R1] 
    45 // ROM:FF98231C   STRB    R0, [R1,#1] 
    46 //DEF(canon_shoot_menu_active,            0xC05D) // 0xC05C + 1 
    47  
    48 // Found in sub_FF9754AC. Again, ewavr found this one, he did supply one pointer 
    49 // 'search for LDR R12, =0x3007'. I guess this is the right one then :) 
    50 // ROM:FF9754AC 000                 STMFD   SP!, {R4,LR} 
    51 // ROM:FF9754B0 008                 LDR     R1, =0xBD60 
    52 // ROM:FF9754B4 008                 LDR     R12, =0x3007 
    53 // ROM:FF9754B8 008                 LDR     R2, [R1,#0xCC] 
    54 //DEF(recreview_hold,                     0x94C8) // 0xBD60 + 0xCC 
    55 //DEF(movie_status,                       0x5868 + 0x38) 
    5614DEF(mode_magic,                         0x58D4) 
    5715DEF(enabled_refresh_physical_screen,    0xa460 + 0x30) // found in sub_ffd7a308 
Note: See TracChangeset for help on using the changeset viewer.