I am getting many more differences than that. I haven't actually counted how many bytes differ, but when looking at the binary files with vbindiff I see at least several bytes per windowfull, and sometimes a whole block of differences. Much more than I would expect if I were using the same source, compiler, and options.
My intention was to demonstrate that the source I have works, and then submit the patch to update the svn server. But there's no point in submitting a patch until I/we are confident that it it works at least as well as what is already on the server.
2. I have read that some compiler (especially optimization) options create code that doesn't really work. I'm sorry, but I don't know all the options and how to select the ones that produce the best code. Again, his selection seems to generate results that work, all the more reason to follow his choices unless and until I can make rational choices.
The two things I see in the source I have from MK11174 that differs from the svn server is1. It uses the "face" button to switch into and out of ALT mode -- much nicer
2. It seems to have more code to support USB.
Oh, one of the things I learned is that "OPT_DEBUGGING=0" is not the same thing as "OPT_DEBUGGING=" -- DISKBOOT.BIN is about 4000 bytes larger when "OPT_DEBUGGING=0" is used. I had never thought to try setting it to zero, but that's what I found in one of the stable releases at the beginning of the year.
Ideally, this should be made user selectable between "play" and "face" buttons, defaulting to "play" for consistency with other ports http://chdk.setepontos.com/index.php?topic=6787.0
The OPT_* settings in the makefiles are used with ifdef/ifndef, so undefined or empty value means off, and any other value (including 0) means on.
Quote2. It seems to have more code to support USB.More details would be helpful.
What has me completely tied up in knots is trying to properly set up the color palette. I am using colors defined by load_chdk_palette() in platform/a3300/lib.c, but the menu and other colors still change when I switch between PLAY and RECORD mode.
Here's a summary of the info:APB Addr Mode 0 001a 1cc0 camera mode 1 2 3 4 001a c8c0 playback mode 5 6 001b 57b8 Menu/Start-up Image 7 001b 3fc0 Menu 8 001b 6330 Menu/Format|Language|Set Date/Time|Reset AllWhere APB: active_palette_buffer value Addr: base address of color palette
Started by Allbest « 1 2 3 4 » AllBest's Builds
Started by jlil AllBest's Builds
Started by joso AllBest's Builds
Started by Mkn General Help and Assistance on using CHDK stable releases
Started by snuffy47 General Discussion and Assistance