|
- #ifndef STONEHOLD_CYCLES_H
- #define STONEHOLD_CYCLES_H
-
- /* Cycle counter on CIA2 timer A, for timing checks (cycles.s). */
- void cycles_start(void);
- unsigned cycles_read(void); /* cycles since cycles_start(), at most 65535 */
-
- /* System clock cycles in one video frame. */
- #define FRAME_CYCLES_PAL 19656u /* 312 lines x 63 */
- #define FRAME_CYCLES_NTSC 17095u /* 263 lines x 65 */
-
- #endif
|