![]() |
Jo Engine
2022.02.17
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. More... | |
static __jo_force_inline void | jo_time_set_frc (unsigned char reg) |
unsigned int | jo_get_ticks (void) |
get ticks count More... | |
void | jo_fixed_point_time (void) |
get ticks count More... | |
Variables | |
jo_fixed | time_in_seconds |
Will increment fixed-point 1 every second since starting jo_fixed_point_time() More... | |
jo_fixed | delta_time |
Represent the delta time (in fixed-point seconds) between each frame. More... | |
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 |
jo_fixed delta_time |
Represent the delta time (in fixed-point seconds) between each frame.
jo_fixed time_in_seconds |
Will increment fixed-point 1 every second since starting jo_fixed_point_time()