By themselves, the include files will not compile.
There must be an INT_LIST and INT_CREATE in your program.
Code:
INCLUDE "DT_INTS-18.bas"
INCLUDE "ReEnterPBP-18.bas"
INCLUDE "Elapsed_INT-18.bas" ; Elapsed Timer Routines
ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
INT_Handler TMR1_INT, _ClockCount, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
@ INT_ENABLE TMR1_INT ; Enable Timer 1 Interrupts
You'll need the -18 version of the Elapsed Timer too.
http://darreltaylor.com/DT_INTS-18/downloads.html
Bookmarks