BOBOLI THE MIGHTY KNIGHT Networked Medieval Conflict
Submitted By:
Unknown
Rating:





(
Rate It)
/* TIMER functions.
Really a skeleton. The timer procedure does nothing but set a flag that
one tick of the selected rate has passed, and keep track of how many such
ticks have occurred. If you need to do more than that in your timer
function, then copy this file, and modify what the timer function does.
*/
#include "mgraph.h"
#ifndef _timer_gogo
#define _timer_gogo
#define _Timer_intr 8
#define _PIT_freq 0x1234DD
extern byte timepassed,timetick;
extern unsigned short clock_ticks;
extern unsigned long counter;
void timer_init(byte Hz);
void timer_exit(void);
void qdelay(unsigned short time);
char *get_cmostime(void);
#endif