root/platform/ixus850_sd800/sub/100e/stubs_min.S

/* [<][>][^][v][top][bottom][index][help] */
   1 #include "stubs_asm.h"
   2 
   3 /*******************
   4 ROM:FF828060 loc_FF828060                            ; CODE XREF: sub_FF828044+14j
   5 ROM:FF828060                 LDR     R3, =physw_status <------ 0x0000FB60
   6 ROM:FF828064                 LDR     R0, [R3,R4,LSL#2]
   7 ROM:FF828068                 LDMFD   SP!, {R4,PC}
   8 ROM:FF828068 ; End of function sub_FF828044
   9 ROM:FF828068
  10 ROM:FF828068 ; ---------------------------------------------------------------------------
  11 ROM:FF82806C off_FF82806C    DCD aPhysw_c            ; DATA XREF: sub_FF828044+10r
  12 ROM:FF82806C                                         ; "PhySw.c"
  13 ROM:FF828070 off_FF828070    DCD physw_status        ; DATA XREF: sub_FF828044:loc_FF828060r
  14 ROM:FF828074
  15 ROM:FF828074 ; =============== S U B R O U T I N E =======================================
  16 ROM:FF828074
  17 ROM:FF828074 ; Attributes: noreturn
  18 ROM:FF828074
  19 ROM:FF828074 PhySw_task                              ; DATA XREF: ROM:off_FF828038o
  20 ROM:FF828074                 STMFD   SP!, {R4,LR}
  21 ROM:FF828078                 LDR     R2, =physw_run <------ 0x00001FDC
  22 ROM:FF82807C                 LDR     R3, [R2]
  23 ROM:FF828080                 CMP     R3, #0
  24 ROM:FF828084                 BEQ     loc_FF8280B0
  25 ROM:FF828088                 MOV     R4, R2
  26 
  27 ROM:FF8280B4 ; ---------------------------------------------------------------------------
  28 ROM:FF8280B8 off_FF8280B8    DCD physw_run           ; DATA XREF: PhySw_task+4r
  29 ROM:FF8280BC
  30 ROM:FF8280BC ; =============== S U B R O U T I N E =======================================
  31 ROM:FF8280BC
  32 ROM:FF8280BC
  33 ROM:FF8280BC kbd_p1_f                                ; CODE XREF: PhySw_task+20p
  34 ROM:FF8280BC                 STMFD   SP!, {R4-R7,LR}
  35 ROM:FF8280C0                 SUB     SP, SP, #0xC
  36 ROM:FF8280C4                 BL      kbd_read_keys
  37 ROM:FF8280C8                 LDR     R7, =physw_status ; kbd_p1_f_cont
  38 ROM:FF8280CC                 MOV     R6, SP
  39 ROM:FF8280D0                 LDR     R5, =unk_FB40
  40 ROM:FF8280D4                 LDR     R4, =unk_FB50
  41 ROM:FF8280D8                 MOV     R12, #2
  42 ROM:FF8280DC                 MOV     LR, R6
  43 
  44 *******************/
  45 
  46 DEF(physw_status, 0xFB60)       // see PhySw task at FF828074, dword above PhySw_task, 
  47 DEF(physw_run, 0x1FDC)          // dword above kbd_p1_f, used by PhySw_task
  48 
  49 /************
  50 ROM:FFAF175C                 LDR     R3, =unk_97B50
  51 ROM:FFAF1760                 LDR     R12, =zoom_busy_0 <--- 0x00097B2C
  52 ROM:FFAF1764                 LDR     R4, =unk_97B28
  53 ROM:FFAF1768                 STR     R0, [R3]
  54 ROM:FFAF176C                 MOV     R2, #0x10
  55 ROM:FFAF1770                 STR     R5, [R12]
  56 ROM:FFAF1774                 MOV     R1, #0xA
  57 ROM:FFAF1778                 LDR     R0, =aZoomlens
  58 ROM:FFAF177C                 STR     R5, [R4]
  59 ROM:FFAF1780                 BL      sub_FFAEA8A4
  60 ROM:FFAF1784                 STR     R0, [R6]
  61 ROM:FFAF1788                 BL      taskcreate_ZoomEvent
  62 *************/
  63 
  64 DEF(zoom_busy, 0x97B2C)         // "ZoomLens"
  65 
  66 /**************
  67 ROM:FFB016EC aFocuslens      DCB "FocusLens",0       ; DATA XREF: ROM:off_FFB017CCo
  68 ROM:FFB016F6                 DCB    0
  69 ROM:FFB016F7                 DCB    0
  70 ROM:FFB016F8
  71 ROM:FFB016F8 ; =============== S U B R O U T I N E =======================================
  72 ROM:FFB016F8
  73 ROM:FFB016F8
  74 ROM:FFB016F8 sub_FFB016F8                            ; CODE XREF: taskcreate_ISCPUInitTask+14p
  75 ROM:FFB016F8                 STMFD   SP!, {R4-R6,LR}
  76 ROM:FFB016FC                 LDR     R6, =dword_A9B0
  77 ROM:FFB01700                 LDR     R4, [R6]
  78 ROM:FFB01704                 CMP     R4, #0
  79 ROM:FFB01708                 LDR     R0, =unk_97E70
  80 ROM:FFB0170C                 LDR     R5, =unk_97E6C
  81 ROM:FFB01710                 LDMNEFD SP!, {R4-R6,PC}
  82 ROM:FFB01714                 BL      sub_FFAFC2AC
  83 ROM:FFB01718                 BL      sub_FFB03240
  84 ROM:FFB0171C                 MOV     R1, #1
  85 ROM:FFB01720                 MOV     R0, R4
  86 ROM:FFB01724                 BL      CreateBinarySemaphoreStrictly
  87 ROM:FFB01728                 LDR     R3, =unk_97E64
  88 ROM:FFB0172C                 MOV     R1, #1
  89 ROM:FFB01730                 STR     R0, [R3]
  90 ROM:FFB01734                 MOV     R0, R4
  91 ROM:FFB01738                 BL      CreateBinarySemaphoreStrictly
  92 ROM:FFB0173C                 LDR     R3, =unk_97E68
  93 ROM:FFB01740                 LDR     R2, =unk_97E24
  94 ROM:FFB01744                 STR     R0, [R3]
  95 ROM:FFB01748                 LDR     R12, =unk_97E28
  96 ROM:FFB0174C                 LDR     R3, =focus_busy_0 <--------- 0x00097E20
  97 ROM:FFB01750                 MOV     R0, R4
  98 ROM:FFB01754                 STR     R4, [R3]
  99 
 100 **************/
 101 
 102 DEF(focus_busy, 0x97E20)        // "FocusLens"
 103 
 104 DEF(playrec_mode, 0x6DF4)       // in the first called f-n in task_SsStartupTask
 105 
 106 /*************
 107 sub_FF9B4150                            ; CODE XREF: sub_FF9B2E94+A4p
 108 ROM:FF9B4150                 MOV     R0, R0,LSL#16
 109 ROM:FF9B4154                 MOV     R3, R3,LSL#16
 110 ROM:FF9B4158                 MOV     R0, R0,LSR#16
 111 ROM:FF9B415C                 STMFD   SP!, {R4-R8,LR}
 112 ROM:FF9B4160                 MOV     R7, R2
 113 ROM:FF9B4164                 MOV     R8, R1
 114 ROM:FF9B4168                 MOV     R4, R3,ASR#16
 115 ROM:FF9B416C                 BL      sub_FF9B0A18 <-----------
 116 ROM:FF9B4170                 MOV     R5, R0
 117 ROM:FF9B4174                 LDRH    R3, [R5,#4]
 118 ROM:FF9B4178                 BIC     R3, R3, #3
 119 ROM:FF9B417C                 MOV     R3, R3,LSL#16
 120 ROM:FF9B4180                 LDR     R2, =unk_911E0
 121 ROM:FF9B4184                 MOV     R3, R3,LSR#16
 122 ROM:FF9B4188                 ADD     R3, R3, R2
 123 ROM:FF9B418C                 CMP     R7, #0
 124 ROM:FF9B4190                 LDR     R0, =aParameterManager_c
 125 ROM:FF9B4194                 MOV     R1, #0x94 ; ''
 126 ROM:FF9B4198                 ADD     R6, R3, #5
 127 ROM:FF9B419C                 BNE     loc_FF9B41A4
 128 ROM:FF9B41A0                 BL      DebugAssert
 129 ROM:FF9B41A4
 130 ROM:FF9B41A4 loc_FF9B41A4                            ; CODE XREF: sub_FF9B4150+4Cj
 131 ROM:FF9B41A4                 MOV     R3, R4,LSL#16
 132 ROM:FF9B41A8                 LDRH    R2, [R5,#6]
 133 ROM:FF9B41AC                 MOV     R4, R3,LSR#16
 134 ROM:FF9B41B0                 CMP     R4, R2
 135 ROM:FF9B41B4                 LDR     R0, =aParameterManager_c
 136 ROM:FF9B41B8                 MOV     R1, #0x95 ; ''
 137 ROM:FF9B41BC                 BLS     loc_FF9B41C4
 138 ROM:FF9B41C0                 BL      DebugAssert
 139 ROM:FF9B41C4
 140 ROM:FF9B41C4 loc_FF9B41C4                            ; CODE XREF: sub_FF9B4150+6Cj
 141 ROM:FF9B41C4                 MOV     R0, R8
 142 ROM:FF9B41C8                 MOV     R1, R6
 143 ROM:FF9B41CC                 MOV     R2, R4
 144 ROM:FF9B41D0                 LDRH    R3, [R5,#8]
 145 ROM:FF9B41D4                 BL      sub_FF9B4454
 146 ROM:FF9B41D8                 MOV     R0, R7
 147 ROM:FF9B41DC                 MOV     R2, R4
 148 ROM:FF9B41E0                 MOV     R1, R6
 149 ROM:FF9B41E4                 LDMFD   SP!, {R4-R8,LR}
 150 ROM:FF9B41E8                 B       memcpy
 151 ROM:FF9B41E8 ; End of function sub_FF9B4150
 152 ROM:FF9B41E8
 153 ROM:FF9B41E8 ; -------------------------------------------------------
 154 
 155 
 156 
 157 ROM:FF9B0A18 sub_FF9B0A18                            ; CODE XREF: sub_FF9B3FB8+18p
 158 ROM:FF9B0A18                                         ; sub_FF9B4084+24p ...
 159 ROM:FF9B0A18                 STMFD   SP!, {R4,LR}
 160 ROM:FF9B0A1C                 MOV     R4, R0
 161 ROM:FF9B0A20                 MOV     R1, #0x1340
 162 ROM:FF9B0A24                 CMP     R4, #0x6D ; 'm'
 163 ROM:FF9B0A28                 ADD     R1, R1, #0x1E
 164 ROM:FF9B0A2C                 LDR     R0, =aPropertytable_c
 165 ROM:FF9B0A30                 BLS     loc_FF9B0A38
 166 ROM:FF9B0A34                 BL      DebugAssert
 167 ROM:FF9B0A38
 168 ROM:FF9B0A38 loc_FF9B0A38                            ; CODE XREF: sub_FF9B0A18+18j
 169 ROM:FF9B0A38                 LDR     R3, =FlashParamsTable <-- 0xFF9B0860
 170 ROM:FF9B0A3C                 LDR     R0, [R3,R4,LSL#2]
 171 ROM:FF9B0A40                 LDMFD   SP!, {R4,PC}
 172 
 173 *************/
 174 DEF(FlashParamsTable, 0xFF9B0860)
 175 
 176 
 177 /**********
 178 
 179 ROM:FFA53D10 StartRecModeMenu                        ; CODE XREF: sub_FF9DE684+28p
 180 ROM:FFA53D10                                         ; sub_FF9E6904+3B8p
 181 ROM:FFA53D10                                         ; DATA XREF: ...
 182 ROM:FFA53D10                 STMFD   SP!, {R4-R7,LR}
 183 ROM:FFA53D14                 LDR     R5, =canon_menu_active <-----0x00009054
 184 ROM:FFA53D18                 LDR     R2, =canon_menu_active2
 185 ROM:FFA53D1C                 LDR     R3, [R5]
 186 
 187 **********/
 188 
 189 DEF(canon_menu_active,0x9054)           // after "StartRecModeMenu", LDR R4, =0x9054
 190 
 191 /************
 192 ROM:FF9F3298 taskcreate_DSITask                      ; CODE XREF: sub_FF9DDDA0+40p
 193 ROM:FF9F3298
 194 ROM:FF9F3298 var_10          = -0x10
 195 ROM:FF9F3298
 196 ROM:FF9F3298                 STMFD   SP!, {R4,R5,LR}
 197 ROM:FF9F329C                 LDR     R5, =dword_7EDC
 198 
 199 ************/
 200 
 201 DEF(canon_shoot_menu_active,0x7ED9) // (0x7EDC - 0x4 + 0x1) found in "taskcreate_DSITask"
 202 
 203 /************
 204 ROM:FF9E59C8 aArSnd0x04x     DCB "AR:Snd:0x%04x",0   ; DATA XREF: ROM:off_FF9E5A54o
 205 ROM:FF9E59D6                 DCB    0
 206 ROM:FF9E59D7                 DCB    0
 207 ROM:FF9E59D8
 208 ROM:FF9E59D8 ; =============== S U B R O U T I N E =======================================
 209 ROM:FF9E59D8
 210 ROM:FF9E59D8
 211 ROM:FF9E59D8 sub_FF9E59D8                            ; CODE XREF: sub_FF9E5B84-11Cj
 212 ROM:FF9E59D8                                         ; sub_FF9E5A6C+10j ...
 213 ROM:FF9E59D8
 214 ROM:FF9E59D8 var_D           = -0xD
 215 ROM:FF9E59D8
 216 ROM:FF9E59D8                 STMFD   SP!, {R4,R5,LR}
 217 ROM:FF9E59DC                 LDR     R3, =dword_7CF4
 218 ROM:FF9E59E0                 SUB     SP, SP, #4
 219 
 220 ************/
 221 
 222 
 223 DEF(recreview_hold, 0x7CF0) // (0x7CF4 - 0x4) found in "AR:Snd:0x%04x", LDR R3, =0x7CF4;
 224 DEF(zoom_status, 0x7DB0)
 225 DEF(movie_status, 0x8BC00)
 226 DEF(some_flag_for_af_scan, 0x6AE0)
 227 DEF(some_f_for_dng, 0x9A68)
 228 DEF(second_ext_for_dng, 0x9A8C)
 229 DEF(levent_table,0xFF9A6CEC)
 230 
 231 DEF(sys_mempart_id, 0xcf38)

/* [<][>][^][v][top][bottom][index][help] */