port for A3300IS / what reference port to use? - page 27 - General Discussion and Assistance - CHDK Forum supplierdeeply

port for A3300IS / what reference port to use?

  • 288 Replies
  • 60850 Views
*

Offline kosy

  • *
  • 28
Re: port for A3300IS / what reference port to use?
« Reply #260 on: 23 / March / 2012, 14:24:35 »
Advertisements
I want to thank mk11174 for his wonderful work in porting CHDK to the A3300.

He claims to not be a programmer and that this was all new for him, but I am happily using the fruits of his work.

I finally came out of lurker mode yesterday just so I could follow his work more closely, namely look at a list of all his posts. What surprised me is that as far as I could tell, all the hints, comments, and direction are in this thread -- I did not see any other posts relating to this port. That he was able to puzzle out the required information from the posted documents and rather sparse hints at what tools to use is truly amazing.

Thank you to mk11174 and to all who showed him the way!

And I have a special warm regard for waterwingz whose gracious and kind encouragement of many on the CHDK forum is a special gift.

Re: port for A3300IS / what reference port to use?
« Reply #261 on: 23 / March / 2012, 15:55:16 »
What surprised me is that as far as I could tell, all the hints, comments, and direction are in this thread -- I did not see any other posts relating to this port. That he was able to puzzle out the required information from the posted documents and rather sparse hints at what tools to use is truly amazing.
Power user tip - there was a time during this port when most of the conversation happened on IRC.  If you can find someone online on the CHDK IRC channel then things can go really quickly.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: port for A3300IS / what reference port to use?
« Reply #262 on: 07 / June / 2012, 09:18:00 »
hello.. i am quiet new to chdk...its been just few weeks im using it...
just downloaded thw "a3300-r1.0-100D-full" build.... but as it didnot have the PS.FI2 file..... i just copied and replaced the files with the older version of chdk i had.....ie."a3300-100d-1.0.0-1860-full_BETA".... but the disp+set button is still the shortcut for alt mode, which was supposed to be the face button

PLEASE HELP

*

Offline reyalp

  • ******
  • 13231
Re: port for A3300IS / what reference port to use?
« Reply #263 on: 07 / June / 2012, 16:28:32 »
hello.. i am quiet new to chdk...its been just few weeks im using it...
just downloaded thw "a3300-r1.0-100D-full" build.... but as it didnot have the PS.FI2 file..... i just copied and replaced the files with the older version of chdk i had.....ie."a3300-100d-1.0.0-1860-full_BETA".... but the disp+set button is still the shortcut for alt mode, which was supposed to be the face button
Unfortunately, the source for that change was never posted or submitted for inclusion in the trunk. I think Kosy might be working on an update for this camera.
Don't forget what the H stands for.


*

Offline kosy

  • *
  • 28
Re: port for A3300IS / what reference port to use?
« Reply #264 on: 10 / June / 2012, 01:32:41 »
Quote
I think Kosy might be working on an update for this camera.
Thank you for the plug, reyalp!

Unfortunately I was unable to respond because starting Thursday anything I tried to do resulted in a 403 Access Forbidden Error.

Yes, I will submit the patch now, and I hope it is in proper form so it can be added to the autobuild server.

    Here's a summary of the changes:
    • Changed the default ALT key to PLAY
    • Implemented the ability to change the ALT key to FACE, DISP, or PLAY (ALT Menu/Miscellaneous Stuff/<ALT> Mode Button)
    • Changed location of where CHDK colors are stored to a safe area in the palette so Canon's messages display correctly.
    • Defined DISP as the RAW button -- this also has the effect of making the DISP button the key that triggers "ALT +/- debug action" (ALT/Menu/Miscellaneous Stuff/Debug Parameters/ALT +/- debug action)
« Last Edit: 10 / June / 2012, 01:48:29 by kosy »

Re: port for A3300IS / what reference port to use?
« Reply #265 on: 11 / June / 2012, 06:18:28 »
Quote
Yes, I will submit the patch now, and I hope it is in proper form so it can be added to the autobuild server.

    Here's a summary of the changes:
    • Changed the default ALT key to PLAY

please share the build here with PS.FI2         ......................
........................................
...........................................
.....................................
...................................... [/list]
« Last Edit: 11 / June / 2012, 06:24:09 by RidwanArefin »

*

Offline kosy

  • *
  • 28
Re: port for A3300IS / what reference port to use?
« Reply #266 on: 16 / June / 2012, 01:18:39 »
please share the build here with PS.FI2
There is no PS.FI2, and it's not needed for the a3300.

The files that you _do_ need are:
  • DISKBOOT.BIN
  • vers.req

And you need to make the card bootable by doing the following:
  • Starting at location 1E0 hex, which is the same as 480 decimal, place the phrase "BOOTDISK\000" , where "\000" means a NULL byte. If you are using Windows you can use CardTricks or CHDK-Shell to do this.
  • Slide the little button on the card to the LOCK position.
« Last Edit: 16 / June / 2012, 01:28:50 by kosy »

*

Offline kosy

  • *
  • 28
Re: port for A3300IS / what reference port to use?
« Reply #267 on: 16 / June / 2012, 01:24:34 »
hello.. i am quiet new to chdk...its been just few weeks im using it...
just downloaded thw "a3300-r1.0-100D-full" build.... but as it didnot have the PS.FI2 file..... i just copied and replaced the files with the older version of chdk i had.....ie."a3300-100d-1.0.0-1860-full_BETA".... but the disp+set button is still the shortcut for alt mode, which was supposed to be the face button

PLEASE HELP
Until such time as the modifications I made are accepted, you can use MK11174's version that uses the FACE button as the ALT switch. You can find that version here: http://chdk.setepontos.com/index.php?topic=6972.msg81188#msg81188


Re: port for A3300IS / what reference port to use?
« Reply #268 on: 16 / June / 2012, 10:47:24 »
Until such time as the modifications I made are accepted ....
Added a quick note here :

http://chdk.setepontos.com/index.php?topic=650.msg86524#msg86524
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 13231
Re: port for A3300IS / what reference port to use?
« Reply #269 on: 16 / June / 2012, 19:16:13 »
Until such time as the modifications I made are accepted, you can use MK11174's version that uses the FACE button as the ALT switch. You can find that version here: http://chdk.setepontos.com/index.php?topic=6972.msg81188#msg81188
Kosy:

Thanks for your work. There are a few things I'd like to resolve with the patch before committing:

DISP is defined as an option for the alt button, but is also assign a shortcut function (toggle raw and debug shortcut.) It might be simpler to just limit the alt shortcuts to PLAY and FACE ? I'm guessing disp would be a much less common choice since it has a commonly used function in the canon firmware.

FACE is also given the toggle MF function.

For both of these, if they are available as an alt key, can you verify that they don't trigger the shortcut functions when assigned as the alt key ? I expect they don't, but some of that code is quite convoluted.

In gui_draw.h, I'm not clear why there is the ifdef for CHDK_COLOR_BASE ?

In kbd.c:
alt_mode_key_mask is not actually used anywhere, it should be removed.
The DIAL defines should be commented, since they are only for information.
The BTN defines are not a bad idea, but FWIW I'd prefer to keep the code similar to other cameras.

Your buildconf.inc had games disabled. If this camera does not have enough memory to run correctly without them, we will need to either force them off for this build or implement exmem support.

I've attached a diff with my modifications, and a corresponding build. I also removed extraneous changes. If this is acceptable, I can add it to the trunk. If you want to revise and make a new patch, that's OK too.
Don't forget what the H stands for.

 

Related Topics