SX720 Porting thread - page 12 - DryOS Development - CHDK Forum supplierdeeply

SX720 Porting thread

  • 166 Replies
  • 87824 Views
*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX720 Porting thread
« Reply #110 on: 17 / April / 2016, 13:29:31 »
Advertisements
and 640 x 480 seems to be ok for this cam too?

Do you think is something related to the resolution?

maybe the #define CAM_SCREEN_WIDTH                    720  at  camera.h   > Tried with 640 too with the same result
« Last Edit: 17 / April / 2016, 13:39:02 by asm1989 »

*

Offline srsa_4c

  • ******
  • 4451
Re: SX720 Porting thread
« Reply #111 on: 17 / April / 2016, 13:42:46 »
and 640 x 480 seems to be ok for this cam too?
Yes, the framebuffers (in your ram dump) are all configured to 640x480.

Code: [Select]
    #undef  CAM_BITMAP_WIDTH
    #undef  CAM_BITMAP_HEIGHT
    #undef  CAM_SCREEN_WIDTH
    #undef  CAM_SCREEN_HEIGHT
    #define CAM_BITMAP_WIDTH                    640
    #define CAM_BITMAP_HEIGHT                   480
    #define CAM_SCREEN_WIDTH                    640
    #define CAM_SCREEN_HEIGHT                   480


*

Offline reyalp

  • ******
  • 14117
Re: SX720 Porting thread
« Reply #112 on: 17 / April / 2016, 15:02:09 »
That means, the LDR instruction copied to the unaligned address will load a different value and not what we expect.
Ugh, good catch. I guess I can make finsig_thumb2 output the appropriate patch code in the comments depending on how the original CreateTask is aligned.
Don't forget what the H stands for.

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX720 Porting thread
« Reply #113 on: 17 / April / 2016, 15:25:13 »
Could be something with the palette?


*

Offline reyalp

  • ******
  • 14117
Re: SX720 Porting thread
« Reply #114 on: 17 / April / 2016, 15:34:24 »
Could be something with the palette?
There isn't really a palette on d6 cams, so the same setup that works on sx280 and g7x should probably work.
Don't forget what the H stands for.

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX720 Porting thread
« Reply #115 on: 17 / April / 2016, 15:44:10 »
used the one from g7x, but still figuring out why the chdk logo shows up like this

*

Offline reyalp

  • ******
  • 14117
Re: SX720 Porting thread
« Reply #116 on: 17 / April / 2016, 16:18:12 »
used the one from g7x, but still figuring out why the chdk logo shows up like this
That looks like dimensions to me. Did you adjust the dimensions to 640x480 as srsa_4c said?

Since no palette is used on these cams, the stuff there is basically dummy values to keep the CHDK code that expects a palette happy. It should not be camera dependent.
Don't forget what the H stands for.

*

Offline srsa_4c

  • ******
  • 4451
Re: SX720 Porting thread
« Reply #117 on: 17 / April / 2016, 18:43:25 »
used the one from g7x, but still figuring out why the chdk logo shows up like this
Similar thing happened here, scroll down for the solution (make clean).


*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX720 Porting thread
« Reply #118 on: 18 / April / 2016, 01:36:51 »
Thanks yes it solves It i have the chdk logo now  :D  , but I am not able to open the chdk menu yet

*

Offline asm1989

  • *****
  • 527
  • SX720, SX260, SX210 & SX200
Re: SX720 Porting thread
« Reply #119 on: 18 / April / 2016, 14:54:30 »
Keyboard seems to work, wifi and menu open the respective canon menus,  but there is no keyboard override so maybe is better to start fixing why initfilemodules and captseq

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal