/* ** BETATRON high level library for platform and action arcade games. ** Copyright (C) 1997 Liouros Thanasis, liouros@hotmail.com ** ** PLTIMER.H: This file is part of the BETATRON library and can be used ** and/or distributed only under the terms of the GNU Library ** General Public License. See doc/readme.1st for details. */ #ifndef pltimer_h #define pltimer_h #include #define MINHz 18.206497192 #define MAXHz 1001 #define PITHz 1193181 #define RTCMINRATE 1 #define RTCMAXRATE 11 extern volatile unsigned long pl_dtime[]; short pl_inittimer(float rate, void (*userroutine)() = NULL); short pl_timerdone(); float pl_getActualHz(); long pl_getTimerCount(); // short pl_RTCinittimer(char rate, void (*userroutine)() = NULL); // short pl_RTCtimerdone(); #endif