Hi, I'm banging my head against the walls trying to figure this one out. I'm trying to implement this very simple DT interrupt to toggle a LED,

http://www.picbasic.co.uk/forum/show...7472#post17472

The problem is that the program never goes to the interrupt handler ToggleLED1. I can make a LED blink in the MAIN loop, but it won't go to the Int handler. This chip is pretty new, so I'm wandering if the DT_INTS-14.bas or ReEnterPBP.bas files need any changes. I have tried playing with the other registers related to TMR1 like T1CLK, but nothing works. Any help is greatly appreciated. Thanks. Robert

Code:
LED1   VAR  PORTB.1

INCLUDE "DT_INTS-14.bas"     ' Base Interrupt System
INCLUDE "ReEnterPBP.bas"     ' Include if using PBP interrupts

ASM
INT_LIST  macro    ; IntSource,        Label,  Type, ResetFlag?
        INT_Handler   TMR1_INT,  _ToggleLED1,   PBP,  yes
    endm
    INT_CREATE               ; Creates the interrupt processor
ENDASM

T1CON = $31                ; Prescaler=8, TMR1ON
@ INT_ENABLE  TMR1_INT     ; enable Timer 1 interrupts

Main:
  PAUSE 1
GOTO Main

'---[TMR1 - interrupt handler]--------------------------------------------------
ToggleLED1:
     TOGGLE LED1
@ INT_RETURN