Advertisement
Guest User

Novex

a guest
Apr 28th, 2008
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.26 KB | None | 0 0
  1. #include "stubs_asm.h"
  2.  
  3. #include "stubs_entry_ida.S"
  4.  
  5. DEF(physw_run, 0x1FAC)      // ok
  6. DEF(physw_status, 0xE5F8)   // 0xFF826ADC, in sub_FF826AA0
  7.  
  8. // The names below could be found automanically
  9. // by looking up the strings with the same names as these variables
  10. // and function 'ShowPhySwStatus' which is also symbolic
  11. DEF(NotifyMask, 0x0000E5C8) // also in above sub
  12. DEF(SwitchMask, 0x0000E5D8)
  13. DEF(InvertData, 0x0000E5E8)
  14. DEF(GpioStatus, 0x0000E5F8) // This is the real name for 'physw_status'
  15. DEF(SwitchStatus, 0x0000E608)
  16.  
  17.  
  18. // Key values for 'Feather' on joystic
  19. // Could be retrieved from 'PhySW' Task function
  20. // DEF(touch_keys_angle, 0x0000E8C8)            // no idea??
  21.  
  22. DEF(zoom_busy, 0x79C18)         // ZoomLens, 0xFFAA591C
  23. DEF(focus_busy, 0x79F34)        // FocusLensController, 0xFFAB58C8
  24. DEF(movie_compression, 0x6140)  // 0xFF956614
  25.  
  26.  
  27. // TODO: !!!!!!!!!!!!! THESE ARE INVALID !!!!!!!!
  28. DEF(FlashParamsTable,0xFFD4B62C)              // no idea??
  29.  
  30. //DEF(canon_menu_active, 0x6CBC)
  31. //DEF(canon_shoot_menu_active, 0x6CBC)
  32. //DEF(recreview_hold, 0x6CBC)
  33.  
  34. //DEF(canon_menu_active, 0x6CBC)
  35. //DEF(canon_shoot_menu_active, 0x6CBC)
  36.  
  37.  
  38. canon_menu_active_prev:
  39.     .word 0x10
  40.  
  41. .globl canon_menu_active
  42. canon_menu_active:
  43.     .word canon_menu_active_prev
  44.  
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement