Changeset 981


Ignore:
Timestamp:
04/04/12 10:55:32 (14 months ago)
Author:
rudi_de
Message:

Aktualisierung auf Rev. 1788 internationaler Branch: Release-1.0
http://trac.assembla.com/chdk/changeset/1788/branches/release-1_0

Betrifft DryOS Signaturfinder
+ LiveView Bitmap- und Palettenwerte werden für einige Kameras gefunden

  • Aktualisierung finsig_dryos.c
Location:
trunk
Files:
59 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/a3300/sub/100a/stubs_entry.S

    r951 r981  
    4646DEF(focus_busy                              ,0x000064d8) // Found @0xff960130 
    4747DEF(recreview_hold                          ,0x00003534) // Found @0xff89af5c 
     48DEF(palette_control                         ,0x0000916c) // Found @0xffa06c70 
     49DEF(active_palette_buffer                   ,0x00009174) // Found @0xffa06c74 
     50DEF(palette_buffer                          ,0x000b477c) // Found @0xffa07028 
    4851 
    4952// Values below go in 'lib.c': 
  • trunk/platform/a3300/sub/100c/stubs_entry.S

    r951 r981  
    4646DEF(focus_busy                              ,0x000064d8) // Found @0xff960130 
    4747DEF(recreview_hold                          ,0x00003534) // Found @0xff89af5c 
     48DEF(palette_control                         ,0x0000916c) // Found @0xffa06c70 
     49DEF(active_palette_buffer                   ,0x00009174) // Found @0xffa06c74 
     50DEF(palette_buffer                          ,0x000b477c) // Found @0xffa07028 
    4851 
    4952// Values below go in 'lib.c': 
  • trunk/platform/a3300/sub/100d/stubs_entry.S

    r951 r981  
    4646DEF(focus_busy                              ,0x000064d8) // Found @0xff960130 
    4747DEF(recreview_hold                          ,0x00003534) // Found @0xff89af5c 
     48DEF(palette_control                         ,0x0000916c) // Found @0xffa06c70 
     49DEF(active_palette_buffer                   ,0x00009174) // Found @0xffa06c74 
     50DEF(palette_buffer                          ,0x000b477c) // Found @0xffa07028 
    4851 
    4952// Values below go in 'lib.c': 
  • trunk/platform/a800/sub/100c/stubs_entry.S

    r969 r981  
    4545DEF(focus_busy                              ,0x0000551c) // Found @0xffd125c4 
    4646DEF(recreview_hold                          ,0x000030d4) // Found @0xffc78de0 
     47DEF(palette_control                         ,0x00007810) // Found @0xffd88c44 
     48DEF(active_palette_buffer                   ,0x00007818) // Found @0xffd88c48 
     49DEF(palette_buffer                          ,0x00088f3c) // Found @0xffd88ff0 
    4750 
    4851// Values below go in 'lib.c': 
  • trunk/platform/g12/sub/100c/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x000070c0) // Found @0xff97d6c8 
    4242DEF(recreview_hold                          ,0x00003f50) // Found @0xff8a8134 
     43DEF(palette_control                         ,0x0000a5dc) // Found @0xffa53c24 
     44DEF(active_palette_buffer                   ,0x0000a5e4) // Found @0xffa53c28 
     45DEF(palette_buffer                          ,0x000bbf5c) // Found @0xffa5415c 
     46DEF(bitmap_buffer                           ,0x0000a618) // Found @0xffa57bb4 
     47DEF(active_bitmap_buffer                    ,0x0000a610) // Found @0xffa57bb8 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/g12/sub/100c/stubs_min.S

    r885 r981  
    77//      0xa618 = 0x40471000 
    88//      0xa61c = 0x404b0480 = 0x40471000 + bitmap size 
    9 DEF(active_bitmap_buffer,               0xA610)         // 0xA5FC+0x14 (1.00c sub_FFA57B64 -> FFA57B68 + FFA57BB8) 
    10 DEF(bitmap_buffer,                      0xA618)         // FFA57BB4 
    11 DEF(palette_control,                    0xA5DC)         // sub_FFA53CDC (1.00c) 
    12 DEF(active_palette_buffer,              0xA5E4)         // sub_FFA53C24 (1.00c) 
    13 DEF(palette_buffer,                     0xBBF5C)        // sub_FFA54118 (1.00c) 
    149DEF(viewport_buffers,                   0xFFBB822C)     // 1.00c sub_FF852148 (FF85243C) 
    1510DEF(active_viewport_buffer,             0x20AC)         // 1.00c sub_FF852148 (FF85214C & FF852468) 
  • trunk/platform/g12/sub/100e/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x000070c0) // Found @0xff97d6c8 
    4242DEF(recreview_hold                          ,0x00003f50) // Found @0xff8a8134 
     43DEF(palette_control                         ,0x0000a5dc) // Found @0xffa53c30 
     44DEF(active_palette_buffer                   ,0x0000a5e4) // Found @0xffa53c34 
     45DEF(palette_buffer                          ,0x000bbf5c) // Found @0xffa54168 
     46DEF(bitmap_buffer                           ,0x0000a618) // Found @0xffa57bc0 
     47DEF(active_bitmap_buffer                    ,0x0000a610) // Found @0xffa57bc4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/g12/sub/100e/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44DEF(front_dial_position,                0xC0240306) 
    5 DEF(active_bitmap_buffer,               0xA610)         // 0xA5FC+0x14 (1.00e sub_FFA57B70 -> FFA57B74 + FFA57BC4) 
    6 DEF(bitmap_buffer,                      0xA618)         // FFA57BC0 
    7 DEF(palette_control,                    0xA5DC)         // sub_FFA53CDC (1.00c) 
    8 DEF(active_palette_buffer,              0xA5E4)         // sub_FFA53C24 (1.00c) 
    9 DEF(palette_buffer,                     0xBBF5C)        // sub_FFA54118 (1.00c) 
    105DEF(viewport_buffers,                   0xFFBB83DC)     // 1.00c sub_FF852148 (FF85243C) 
    116DEF(active_viewport_buffer,             0x20AC)         // 1.00c sub_FF852148 (FF85214C & FF852468) 
  • trunk/platform/g12/sub/100f/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x000070c0) // Found @0xff97d6c8 
    4242DEF(recreview_hold                          ,0x00003f50) // Found @0xff8a8134 
     43DEF(palette_control                         ,0x0000a5dc) // Found @0xffa53c30 
     44DEF(active_palette_buffer                   ,0x0000a5e4) // Found @0xffa53c34 
     45DEF(palette_buffer                          ,0x000bbf5c) // Found @0xffa54168 
     46DEF(bitmap_buffer                           ,0x0000a618) // Found @0xffa57bc0 
     47DEF(active_bitmap_buffer                    ,0x0000a610) // Found @0xffa57bc4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/g12/sub/100f/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44DEF(front_dial_position,                0xC0240306) 
    5 DEF(active_bitmap_buffer,               0xA610)         // 0xA5FC+0x14 (1.00f sub_FFA57B70 -> FFA57B74 + FFA57BC4) 
    6 DEF(bitmap_buffer,                      0xA618)         // FFA57BC0 
    7 DEF(palette_control,                    0xA5DC)         // sub_FFA53CDC (1.00c) 
    8 DEF(active_palette_buffer,              0xA5E4)         // sub_FFA53C24 (1.00c) 
    9 DEF(palette_buffer,                     0xBBF5C)        // sub_FFA54118 (1.00c) 
    105DEF(viewport_buffers,                   0xFFBB83CC)     // 1.00c sub_FF852148 (FF85243C) 
    116DEF(active_viewport_buffer,             0x20AC)         // 1.00c sub_FF852148 (FF85214C & FF852468) 
  • trunk/platform/g12/sub/100g/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x000070c0) // Found @0xff97d6c8 
    4242DEF(recreview_hold                          ,0x00003f50) // Found @0xff8a8134 
     43DEF(palette_control                         ,0x0000a5dc) // Found @0xffa53c30 
     44DEF(active_palette_buffer                   ,0x0000a5e4) // Found @0xffa53c34 
     45DEF(palette_buffer                          ,0x000bbf5c) // Found @0xffa54168 
     46DEF(bitmap_buffer                           ,0x0000a618) // Found @0xffa57bc0 
     47DEF(active_bitmap_buffer                    ,0x0000a610) // Found @0xffa57bc4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/g12/sub/100g/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44DEF(front_dial_position,                0xC0240306) 
    5 DEF(active_bitmap_buffer,               0xA610)         // 0xA5FC+0x14 (1.00g sub_FFA57B70 -> FFA57B74 + FFA57BC4) 
    6 DEF(bitmap_buffer,                      0xA618)         // FFA57BC0 
    7 DEF(palette_control,                    0xA5DC)         // sub_FFA53CDC (1.00c) 
    8 DEF(active_palette_buffer,              0xA5E4)         // sub_FFA53C24 (1.00c) 
    9 DEF(palette_buffer,                     0xBBF5C)        // sub_FFA54118 (1.00c) 
    105DEF(viewport_buffers,                   0xFFBB83B8)     // 1.00c sub_FF852148 (FF85243C) 
    116DEF(active_viewport_buffer,             0x20AC)         // 1.00c sub_FF852148 (FF85214C & FF852468) 
  • trunk/platform/ixus1000_sd4500/sub/100d/stubs_entry.S

    r941 r981  
    4242DEF(focus_busy                              ,0x00007394) // Found @0xff972b30 
    4343//DEF(recreview_hold                          ,0x00004294) // Found @0xff8a8800, ** != ** stubs_min = 0x000087e0 (0x86F4+0xEC) 
     44DEF(palette_control                         ,0x0000a338) // Found @0xffa2bd68 
     45DEF(active_palette_buffer                   ,0x0000a340) // Found @0xffa2bd6c 
     46DEF(palette_buffer                          ,0x000b84ac) // Found @0xffa2c2a0 
     47DEF(bitmap_buffer                           ,0x0000a374) // Found @0xffa30f50 
     48DEF(active_bitmap_buffer                    ,0x0000a36c) // Found @0xffa30f54 
    4449 
    4550// Values below go in 'lib.c': 
  • trunk/platform/ixus1000_sd4500/sub/100f/stubs_entry.S

    r941 r981  
    4242DEF(focus_busy                              ,0x00007394) // Found @0xff972b30 
    4343//DEF(recreview_hold                          ,0x00004294) // Found @0xff8a8800, ** != ** stubs_min = 0x000087e8 (0x86FC+0xEC) 
     44DEF(palette_control                         ,0x0000a340) // Found @0xffa2bd6c 
     45DEF(active_palette_buffer                   ,0x0000a348) // Found @0xffa2bd70 
     46DEF(palette_buffer                          ,0x000b84ac) // Found @0xffa2c2a4 
     47DEF(bitmap_buffer                           ,0x0000a37c) // Found @0xffa30f54 
     48DEF(active_bitmap_buffer                    ,0x0000a374) // Found @0xffa30f58 
    4449 
    4550// Values below go in 'lib.c': 
  • trunk/platform/ixus220_elph300hs/sub/100c/stubs_entry.S

    r970 r981  
    4141DEF(focus_busy                              ,0x00006b68) // Found @0xff97af60 
    4242DEF(recreview_hold                          ,0x00003828) // Found @0xff8a6510 
     43DEF(palette_control                         ,0x00009d00) // Found @0xffa32d78 
     44DEF(active_palette_buffer                   ,0x00009d08) // Found @0xffa32d7c 
     45DEF(palette_buffer                          ,0x000bb254) // Found @0xffa33254 
     46DEF(bitmap_buffer                           ,0x00009d40) // Found @0xffa36ca0 
     47DEF(active_bitmap_buffer                    ,0x00009d38) // Found @0xffa36ca4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/ixus220_elph300hs/sub/101a/stubs_entry.S

    r970 r981  
    4141DEF(focus_busy                              ,0x00006b68) // Found @0xff97af60 
    4242DEF(recreview_hold                          ,0x00003828) // Found @0xff8a6510 
     43DEF(palette_control                         ,0x00009d00) // Found @0xffa32d78 
     44DEF(active_palette_buffer                   ,0x00009d08) // Found @0xffa32d7c 
     45DEF(palette_buffer                          ,0x000bb254) // Found @0xffa33254 
     46DEF(bitmap_buffer                           ,0x00009d40) // Found @0xffa36ca0 
     47DEF(active_bitmap_buffer                    ,0x00009d38) // Found @0xffa36ca4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/ixus220_elph300hs/sub/101c/stubs_entry.S

    r970 r981  
    4141DEF(focus_busy                              ,0x00006b68) // Found @0xff97af60 
    4242DEF(recreview_hold                          ,0x00003828) // Found @0xff8a6510 
     43DEF(palette_control                         ,0x00009d00) // Found @0xffa32d78 
     44DEF(active_palette_buffer                   ,0x00009d08) // Found @0xffa32d7c 
     45DEF(palette_buffer                          ,0x000bb254) // Found @0xffa33254 
     46DEF(bitmap_buffer                           ,0x00009d40) // Found @0xffa36ca0 
     47DEF(active_bitmap_buffer                    ,0x00009d38) // Found @0xffa36ca4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/ixus220_elph300hs/sub/101g/stubs_entry.S

    r970 r981  
    4141DEF(focus_busy                              ,0x00006b68) // Found @0xff97af60 
    4242DEF(recreview_hold                          ,0x00003828) // Found @0xff8a6510 
     43DEF(palette_control                         ,0x00009d00) // Found @0xffa32d78 
     44DEF(active_palette_buffer                   ,0x00009d08) // Found @0xffa32d7c 
     45DEF(palette_buffer                          ,0x000bb254) // Found @0xffa33254 
     46DEF(bitmap_buffer                           ,0x00009d40) // Found @0xffa36ca0 
     47DEF(active_bitmap_buffer                    ,0x00009d38) // Found @0xffa36ca4 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/ixus230_elph310hs/sub/100b/stubs_entry.S

    r951 r981  
    4040DEF(focus_busy                              ,0x00006a40) // Found @0xff17aa94 
    4141DEF(recreview_hold                          ,0x000038ec) // Found @0xff09a5d4 
     42DEF(palette_control                         ,0x00009a2c) // Found @0xff22fc38 
     43DEF(active_palette_buffer                   ,0x00009a34) // Found @0xff22fc3c 
     44DEF(palette_buffer                          ,0x000b9c80) // Found @0xff230104 
     45DEF(bitmap_buffer                           ,0x00009a70) // Found @0xff233948 
     46DEF(active_bitmap_buffer                    ,0x00009a68) // Found @0xff23394c 
    4247 
    4348// Values below go in 'lib.c': 
  • trunk/platform/ixus310_elph500hs/sub/100a/stubs_entry.S

    r951 r981  
    4242DEF(focus_busy                              ,0x00006e70) // Found @0xff173e9c 
    4343DEF(recreview_hold                          ,0x0000391c) // Found @0xff098530 
     44DEF(palette_control                         ,0x0000a424) // Found @0xff244990 
     45DEF(active_palette_buffer                   ,0x0000a42c) // Found @0xff244994 
     46DEF(palette_buffer                          ,0x000c7dec) // Found @0xff244e6c 
     47DEF(bitmap_buffer                           ,0x0000a464) // Found @0xff249aec 
     48DEF(active_bitmap_buffer                    ,0x0000a45c) // Found @0xff249af0 
    4449 
    4550// Values below go in 'lib.c': 
  • trunk/platform/ixus310_elph500hs/sub/100a/stubs_min.S

    r885 r981  
    11#include "stubs_asm.h" 
    22 
    3 DEF(active_bitmap_buffer,               0xA45C)         // 0xA448+0x14 (1.00a sub_FF249A94 -> FF249A98 + FF249AF0) 
    4 DEF(bitmap_buffer,                      0xA464)         // FF249AEC (1.00a) 
    5 DEF(palette_control,                    0xA424)         // sub_FF244A48 (1.00a) 
    6 DEF(active_palette_buffer,              0xA42C)         // sub_FF244990 (1.00a) 
    7 DEF(palette_buffer,                     0xC7DEC)        // sub_FF244E28 (1.00a) 
    83DEF(viewport_buffers,                   0xFF3D0418)     // 1.00a sub_FF0435C8 (FF043978) 
    94DEF(active_viewport_buffer,             0x2104)         // 1.00a sub_FF0435C8 (FF0435CC & FF043A28) 
  • trunk/platform/ixus310_elph500hs/sub/101a/stubs_entry.S

    r951 r981  
    4242DEF(focus_busy                              ,0x00006e70) // Found @0xff173e9c 
    4343DEF(recreview_hold                          ,0x0000391c) // Found @0xff098530 
     44DEF(palette_control                         ,0x0000a424) // Found @0xff244990 
     45DEF(active_palette_buffer                   ,0x0000a42c) // Found @0xff244994 
     46DEF(palette_buffer                          ,0x000c7dec) // Found @0xff244e6c 
     47DEF(bitmap_buffer                           ,0x0000a464) // Found @0xff249aec 
     48DEF(active_bitmap_buffer                    ,0x0000a45c) // Found @0xff249af0 
    4449 
    4550// Values below go in 'lib.c': 
  • trunk/platform/ixus310_elph500hs/sub/101a/stubs_min.S

    r885 r981  
    11#include "stubs_asm.h" 
    22 
    3 DEF(active_bitmap_buffer,               0xA45C)         // 0xA448+0x14 (1.01a sub_FF249A94 -> FF249A98 + FF249AF0) 
    4 DEF(bitmap_buffer,                      0xA464)         // FF249AEC (1.00a) 
    5 DEF(palette_control,                    0xA424)         // sub_FF244A48 (1.00a) 
    6 DEF(active_palette_buffer,              0xA42C)         // sub_FF244990 (1.00a) 
    7 DEF(palette_buffer,                     0xC7DEC)        // sub_FF244E28 (1.00a) 
    83DEF(viewport_buffers,                   0xFF3D0418)     // 1.00a sub_FF0435C8 (FF043978) 
    94DEF(active_viewport_buffer,             0x2104)         // 1.00a sub_FF0435C8 (FF0435CC & FF043A28) 
  • trunk/platform/ixus310_elph500hs/sub/101c/stubs_entry.S

    r951 r981  
    4242DEF(focus_busy                              ,0x00006e70) // Found @0xff173e9c 
    4343DEF(recreview_hold                          ,0x0000391c) // Found @0xff098530 
     44DEF(palette_control                         ,0x0000a424) // Found @0xff244990 
     45DEF(active_palette_buffer                   ,0x0000a42c) // Found @0xff244994 
     46DEF(palette_buffer                          ,0x000c7dec) // Found @0xff244e6c 
     47DEF(bitmap_buffer                           ,0x0000a464) // Found @0xff249aec 
     48DEF(active_bitmap_buffer                    ,0x0000a45c) // Found @0xff249af0 
    4449 
    4550// Values below go in 'lib.c': 
  • trunk/platform/ixus310_elph500hs/sub/101c/stubs_min.S

    r889 r981  
    1111DEF(cds_gain_value                                                      ,0x0000abd0) 
    1212 
    13 DEF(active_bitmap_buffer, 0xA45C)                                       // 0xA448+0x14 (1.01a sub_FF249A94 -> FF249A98 + FF249AF0) 
    14 DEF(bitmap_buffer, 0xA464)                                                      // FF249AEC (1.00a) 
    15 DEF(palette_control, 0xA424)                                            // sub_FF244A48 (1.00a) 
    16 DEF(active_palette_buffer, 0xA42C)                                      // sub_FF244990 (1.00a) 
    17 DEF(palette_buffer, 0xC7DEC)                                            // sub_FF244E28 (1.00a) 
    1813DEF(viewport_buffers, 0xFF3D0428)                       // 1.00a sub_FF0435C8 (FF043978) 
    1914DEF(active_viewport_buffer, 0x2104)                     // 1.00a sub_FF0435C8 (FF0435CC & FF043A28) 
  • trunk/platform/s95/sub/100e/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4 
    4242//DEF(recreview_hold                          ,0x00003e14) // Found @0xff8a8648, ** != ** stubs_min = 0x0000828c (0x81f8+0x94) 
     43DEF(palette_control                         ,0x0000a0d4) // Found @0xffa47590 
     44DEF(active_palette_buffer                   ,0x0000a0dc) // Found @0xffa47594 
     45DEF(palette_buffer                          ,0x000bc434) // Found @0xffa47ac8 
     46DEF(bitmap_buffer                           ,0x0000a110) // Found @0xffa4c778 
     47DEF(active_bitmap_buffer                    ,0x0000a108) // Found @0xffa4c77c 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/s95/sub/100h/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4 
    4242//DEF(recreview_hold                          ,0x00003e14) // Found @0xff8a8648, ** != ** stubs_min = 0x000082e0 (0x81f8+0xE8) 
     43DEF(palette_control                         ,0x0000a0d4) // Found @0xffa4759c 
     44DEF(active_palette_buffer                   ,0x0000a0dc) // Found @0xffa475a0 
     45DEF(palette_buffer                          ,0x000bc434) // Found @0xffa47ad4 
     46DEF(bitmap_buffer                           ,0x0000a110) // Found @0xffa4c784 
     47DEF(active_bitmap_buffer                    ,0x0000a108) // Found @0xffa4c788 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/s95/sub/100i/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4 
    4242//DEF(recreview_hold                          ,0x00003e14) // Found @0xff8a8648, ** != ** stubs_min = 0x000082e0 (0x81f8+0xE8) 
     43DEF(palette_control                         ,0x0000a0d4) // Found @0xffa4759c 
     44DEF(active_palette_buffer                   ,0x0000a0dc) // Found @0xffa475a0 
     45DEF(palette_buffer                          ,0x000bc434) // Found @0xffa47ad4 
     46DEF(bitmap_buffer                           ,0x0000a110) // Found @0xffa4c784 
     47DEF(active_bitmap_buffer                    ,0x0000a108) // Found @0xffa4c788 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/s95/sub/100k/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00006f30) // Found @0xff97bec4 
    4242//DEF(recreview_hold                          ,0x00003e14) // Found @0xff8a8648, ** != ** stubs_min = 0x000082e0 (0x81f8+0xE8) 
     43DEF(palette_control                         ,0x0000a0d4) // Found @0xffa4759c 
     44DEF(active_palette_buffer                   ,0x0000a0dc) // Found @0xffa475a0 
     45DEF(palette_buffer                          ,0x000bc434) // Found @0xffa47ad4 
     46DEF(bitmap_buffer                           ,0x0000a110) // Found @0xffa4c784 
     47DEF(active_bitmap_buffer                    ,0x0000a108) // Found @0xffa4c788 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx130is/sub/101c/stubs_entry.S

    r941 r981  
    4545DEF(focus_busy                              ,0x00006978) // Found @0xff95fd2c 
    4646//DEF(recreview_hold                          ,0x00003a50) // Found @0xff89d940, ** != ** stubs_min = 0x000079d0 (0x78E4+0xEC) 
     47DEF(palette_control                         ,0x00009458) // Found @0xffa093d0 
     48DEF(active_palette_buffer                   ,0x00009460) // Found @0xffa093d4 
     49DEF(palette_buffer                          ,0x000b3a58) // Found @0xffa0978c 
    4750 
    4851// Values below go in 'lib.c': 
  • trunk/platform/sx130is/sub/101d/stubs_entry.S

    r941 r981  
    4545DEF(focus_busy                              ,0x00006978) // Found @0xff95fd2c 
    4646//DEF(recreview_hold                          ,0x00003a50) // Found @0xff89d940, ** != ** stubs_min = 0x000079d0 (0x78E4+0xEC) 
     47DEF(palette_control                         ,0x00009458) // Found @0xffa093d0 
     48DEF(active_palette_buffer                   ,0x00009460) // Found @0xffa093d4 
     49DEF(palette_buffer                          ,0x000b3a58) // Found @0xffa0978c 
    4750 
    4851// Values below go in 'lib.c': 
  • trunk/platform/sx130is/sub/101f/stubs_entry.S

    r941 r981  
    4242DEF(focus_busy                              ,0x00006978) // Found @0xff95fd2c 
    4343//DEF(recreview_hold                          ,0x00003a50) // Found @0xff89d940, ** != ** stubs_min = 0x000079d0 (0x78E4+0xEC) 
     44DEF(palette_control                         ,0x00009458) // Found @0xffa093d0 
     45DEF(active_palette_buffer                   ,0x00009460) // Found @0xffa093d4 
     46DEF(palette_buffer                          ,0x000b3a58) // Found @0xffa0978c 
    4447 
    4548// Values below go in 'lib.c': 
  • trunk/platform/sx150is/sub/100a/stubs_entry.S

    r951 r981  
    4040DEF(focus_busy                              ,0x00006c5c) // Found @0xff97b73c 
    4141DEF(recreview_hold                          ,0x00003b7c) // Found @0xff8a6484 
     42DEF(palette_control                         ,0x00009654) // Found @0xffa29f88 
     43//DEF(active_palette_buffer                   ,0x0000965c) // Found @0xffa29f8c, ** != ** stubs_min = 0x00009654 (0x9654) 
     44DEF(palette_buffer                          ,0x000baa84) // Found @0xffa2a340 
    4245 
    4346// Values below go in 'lib.c': 
  • trunk/platform/sx150is/sub/100a/stubs_min.S

    r928 r981  
    88DEF(bitmap_buffer,                      0x9688)         // FFA2DEC0 & FFA2DECC (1.00a) 
    99DEF(active_palette_buffer,              0x9654)         // sub_FFA29F88 (1.00a) 
    10 DEF(palette_buffer,                     0xBAA84)        // sub_FFA2A2FC (1.00a) 
  • trunk/platform/sx220hs/sub/100a/stubs_entry.S

    r951 r981  
    4949DEF(focus_busy                              ,0x00008338) // Found @0xff17c768 
    5050//DEF(recreview_hold                          ,0x00004d80) // Found @0xff09e130, ** != ** stubs_min = 0x000094c4 (0x93D4+0xF0) 
     51DEF(palette_control                         ,0x0000b35c) // Found @0xff23d5a4 
     52DEF(active_palette_buffer                   ,0x0000b364) // Found @0xff23d5a8 
     53DEF(palette_buffer                          ,0x000cae40) // Found @0xff23da80 
     54DEF(bitmap_buffer                           ,0x0000b39c) // Found @0xff242700 
     55DEF(active_bitmap_buffer                    ,0x0000b394) // Found @0xff242704 
    5156 
    5257// Values below go in 'lib.c': 
  • trunk/platform/sx220hs/sub/101a/stubs_entry.S

    r951 r981  
    4949DEF(focus_busy                              ,0x00008338) // Found @0xff17c768 
    5050//DEF(recreview_hold                          ,0x00004d80) // Found @0xff09e130, ** != ** stubs_min = 0x000094c4 (0x93D4+0xF0) 
     51DEF(palette_control                         ,0x0000b35c) // Found @0xff23d5a4 
     52DEF(active_palette_buffer                   ,0x0000b364) // Found @0xff23d5a8 
     53DEF(palette_buffer                          ,0x000cae40) // Found @0xff23da80 
     54DEF(bitmap_buffer                           ,0x0000b39c) // Found @0xff242700 
     55DEF(active_bitmap_buffer                    ,0x0000b394) // Found @0xff242704 
    5156 
    5257// Values below go in 'lib.c': 
  • trunk/platform/sx220hs/sub/101b/stubs_entry.S

    r951 r981  
    4949DEF(focus_busy                              ,0x00008338) // Found @0xff17c768 
    5050//DEF(recreview_hold                          ,0x00004d80) // Found @0xff09e130, ** != ** stubs_min = 0x000094c4 (0x93D4+0xF0) 
     51DEF(palette_control                         ,0x0000b35c) // Found @0xff23d5a4 
     52DEF(active_palette_buffer                   ,0x0000b364) // Found @0xff23d5a8 
     53DEF(palette_buffer                          ,0x000cae40) // Found @0xff23da80 
     54DEF(bitmap_buffer                           ,0x0000b39c) // Found @0xff242700 
     55DEF(active_bitmap_buffer                    ,0x0000b394) // Found @0xff242704 
    5156 
    5257// Values below go in 'lib.c': 
  • trunk/platform/sx230hs/sub/100c/stubs_entry.S

    r951 r981  
    5151DEF(focus_busy                              ,0x000083c4) // Found @0xff181c8c 
    5252//DEF(recreview_hold                          ,0x00004e04) // Found @0xff0a00d8, ** != ** stubs_min = 0x0000956c (0x947C+0xF0) 
     53DEF(palette_control                         ,0x0000b440) // Found @0xff24480c 
     54DEF(active_palette_buffer                   ,0x0000b448) // Found @0xff244810 
     55DEF(palette_buffer                          ,0x000ceb38) // Found @0xff244ce8 
     56DEF(bitmap_buffer                           ,0x0000b480) // Found @0xff249960 
     57DEF(active_bitmap_buffer                    ,0x0000b478) // Found @0xff249964 
    5358 
    5459// Values below go in 'lib.c': 
  • trunk/platform/sx230hs/sub/101a/stubs_entry.S

    r951 r981  
    5151DEF(focus_busy                              ,0x000083c4) // Found @0xff181e44 
    5252//DEF(recreview_hold                          ,0x00004e04) // Found @0xff0a0170, ** != ** stubs_min = 0x0000956c (0x947C+0xF0) 
     53DEF(palette_control                         ,0x0000b440) // Found @0xff244988 
     54DEF(active_palette_buffer                   ,0x0000b448) // Found @0xff24498c 
     55DEF(palette_buffer                          ,0x000ceb38) // Found @0xff244e64 
     56DEF(bitmap_buffer                           ,0x0000b480) // Found @0xff249ae4 
     57DEF(active_bitmap_buffer                    ,0x0000b478) // Found @0xff249ae8 
    5358 
    5459// Values below go in 'lib.c': 
  • trunk/platform/sx230hs/sub/101b/stubs_entry.S

    r951 r981  
    5151DEF(focus_busy                              ,0x000083c4) // Found @0xff181e44 
    5252//DEF(recreview_hold                          ,0x00004e04) // Found @0xff0a0170, ** != ** stubs_min = 0x0000956c (0x947C+0xF0) 
     53DEF(palette_control                         ,0x0000b440) // Found @0xff244988 
     54DEF(active_palette_buffer                   ,0x0000b448) // Found @0xff24498c 
     55DEF(palette_buffer                          ,0x000ceb38) // Found @0xff244e64 
     56DEF(bitmap_buffer                           ,0x0000b480) // Found @0xff249ae4 
     57DEF(active_bitmap_buffer                    ,0x0000b478) // Found @0xff249ae8 
    5358 
    5459// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100e/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00007a70) // Found @0xff97df04 
    4242DEF(recreview_hold                          ,0x0000468c) // Found @0xff8ac610 
     43DEF(palette_control                         ,0x0000b198) // Found @0xffa46818 
     44DEF(active_palette_buffer                   ,0x0000b1a0) // Found @0xffa4681c 
     45DEF(palette_buffer                          ,0x000cf9b4) // Found @0xffa46d50 
     46DEF(bitmap_buffer                           ,0x0000b1d4) // Found @0xffa4a7a8 
     47DEF(active_bitmap_buffer                    ,0x0000b1cc) // Found @0xffa4a7ac 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100e/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44 
    5 DEF(active_bitmap_buffer,               0xB1CC)         // 0xB1B8+0x14 (1.00e sub_FFA4A758 -> FFA4A75C + FFA4A7AC) 
    6 DEF(bitmap_buffer,                      0xB1D4)         // FFA4A7A8 
    7 DEF(palette_control,                    0xB198)         // sub_FFA4698C (1.00h) 
    8 DEF(active_palette_buffer,              0xB1A0)         // sub_FFA468D4 (1.00h) 
    9 DEF(palette_buffer,                     0xCF9B4)        // sub_FFA46DC8 (1.00h) 
    105DEF(viewport_buffers,                   0xFFB96808)     // 1.00h sub_FF851C44 (FF851F2C) 
    116DEF(active_viewport_buffer,             0x20A8)         // 1.00h sub_FF851C44 (FF851C48 & FF851F58) 
  • trunk/platform/sx30/sub/100h/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00007a74) // Found @0xff97df38 
    4242DEF(recreview_hold                          ,0x0000468c) // Found @0xff8ac610 
     43DEF(palette_control                         ,0x0000b198) // Found @0xffa468d4 
     44DEF(active_palette_buffer                   ,0x0000b1a0) // Found @0xffa468d8 
     45DEF(palette_buffer                          ,0x000cf9b4) // Found @0xffa46e0c 
     46DEF(bitmap_buffer                           ,0x0000b1d4) // Found @0xffa4a864 
     47DEF(active_bitmap_buffer                    ,0x0000b1cc) // Found @0xffa4a868 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100h/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44 
    5 DEF(active_bitmap_buffer,               0xB1CC)         // 0xB1B8+0x14 (1.00h sub_FFA4A814 -> FFA4A818 + FFA4A868) 
    6 DEF(bitmap_buffer,                      0xB1D4)         // FFA4A864 
    7 DEF(palette_control,                    0xB198)         // sub_FFA4698C (1.00h) 
    8 DEF(active_palette_buffer,              0xB1A0)         // sub_FFA468D4 (1.00h) 
    9 DEF(palette_buffer,                     0xCF9B4)        // sub_FFA46DC8 (1.00h) 
    105DEF(viewport_buffers,                   0xFFB968C4)     // 1.00h sub_FF851C44 (FF851F2C) 
    116DEF(active_viewport_buffer,             0x20A8)         // 1.00h sub_FF851C44 (FF851C48 & FF851F58) 
  • trunk/platform/sx30/sub/100l/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00007a74) // Found @0xff97df3c 
    4242DEF(recreview_hold                          ,0x0000468c) // Found @0xff8ac614 
     43DEF(palette_control                         ,0x0000b198) // Found @0xffa46a7c 
     44DEF(active_palette_buffer                   ,0x0000b1a0) // Found @0xffa46a80 
     45DEF(palette_buffer                          ,0x000cf9b4) // Found @0xffa46fb4 
     46DEF(bitmap_buffer                           ,0x0000b1d4) // Found @0xffa4aa0c 
     47DEF(active_bitmap_buffer                    ,0x0000b1cc) // Found @0xffa4aa10 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100l/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44 
    5 DEF(active_bitmap_buffer,               0xB1CC)         // 0xB1B8+0x14 (1.00l sub_FFA4A9BC -> FFA4A9C0 + FFA4AA10) 
    6 DEF(bitmap_buffer,                      0xB1D4)         // FFA4AA0C 
    7 DEF(palette_control,                    0xB198)         // sub_FFA4698C (1.00h) 
    8 DEF(active_palette_buffer,              0xB1A0)         // sub_FFA468D4 (1.00h) 
    9 DEF(palette_buffer,                     0xCF9B4)        // sub_FFA46DC8 (1.00h) 
    105DEF(viewport_buffers,                   0xFFB96A6C)     // 1.00h sub_FF851C44 (FF851F2C) 
    116DEF(active_viewport_buffer,             0x20A8)         // 1.00h sub_FF851C44 (FF851C48 & FF851F58) 
  • trunk/platform/sx30/sub/100n/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00007a74) // Found @0xff97dfc0 
    4242DEF(recreview_hold                          ,0x0000468c) // Found @0xff8ac614 
     43DEF(palette_control                         ,0x0000b198) // Found @0xffa46b00 
     44DEF(active_palette_buffer                   ,0x0000b1a0) // Found @0xffa46b04 
     45DEF(palette_buffer                          ,0x000cf9b4) // Found @0xffa47038 
     46DEF(bitmap_buffer                           ,0x0000b1d4) // Found @0xffa4aa90 
     47DEF(active_bitmap_buffer                    ,0x0000b1cc) // Found @0xffa4aa94 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100n/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44 
    5 DEF(active_bitmap_buffer,               0xB1CC)         // 0xB1B8+0x14 (1.00n sub_FFA4AA40 -> FFA4AA44 + FFA4AA94) 
    6 DEF(bitmap_buffer,                      0xB1D4)         // FFA4AA90 
    7 DEF(palette_control,                    0xB198)         // sub_FFA4698C (1.00h) 
    8 DEF(active_palette_buffer,              0xB1A0)         // sub_FFA468D4 (1.00h) 
    9 DEF(palette_buffer,                     0xCF9B4)        // sub_FFA46DC8 (1.00h) 
    105DEF(viewport_buffers,                   0xFFB96AE0)     // 1.00h sub_FF851C44 (FF851F2C) 
    116DEF(active_viewport_buffer,             0x20A8)         // 1.00h sub_FF851C44 (FF851C48 & FF851F58) 
  • trunk/platform/sx30/sub/100p/stubs_entry.S

    r941 r981  
    4141DEF(focus_busy                              ,0x00007a74) // Found @0xff97dfc0 
    4242DEF(recreview_hold                          ,0x0000468c) // Found @0xff8ac614 
     43DEF(palette_control                         ,0x0000b198) // Found @0xffa46b00 
     44DEF(active_palette_buffer                   ,0x0000b1a0) // Found @0xffa46b04 
     45DEF(palette_buffer                          ,0x000cf9b4) // Found @0xffa47038 
     46DEF(bitmap_buffer                           ,0x0000b1d4) // Found @0xffa4aa90 
     47DEF(active_bitmap_buffer                    ,0x0000b1cc) // Found @0xffa4aa94 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx30/sub/100p/stubs_min.S

    r885 r981  
    33DEF(rear_dial_position,                 0xC0240106) 
    44 
    5 DEF(active_bitmap_buffer,               0xB1CC)         // 0xB1B8+0x14 (1.00p sub_FFA4AA40 -> FFA4AA44 + FFA4AA94) 
    6 DEF(bitmap_buffer,                      0xB1D4)         // FFA4AA90 
    7 DEF(palette_control,                    0xB198)         // sub_FFA4698C (1.00h) 
    8 DEF(active_palette_buffer,              0xB1A0)         // sub_FFA468D4 (1.00h) 
    9 DEF(palette_buffer,                     0xCF9B4)        // sub_FFA46DC8 (1.00h) 
    105DEF(viewport_buffers,                   0xFFB96AC0)     // 1.00h sub_FF851C44 (FF851F2C) 
    116DEF(active_viewport_buffer,             0x20A8)         // 1.00h sub_FF851C44 (FF851C48 & FF851F58) 
  • trunk/platform/sx40hs/sub/100d/stubs_entry.S

    r951 r981  
    4141DEF(focus_busy                              ,0x00008d08) // Found @0xff1bbe54 
    4242DEF(recreview_hold                          ,0x000041e4) // Found @0xff0a4414 
     43DEF(palette_control                         ,0x0000c2d8) // Found @0xff291724 
     44DEF(active_palette_buffer                   ,0x0000c2e0) // Found @0xff291728 
     45DEF(palette_buffer                          ,0x000df7f0) // Found @0xff291bf0 
     46DEF(bitmap_buffer                           ,0x0000c31c) // Found @0xff295434 
     47DEF(active_bitmap_buffer                    ,0x0000c314) // Found @0xff295438 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx40hs/sub/100d/stubs_min.S

    r885 r981  
    11#include "stubs_asm.h" 
    22 
    3 DEF(active_bitmap_buffer                    ,0xC300 + 0x14) // 1.00g sub_FF295414 (FF295418 & FF295470) 
    4 DEF(bitmap_buffer                           ,0xC31C)        // 1.00g sub_FF295414 (FF29546C) 
    5 DEF(palette_control                         ,0xC2D8)        // 1.00g sub_FF29175C 
    6 DEF(active_palette_buffer                   ,0xC2E0)        // 1.00g sub_FF29175C 
    7 DEF(palette_buffer                          ,0xDF7F0)       // 1.00g sub_FF291BE4 (FF291C28) 
    83DEF(viewport_buffers                        ,0xFF434544)    // 1.00g sub_FF045D2C (FF0460F0) 
    94DEF(active_viewport_buffer                  ,0x215C)        // 1.00g sub_FF045D2C (FF045D30 & FF04611C) 
  • trunk/platform/sx40hs/sub/100f/stubs_entry.S

    r951 r981  
    4141DEF(focus_busy                              ,0x00008d08) // Found @0xff1bbe84 
    4242DEF(recreview_hold                          ,0x000041e4) // Found @0xff0a443c 
     43DEF(palette_control                         ,0x0000c2d8) // Found @0xff291760 
     44DEF(active_palette_buffer                   ,0x0000c2e0) // Found @0xff291764 
     45DEF(palette_buffer                          ,0x000df7f0) // Found @0xff291c2c 
     46DEF(bitmap_buffer                           ,0x0000c31c) // Found @0xff295470 
     47DEF(active_bitmap_buffer                    ,0x0000c314) // Found @0xff295474 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx40hs/sub/100f/stubs_min.S

    r885 r981  
    11#include "stubs_asm.h" 
    22 
    3 DEF(active_bitmap_buffer                    ,0xC314)                                     
    4 DEF(bitmap_buffer                           ,0xC31C) 
    5 DEF(palette_control                         ,0xC2D8) 
    6 DEF(active_palette_buffer                   ,0xC2E0) 
    7 DEF(palette_buffer                          ,0xDF7F0) 
    83DEF(viewport_buffers                        ,0xFF43457C)    // 1.00g sub_FF045D2C (FF0460F0) 
    94DEF(active_viewport_buffer                  ,0x215C)        // 1.00g sub_FF045D2C (FF045D30 & FF04611C) 
  • trunk/platform/sx40hs/sub/100g/stubs_entry.S

    r951 r981  
    4141DEF(focus_busy                              ,0x00008d08) // Found @0xff1bbe80 
    4242DEF(recreview_hold                          ,0x000041e4) // Found @0xff0a443c 
     43DEF(palette_control                         ,0x0000c2d8) // Found @0xff29175c 
     44DEF(active_palette_buffer                   ,0x0000c2e0) // Found @0xff291760 
     45DEF(palette_buffer                          ,0x000df7f0) // Found @0xff291c28 
     46DEF(bitmap_buffer                           ,0x0000c31c) // Found @0xff29546c 
     47DEF(active_bitmap_buffer                    ,0x0000c314) // Found @0xff295470 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx40hs/sub/100g/stubs_min.S

    r885 r981  
    11#include "stubs_asm.h" 
    22 
    3 DEF(active_bitmap_buffer                    ,0xC300 + 0x14) // 1.00g sub_FF295414 (FF295418 & FF295470) 
    4 DEF(bitmap_buffer                           ,0xC31C)        // 1.00g sub_FF295414 (FF29546C) 
    5 DEF(palette_control                         ,0xC2D8)        // 1.00g sub_FF29175C 
    6 DEF(active_palette_buffer                   ,0xC2E0)        // 1.00g sub_FF29175C 
    7 DEF(palette_buffer                          ,0xDF7F0)       // 1.00g sub_FF291BE4 (FF291C28) 
    83DEF(viewport_buffers                        ,0xFF43457C)    // 1.00g sub_FF045D2C (FF0460F0) 
    94DEF(active_viewport_buffer                  ,0x215C)        // 1.00g sub_FF045D2C (FF045D30 & FF04611C) 
  • trunk/platform/sx40hs/sub/100i/stubs_entry.S

    r951 r981  
    4141DEF(focus_busy                              ,0x00008d08) // Found @0xff1bbea4 
    4242DEF(recreview_hold                          ,0x000041e4) // Found @0xff0a443c 
     43DEF(palette_control                         ,0x0000c2d8) // Found @0xff291780 
     44DEF(active_palette_buffer                   ,0x0000c2e0) // Found @0xff291784 
     45DEF(palette_buffer                          ,0x000df7f0) // Found @0xff291c4c 
     46DEF(bitmap_buffer                           ,0x0000c31c) // Found @0xff295490 
     47DEF(active_bitmap_buffer                    ,0x0000c314) // Found @0xff295494 
    4348 
    4449// Values below go in 'lib.c': 
  • trunk/platform/sx40hs/sub/100i/stubs_min.S

    r889 r981  
    33// Found manually 
    44 
    5 DEF(active_bitmap_buffer, 0xC300+0x14)          // 1.00g sub_FF295414 (FF295418 & FF295470) 
    6 DEF(bitmap_buffer, 0xC31C)                                      // 1.00g sub_FF295414 (FF29546C) 
    7 DEF(palette_control, 0xC2D8)                            // 1.00g sub_FF29175C 
    8 DEF(active_palette_buffer, 0xC2E0)                      // 1.00g sub_FF29175C 
    9 DEF(palette_buffer, 0xDF7F0)                            // 1.00g sub_FF291BE4 (FF291C28) 
    105DEF(viewport_buffers, 0xFF43459C)                       // 1.00g sub_FF045D2C (FF0460F0) 
    116DEF(active_viewport_buffer, 0x215C)                     // 1.00g sub_FF045D2C (FF045D30 & FF04611C) 
  • trunk/tools/finsig_dryos.c

    r976 r981  
    525525 
    526526    // Alt copy of ROM in RAM (DryOS R50) 
    527     uint32_t        *buf2; 
    528     uint32_t        base2; 
    529     int             size2; 
     527    uint32_t        *buf2;          // pointer to loaded FW data that is copied 
     528    uint32_t        base2;          // RAM address copied to 
     529    uint32_t        base_copied;    // ROM address copued from 
     530    int             size2;          // Block size copied (in words) 
    530531} firmware; 
    531532 
     
    10051006                    fw->buf2 = &fw->buf[adr2idx(fw,fadr)]; 
    10061007                    fw->base2 = dadr; 
     1008                    fw->base_copied = fadr; 
    10071009                    fw->size2 = (eadr - dadr) / 4; 
    10081010                    bprintf("\n// Note, ROM copied to RAM :- from 0x%08x, to 0x%08x, len %d words.\n",fadr,dadr,(eadr-dadr)/4); 
     
    10141016 
    10151017        bprintf("\n"); 
     1018} 
     1019 
     1020void fwAddMatch(firmware *fw, uint32_t fadr, int s, int f, int k, int sig) 
     1021{ 
     1022    if ((fadr >= fw->base_copied) && (fadr < (fw->base_copied + fw->size2*4))) 
     1023    { 
     1024        addMatch(fadr - fw->base_copied + fw->base2,s,f,k,sig); 
     1025    } 
     1026    else 
     1027    { 
     1028        addMatch(fadr,s,f,k,sig); 
     1029    } 
    10161030} 
    10171031 
     
    10341048        { "strtol", 0 }, 
    10351049        { "LockAndRefresh", 0 }, 
     1050    { "ScreenLock", 0 }, 
    10361051        { "StartRecModeMenu", 0 }, 
    10371052        { "GetSDProtect", 0 }, 
     
    10421057        { "ResetFocusLens", 0 }, 
    10431058        { "NR_GetDarkSubType", 0 }, 
     1059        { "SavePaletteData", 0 }, 
     1060    { "GUISrv_StartGUISystem", 0 }, 
    10441061         
    10451062        { 0, 0 } 
     
    11671184    { "ResetFocusLens", 0, 0 }, 
    11681185    { "NR_GetDarkSubType", 0, 0 }, 
     1186    { "SavePaletteData", 0, 0 }, 
     1187    { "GUISrv_StartGUISystem", 0, 0 }, 
    11691188    { 0, 0, 0} 
    11701189}; 
     
    12271246    { 1, "Write", "Write", 1 }, 
    12281247    { 1, "write", "Write", 1 }, 
     1248    { 1, "GUISrv_StartGUISystem", "GUISrv_StartGUISystem", 1 }, 
    12291249 
    12301250    { 2, "GetBatteryTemperature", "GetBatteryTemperature", 1 }, 
     
    12601280    { 2, "NR_GetDarkSubType", "NR_GetDarkSubType", 1 }, 
    12611281    { 2, "NR_GetDarkSubType", "NRTBL.GetDarkSubType", 1 }, 
     1282    { 2, "SavePaletteData", "SavePaletteData", 1 }, 
    12621283         
    12631284        { 3, "AllocateMemory", "AllocateMemory", 1 }, 
     
    14251446    "ResetFocusLens", 
    14261447    "NR_GetDarkSubType", 
     1448    "SavePaletteData", 
     1449    "GUISrv_StartGUISystem", 
    14271450        0 
    14281451}; 
     
    15041527                fadr = followBranch2(fw, fadr, sig->offset); 
    15051528                //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1506                 addMatch(fadr,32,0,k,101); 
     1529                fwAddMatch(fw,fadr,32,0,k,101); 
    15071530                return 1; 
    15081531            } 
     
    15411564                                                { 
    15421565                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1543                                                         addMatch(bfadr,32,0,k,102); 
     1566                                                        fwAddMatch(fw,bfadr,32,0,k,102); 
    15441567                                                        return 1; 
    15451568                                                } 
     
    16091632                                                        fadr = followBranch2(fw, fadr, sig->offset); 
    16101633                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1611                                                         addMatch(fadr,32,0,k,103); 
     1634                                                        fwAddMatch(fw,fadr,32,0,k,103); 
    16121635                                                        return 1; 
    16131636                                                } 
     
    16521675                                                uint32_t fadr = idx2adr(fw,j1); 
    16531676                                                //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1654                                                 addMatch(fadr,32,0,k,104); 
     1677                                                fwAddMatch(fw,fadr,32,0,k,104); 
    16551678                                                return 1; 
    16561679                                        } 
     
    17301753                            } 
    17311754                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1732                                                         addMatch(fadr,32,0,k,105); 
     1755                                                        fwAddMatch(fw,fadr,32,0,k,105); 
    17331756                                                        return 1; 
    17341757                                                } 
     
    17631786                                        uint32_t fadr = idx2adr(fw,j1); 
    17641787                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1765                                         addMatch(fadr,32,0,k,106); 
     1788                                        fwAddMatch(fw,fadr,32,0,k,106); 
    17661789                                        return 1; 
    17671790                                } 
     
    18191842                                                        fadr = followBranch2(fw, fadr, sig->offset); 
    18201843                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1821                                                         addMatch(fadr,32,0,k,107); 
     1844                                                        fwAddMatch(fw,fadr,32,0,k,107); 
    18221845                                                        return 1; 
    18231846                                                } 
     
    18951918                                                                { 
    18961919                                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1897                                                                         addMatch(fadr,32,0,k,108); 
     1920                                                                        fwAddMatch(fw,fadr,32,0,k,108); 
    18981921                                                                        return 1; 
    18991922                                                                } 
     
    19261949                        { 
    19271950                                //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1928                                 addMatch(fadr,32,0,k,109); 
     1951                                fwAddMatch(fw,fadr,32,0,k,109); 
    19291952                                return 1; 
    19301953                        } 
     
    19812004                                                        fadr = followBranch2(fw, fw->buf[adr2idx(fw,fadr)], sig->offset); 
    19822005                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    1983                                                         addMatch(fadr,32,0,k,110); 
     2006                                                        fwAddMatch(fw,fadr,32,0,k,110); 
    19842007                                                        return 1; 
    19852008                                                } 
     
    20422065                                                { 
    20432066                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    2044                                                         addMatch(bfadr,32,0,k,111); 
     2067                                                        fwAddMatch(fw,bfadr,32,0,k,111); 
    20452068                                                        return 1; 
    20462069                                                } 
     
    20822105                                        { 
    20832106                                                //fprintf(stderr,"%s %08x\n",curr_name,bfadr); 
    2084                                                 addMatch(bfadr,32,0,k,112); 
     2107                                                fwAddMatch(fw,bfadr,32,0,k,112); 
    20852108                                                return 1; 
    20862109                                        } 
     
    21402163                                                                        uint32_t fadr = idx2adr(fw,j3-sig->offset); 
    21412164                                                                        //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    2142                                                                         addMatch(fadr,32,0,k,113); 
     2165                                                                        fwAddMatch(fw,fadr,32,0,k,113); 
    21432166                                                                        return 1; 
    21442167                                                                } 
     
    21822205                                                uint32_t fadr = followBranch(fw,idx2adr(fw,j1+2),0x01000001); 
    21832206                                                //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    2184                                                 addMatch(fadr,32,0,k,114); 
     2207                                                fwAddMatch(fw,fadr,32,0,k,114); 
    21852208                                                return 1; 
    21862209                                        } 
     
    21962219                                                uint32_t fadr = followBranch(fw,idx2adr(fw,j1+3),0x01000001); 
    21972220                                                //fprintf(stderr,"%s %08x\n",curr_name,fadr); 
    2198                                                 addMatch(fadr,32,0,k,114); 
     2221                                                fwAddMatch(fw,fadr,32,0,k,114); 
    21992222                                                return 1; 
    22002223                                        } 
     
    23482371                                        } 
    23492372                                        if (success > fail){ 
    2350                                                 addMatch(idx2adr(fw,i+n->off),success,fail,k,func_list[k].ver); 
     2373                                                fwAddMatch(fw,idx2adr(fw,i+n->off),success,fail,k,func_list[k].ver); 
    23512374                                                if (count >= MAX_MATCHES){ 
    23522375                                                        bprintf("// WARNING: too many matches for %s!\n", func_list[k].name); 
     
    30153038void find_stubs_min(firmware *fw) 
    30163039{ 
    3017         int k,k1; 
     3040        int k,k1,k2; 
    30183041         
    30193042        out_hdr = 1; 
     
    34523475        } 
    34533476        } 
     3477         
     3478        // Find 'palette buffer' info 
     3479        k = get_saved_sig(fw, "SavePaletteData"); 
     3480        if (k >= 0) 
     3481        { 
     3482                uint32_t fadr = saved_sigs[k].val; 
     3483                int idx = adr2idx(fw, fadr); 
     3484                 
     3485        if (isBL(fw,idx+13)) 
     3486        { 
     3487            fadr = followBranch(fw, idx2adr(fw,idx+13), 0x01000001); 
     3488            idx = adr2idx(fw, fadr); 
     3489            if (isLDR(fw,idx) && isLDR(fw,idx+1) && isB(fw,idx+2)) 
     3490            { 
     3491                uint32_t palette_control = LDR2val(fw,idx); 
     3492                print_stubs_min(fw,"palette_control",palette_control,idx2adr(fw,idx)); 
     3493                int active_offset = fwval(fw,idx+1) & 0xFFF; 
     3494                print_stubs_min(fw,"active_palette_buffer",palette_control+active_offset,idx2adr(fw,idx+1)); 
     3495                fadr = followBranch(fw,idx2adr(fw,idx+2),1); 
     3496                idx = adr2idx(fw, fadr); 
     3497                if (isLDR(fw,idx+17) && isLDR(fw,idx+18) && isLDR(fw,idx+12) && (LDR2val(fw,idx+12) == palette_control)) 
     3498                { 
     3499                    int palette_buffer; 
     3500                    if ((fwval(fw,idx+18) & 0x0000F000) == 0) 
     3501                    { 
     3502                        palette_buffer = LDR2val(fw,idx+17); 
     3503                        print_stubs_min(fw,"palette_buffer",palette_buffer,idx2adr(fw,idx+17)); 
     3504                    } 
     3505                    else 
     3506                    { 
     3507                        palette_buffer = LDR2val(fw,idx+18); 
     3508                        print_stubs_min(fw,"palette_buffer",palette_buffer,idx2adr(fw,idx+18)); 
     3509                    } 
     3510                } 
     3511            } 
     3512        } 
     3513        } 
     3514         
     3515        // Find 'bitmap buffer' info 
     3516        k = get_saved_sig(fw, "GUISrv_StartGUISystem"); 
     3517        if (k >= 0) 
     3518        { 
     3519                uint32_t fadr = saved_sigs[k].val; 
     3520                int idx = adr2idx(fw, fadr); 
     3521 
     3522        uint32_t screen_lock = get_saved_sig(fw, "ScreenLock"); 
     3523        if (screen_lock) 
     3524        { 
     3525            screen_lock = saved_sigs[screen_lock].val; 
     3526            for (k=idx; k<idx+32; k++) 
     3527            { 
     3528                if (isBL(fw,k) && (followBranch(fw,idx2adr(fw,k),0x01000001) == screen_lock) && isBL(fw,k+2) && isBL(fw,k+3)) 
     3529                { 
     3530                    fadr = followBranch2(fw,idx2adr(fw,k+3),0x01000001); 
     3531                    k1 = adr2idx(fw,fadr); 
     3532                    if (isLDR_PC(fw,k1+1)) 
     3533                    { 
     3534                        int reg = (fwval(fw,k1+1) & 0x0000F000) >> 12; 
     3535                        uint32_t adr = LDR2val(fw,k1+1); 
     3536                        for (k2=k1; k2<k1+32; k2++) 
     3537                        { 
     3538                            if (isLDR_PC(fw,k2) && isLDR(fw,k2+1) && (((fwval(fw,k2+1) & 0x000F0000) >> 16) == reg)) 
     3539                            { 
     3540                                uint32_t bitmap_buffer = LDR2val(fw,k2); 
     3541                                if (bitmap_buffer == (adr + 0x1C)) 
     3542                                { 
     3543                                    uint32_t active_bitmap_buffer = adr + (fwval(fw,k2+1) & 0xFFF); 
     3544                                    print_stubs_min(fw,"bitmap_buffer",bitmap_buffer,idx2adr(fw,k2)); 
     3545                                    print_stubs_min(fw,"active_bitmap_buffer",active_bitmap_buffer,idx2adr(fw,k2+1)); 
     3546                                } 
     3547                            } 
     3548                        } 
     3549                    } 
     3550                } 
     3551            } 
     3552        } 
     3553    } 
    34543554} 
    34553555 
Note: See TracChangeset for help on using the changeset viewer.