I noticed after using DataGhost's build that the built in memory viewer does not update unless you press a button. Since I've been trying to observe the live preview image index switching for the motion detection stuff, I modified the built in CHDK memory viewer to continuously update. This is the patch if anyone is interested:
Index: gui_debug.c
===================================================================
--- gui_debug.c (revision 431)
+++ gui_debug.c (working copy)
@@ -74,9 +74,9 @@
draw_txt_string(2, 11, "DOUBLE :", MAKE_COLOR(SCREEN_COLOR, COLOR_WHITE));
draw_txt_string(2, 12, "STRING :", MAKE_COLOR(SCREEN_COLOR, COLOR_WHITE));
- debug_to_draw = 2;
+ debug_to_draw = 0;
break;
- case 2:
+ default:
sprintf(buf, "0x%08X", addr);
draw_txt_string(10, 0, buf, MAKE_COLOR(COLOR_BLACK, COLOR_WHITE));
sprintf(buf, "0x%08X", step);
@@ -86,9 +86,6 @@
debug_to_draw = 0;
break;
- default:
- debug_to_draw = 0;
- break;
}
}
@@ -101,11 +98,9 @@
break;
case KEY_LEFT:
addr-=step;
- debug_to_draw = 2;
break;
case KEY_RIGHT:
addr+=step;
- debug_to_draw = 2;
break;
case KEY_DISPLAY:
switch (step) {
@@ -113,7 +108,6 @@
case 0x10000000: step = 0x00000004; break;
default: step<<=4; break;
}
- debug_to_draw = 2;
break;
}
}
If you don't want to bother with the patch, just change
debug_to_draw = 0;
to
debug_to_draw = 2;
in case 2 of the switch statement in the gui_debug_draw() function in gui_debug.c