Magic Lantern Firmware Wiki
Advertisement



for 550d 108

bmp_vram_info[]

ROM:FF05DAF8 SetBitmapVramAddress                   
...
ROM:FF05DB14                 LDR     R5, =bmp_vram_info
ROM:FF05DB18                 MOV     R0, #1
ROM:FF05DB1C                 ADD     R6, R5, #0xC
ROM:FF05DB20                 STR     R0, [R5,#4]

vram_info[]

ROM:FF28A6F8 vram_get_number                         
...
ROM:FF28A718                 LDR     R2, =vram_info
ROM:FF28A71C                 LDR     R1, [R1,#0x20]
ROM:FF28A720                 MOV     R0, #0
ROM:FF28A724                 B       loc_FF28A740
ROM:FF28A728
ROM:FF28A728 loc_FF28A728                            
ROM:FF28A728                 ADD     R3, R0, R0,LSL#2
ROM:FF28A72C                 ADD     R3, R2, R3,LSL#2
ROM:FF28A730                 LDR     R3, [R3,#0x10]
ROM:FF28A734                 CMP     R3, R4

dm_names[]

ROM:FF0673EC DebugMsg     
...                     
ROM:FF06745C                 LDR R0, =off_2B74 ; dm_names
ROM:FF067460 loc_FF067460                           
ROM:FF067460                 LDR     R1, [R0,R1,LSL#2]
ROM:FF067464                 ADD     R0, SP, #0xA0+var_98
ROM:FF067468                 BL      strcpy

sounddev[]

ROM:FF057578 sounddev_task
...
ROM:FF053488 LDR R4, =0x1ED0 ; sounddev
ROM:FF05348C MOV R2, #0
ROM:FF053490 STR R0, [R4,#0x58]

audio_thresholds[]

ROM:FF1AC348 check_audio_lvl_maybe

ROM:FF1AC348                 STMFD   SP!, {R2-R10,LR}
ROM:FF1AC34C                 MOV     R5, 0xFFFFFFD8
ROM:FF1AC350                 MOV     R4, R0
ROM:FF1AC354                 MOV     R1, #0
ROM:FF1AC358                 LDR     R9, [R4,#0x2C]
ROM:FF1AC35C                 LDR     R8, =audio_thresholds
ROM:FF1AC360                 MOV     R2, R1
ROM:FF1AC364                 MOV     R3, R1
ROM:FF1AC368                 MOV     R0, #0x28 ; '('

ROM:FF4C463C audio_thresholds DCD 0x7FFF,0x7213,0x65AB,0x5A9D
ROM:FF4C463C                 DCD 0x50C2,0x47FA,0x4026,0x392C
Advertisement