This Python simulation with py2exe executable (to use: unzip, double-click dist/ClockTWO.exe) implements the same data structure that ClockTWO uses, so I can see if I am getting all the bits manipulated as I expect.
Controls to set the time:
s -- forward one second
S -- backward one second
m -- forward one minute
M -- backward one minute
f -- forward five minutes
F -- backward five minutes
h -- forward one hour
H -- backward one hour
The I, M, and D buttons emulate the hardware buttons. I moves forward one minute, D move back one minute, and M changes the color.
Please download, test, and provide feedback.