| Revision 473,
1.0 KB
checked in by phyrephox, 5 years ago
(diff) |
|
+ added option in misc - startsound. if enabled (disable as default) you will hear a short beep right before the splash screen. will someday be the antitheft function (yet to be coded...)
- small fix in OSD element fast_ev, should be better now, but still not perfect
+ added functions EnterToCompensationEVF() & ExitFromCompensationEVF(); -> read about it here http://chdk.setepontos.com/index.php/topic,2051.msg19300.html#msg19300 (thx fudgey)
--> prepared the sources so that adding the adresses to other cams will be easy - needs ASM people though
- small patch in symbol mod by CHDKLover
- fixed bug in makefile
+ batch-zip-complete: filename of the zip now gets an "_complete" appended
oh, and thanks Hacki for letting me steal endless hours of your sleep ;)
|
| Line | |
|---|
| 1 | #include "platform.h" |
|---|
| 2 | |
|---|
| 3 | void *hook_raw_fptr() |
|---|
| 4 | { |
|---|
| 5 | return (void*)0x34C50; |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | void *hook_raw_ret_addr() |
|---|
| 9 | { |
|---|
| 10 | return (void*)0xFFCC7FF0; |
|---|
| 11 | } |
|---|
| 12 | |
|---|
| 13 | char *hook_raw_image_addr() |
|---|
| 14 | { |
|---|
| 15 | return (char*)0x105BA490; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | long hook_raw_size() |
|---|
| 19 | { |
|---|
| 20 | return 0xC58758; |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | void *vid_get_viewport_live_fb() |
|---|
| 24 | { |
|---|
| 25 | return (void*)0; |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | void *vid_get_bitmap_fb() |
|---|
| 29 | { |
|---|
| 30 | return (void*)(0x10361000); |
|---|
| 31 | } |
|---|
| 32 | |
|---|
| 33 | void *vid_get_viewport_fb() |
|---|
| 34 | { |
|---|
| 35 | return (void*)0x105F3170; //0x1055B370; |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | void *vid_get_viewport_fb_d() |
|---|
| 39 | { |
|---|
| 40 | return (void*)(*(int*)0x65b2c); |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | long vid_get_bitmap_screen_width() |
|---|
| 44 | { |
|---|
| 45 | return 360; |
|---|
| 46 | } |
|---|
| 47 | |
|---|
| 48 | long vid_get_bitmap_screen_height() |
|---|
| 49 | { |
|---|
| 50 | return 240; |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | long vid_get_viewport_height() |
|---|
| 54 | { |
|---|
| 55 | return 240; |
|---|
| 56 | } |
|---|
| 57 | char *camera_jpeg_count_str() |
|---|
| 58 | { |
|---|
| 59 | return (char*)0x71200; |
|---|
| 60 | } |
|---|
| 61 | |
|---|
| 62 | long vid_get_bitmap_buffer_width() { return 360; } |
|---|
| 63 | |
|---|
| 64 | long vid_get_bitmap_buffer_height() { return 240; } |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | void _EnterToCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S. |
|---|
| 68 | void _ExitFromCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S. |
|---|
Note: See
TracBrowser
for help on using the repository browser.