A simple OutRun on Casio Graph 90+E
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
OutRun/src/clock.h

31 lines
515 B

#ifndef OVERCLOCK_H
#define OVERCLOCK_H
#ifdef __cplusplus
extern "C" {
#endif
typedef enum
{
OC_Default = 0, // Default (118MHz)
OC_PtuneF2 = 1, // 59MHz
OC_PtuneF3 = 2, // 96MHz
OC_PtuneF4 = 3, // 236MHz
OC_PtuneF5 = 4 // 191MHz
} overclock_level;
// return 0 if no need to change
// return 1 if successful change
// return -1 on error
int clock_overclock( overclock_level level );
#ifdef __cplusplus
}
#endif
#endif /* OVERCLOCK_H */