The debug data display has been used to author (most?) platform/*/main.c modemaps, which in turn are (only?) used by mode_get()....mode_get() in turn is (only, I hope) used by CHDK to check PLAY/REC modes (and I guess swivel screen status), but not the modemap.
And yes, mode_get reads the propcase value into an int as does shooting_get_prop().
{ MODE_AUTO, 5 }, { MODE_P, 1 }, { MODE_TV, 3 }, { MODE_AV, 2 }, { MODE_M, 0 }, { MODE_PORTRAIT, 6 }, { MODE_NIGHT, 8 }, { MODE_LANDSCAPE, 7 }, { MODE_VIDEO_STD, 16 }, { MODE_STITCH, 0xFF }, { MODE_MY_COLORS, 4 }, { MODE_SCN_NIGHT, 14 }, { MODE_SCN_CHILD, 0xFF }, { MODE_SCN_PARTY, 13 }, { MODE_SCN_GRASS, 9 }, { MODE_SCN_SNOW, 10 }, { MODE_SCN_BEACH, 11 }, { MODE_SCN_FIREWORK, 12 }, { MODE_SCN_COLOR_ACCENT, 0xFF }
ROM:FF983778 dword_FF983778 DCD 0 ; DATA XREF: ROM:off_FF9837CCoROM:FF98377C DCD 1ROM:FF983780 DCD 2ROM:FF983784 DCD 3ROM:FF983788 DCD 4ROM:FF98378C DCD 5ROM:FF983790 DCD 6ROM:FF983794 DCD 7ROM:FF983798 DCD 8ROM:FF98379C DCD 9ROM:FF9837A0 DCD 0xAROM:FF9837A4 DCD 0xBROM:FF9837A8 DCD 0xCROM:FF9837AC DCD 0xDROM:FF9837B0 DCD 0xEROM:FF9837B4 DCD 0xFROM:FF9837B8 DCD 0x10ROM:FF9837BC DCD 0x20011ROM:FF9837C0 DCD 0x30012
{ MODE_AUTO, 5 },=5{ MODE_P, 1 },=1{ MODE_TV, 3 },=3{ MODE_AV, 2 },=2{ MODE_M, 0 },=0{ MODE_PORTRAIT, 6 },=6{ MODE_NIGHT, 8 },=8{ MODE_LANDSCAPE, 7 },=7{ MODE_VIDEO_STD, 16 },=16{ MODE_STITCH, 0xFF },=15{ MODE_MY_COLORS, 4 },=4{ MODE_SCN_NIGHT, 14 },=14{ MODE_SCN_CHILD, 0xFF },= n.a.{ MODE_SCN_PARTY, 13 },=13 Indoor{ MODE_SCN_GRASS, 9 },=9 Foliage{ MODE_SCN_SNOW, 10 },=10{ MODE_SCN_BEACH, 11 },=11{ MODE_SCN_FIREWORK, 12 },=12{ MODE_SCN_COLOR_ACCENT, 0xFF }= n.a.
Started by BlueChip General Discussion and Assistance
Started by reyalp General Discussion and Assistance
Started by waterwingz « 1 2 » General Discussion and Assistance
Started by TMHKR General Help and Assistance on using CHDK stable releases
Started by EZE General Discussion and Assistance