Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

13 lines
391B

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

Powered by TurnKey Linux.