![]() |
Jo Engine 2026.11.1
Jo Sega Saturn Engine
|
Time Management. More...
Go to the source code of this file.
Macros | |
| #define | JO_TIME_CKS_32_MODE |
| #define | JO_TIME_M_CKS |
Enumerations | |
| enum | jo_time_memory_address { RegisterHighFRC , RegisterLowFRC , RegisterTCR , RegisterSysClock } |
Functions | |
| static __jo_force_inline void | jo_time_poke_byte (jo_time_memory_address addr, unsigned char data) |
| static __jo_force_inline unsigned char | jo_time_peek_byte (jo_time_memory_address addr) |
| static __jo_force_inline void | jo_time_poke_int (jo_time_memory_address addr, unsigned int data) |
| static __jo_force_inline unsigned int | jo_time_peek_int (jo_time_memory_address addr) |
| static __jo_force_inline int | jo_time_get_frc (void) |
| Get Free Running Counter value. | |
| static __jo_force_inline void | jo_time_set_frc (unsigned char reg) |
| unsigned int | jo_get_ticks (void) |
| get ticks count | |
| void | jo_fixed_point_time (void) |
| get ticks count | |
Variables | |
| jo_fixed | time_in_seconds |
| Will increment fixed-point 1 every second since starting jo_fixed_point_time(). | |
| jo_fixed | delta_time |
| Represent the delta time (in fixed-point seconds) between each frame. | |
Time Management.
| #define JO_TIME_CKS_32_MODE |
| #define JO_TIME_M_CKS |
| void jo_fixed_point_time | ( | void | ) |
get ticks count
| unsigned int jo_get_ticks | ( | void | ) |
get ticks count
|
static |
Get Free Running Counter value.
|
static |
|
static |
|
static |
|
static |
|
static |
|
extern |
Represent the delta time (in fixed-point seconds) between each frame.
|
extern |
Will increment fixed-point 1 every second since starting jo_fixed_point_time().