#define TIMER_INTR 0x8

DWORD timer_ticks = 0;
BYTE timer_start = 0;
BYTE delay_start = 0;
DWORD delay_ticks = 0;
DWORD delay_limit = 0; 

// interrupt handlers
_go32_dpmi_seginfo timer_old_handler, timer_new_handler;