1 #include "stubs_asm.h" 2 3 //DEF(led_table,) 4 //DEF(jpeg_count_str ,0x0019B134) //xFound @0xFC103796 5 DEF(file_counter_var ,0x00013148) // xfound by searching for "FileBackupProperty.c" 6 //DEF(ctypes , 0xFC57bf14) //x 7 //DEF(ctypes , 0xFC57bf28) //x stubs_entry 8 // Camera has 2 RAW buffers @ ?? & ?? 9 //DEF(raw_buffers ,0xfc631bf4) // 10 DEF(active_raw_buffer ,0x0000babc) // xFound @0xFC154b5c, 0xffffffff when uninited (0xC offset added similar to sx280) 11 DEF(raw_buffers_canon_raw ,0xfc631864) //near DevelopAddress.c 12 DEF(raw_buffers_jpeg ,0xfc631bf4) //near DevelopPipeline.c 0xfc631c00 13 DEF(av_override_semaphore ,0x0002569c) //x found at 0xfc39d516 near aIrisCoeafficient 14 //DEF(fileio_semaphore ,0x00013294) // xFound @0xfc06e61a 15 16 //DEF(physw_status ,0x00033F64) // xFound @0xFC073368 17 //DEF(physw_run ,0x000082C8) // xFound @0xFC07306a 18 //DEF(physw_sleep_delay ,0x000083d0) // xFound @0xFC073068 19 //DEF(physw_sleep_delay ,0x000082d0) // xFound @0xFC073068 20 //DEF(levent_table ,0xFC66AA18) // xFound @0xFC0CC574 21 //DEF(FlashParamsTable ,0xFC9021f4) // xFound at FC1198DC 22 //DEF(movie_status ,0x00013a60) // xFund at fc1d4fc6 23 DEF(current_fb_d ,0xfa9c) // found by searching near fa78 24 DEF(current_viewport_buffer ,0x8810) //found by searching near 0x875a 25 DEF(viewport_buffers ,0xfc5cf054)//memory search refs to fc5cf03c 26 FAKEDEF(movie_status ,1) 27 FAKEDEF(video_compression_rate ,1) 28 FAKEDEF(full_screen_refresh ,1) // ,0x00014BD4) // xFound @0xFC333f00 29 DEF(canon_menu_active ,0x0000c238 + 0x8) // found at 0xfc255c8 30 FAKEDEF(canon_shoot_menu_active ,1) // ??? not found 31 //DEF(playrec_mode ,0x0000BB84) //x Found @0xFC2D79ba 32 DEF(zoom_status ,0x00021C66) //x or 21C80-24 Found @0xFC3752d4 33 34 //DEF(error_table ,0xFC66A6D8) // Found @0xFC1E0E4C NOTMIGRATED 35 36 DEF(focus_len_table ,0xfdf317ec) 37 //FAKEDEF(focus_len_table ,0) 38 //DEF(zoom_busy ,0x0000B85C) // xFound @0xFC2EDA2c 39 //DEF(focus_busy ,0x00013488) //x Found @0xFC2F9DDe 40 //DEF(recreview_hold ,0x000091d4) //x or 91dc Found @0xFC31B670 41 DEF(recreview_hold ,0x000091f0) //x found @0xFC31B670 above ShtCon_Shut xxx 42 //above found by using rmem -i32 0x9100 64 (near 914c) 43 //FAKEDEF(zoom_busy ,0) 44 //FAKEDEF(focus_busy ,0) 45 //FAKEDEF(recreview_hold ,0) 46 //DEF_CONST(uiprop_count ,0x000000C7) //x Found @0xFC0AA514 47 48 DEF(bitmap_buffer, 0xc204) // look at 0xfc33701a 49 DEF(active_bitmap_buffer, 0xc1fc) // subtract 8 50 DEF(dial_positions,0x0000fc88) 51 //FAKEDEF(active_bitmap_buffer ,0) 52 53 // focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 54 // each entry contains 2 int value(s), the first is the zoom focus length. 55 // there are 102 entries in the table - set NUM_FL to 101 56 // TO BE MIGRATED 57 58 59 //.globl bitmap_buffer; bitmap_buffer: ; .long 0x427e3000 ; .long 0x42621000 ; 60 // FAKEDEF(viewport_buffers, 1) // ? 61 // FAKEDEF(active_viewport_buffer, 1) // ? 62 63 // not porting the following 64 DEF(jog_position, 0xfc8c) // 65 DEF(jog_hw_pos, 0xd9854004) // todo found by browsing the 0xd985xxxx range... 66 67 //FAKEDEF(enabled_refresh_physical_screen, 1) 68 DEF(displaytype, 0x9284) // 0x923c + 0x48 found @0xfc304708 (42 refs) 69 DEF(simple_movie_status, 0x13b18) // using rmem from looking at addresses in task-movie-re