Clock Functions

clock_hh( void );
clock_mm( void );
clock_ss( void );
clock_tt( void );

Return the number of hours, minutes, seconds, or 'ticks (one VSYNC interval, or 1/60th of a second) since the last clock_reset().

Note: The accuracy of this clock will be "off" by about 2 seconds per whole hour. This is due to the fact that NTSC VSYNC frequency is actually 59.94Hz, rather than 60Hz (whilst the VCE "refreshes" at around 59.82Hz).


clock_reset( void );

Resets the clock timer.

Last updated