read the thread many times,

pic 18F4525
interupt on port B.0 works great with DT add-on using int0_int
but on falling edge of incoming pulse
the full program runs without any problem


i want to change it on rising edge using rbc_int
but - pic blocks - nothing works anymore ???
even de ledflash sub .....
what am i doing wrong - i don't see it.


code



'****************************
' as test for RBC_int
INTCON.0 = 0 ' RBIF
INTCON.3 = 1 ' RBIE
' INTCON2.0 = 1 ' RBIP
'****************************
' ok for int0_int on port B but falling edge ( unusable in this case)

INTCON2.6 = 1 ' rising edge ????
INTCON.1 = 0
INTCON.4 = 1 ' enable int0 interrupt RB0
'****************************
' include special interupts
INCLUDE "DT_INTS-18.bas" ; Base Interrupt System
INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts
INCLUDE "Elapsed_INT-18.bas" ; Elapsed Timer Routines

ASM
INT_LIST macro ; IntSource, Label, Type, ResetFlag?
; INT_Handler INT0_INT, _triggertest, PBP, yes
INT_Handler RBC_INT, _triggertest, PBP, yes
INT_Handler TMR1_INT, _ClockCount, PBP, yes
endm
INT_CREATE ; Creates the interrupt processor
ENDASM
gosub initial ; all var to 0
gosub ledflash ; flash leds 10 times
T0CON = %10010010 ; T0 = 16-bit, Prescaler 8
;@ INT_ENABLE INT0_INT ; enable external (INT) interrupts
@ INT_ENABLE RBC_INT ; enable RB (INT) interrupts on change
@ INT_ENABLE TMR1_INT ; Enable Timer 1 Interrupts

GOSUB ResetTime ; Reset Time to 0d-00:00:00.00
GOSUB StartTimer ; Start the Elapsed Timer


'*******************************************
Main:
if trig_in =1 then
................
endif

trig_in = 0
goto main
'******************************************
';---[INT - interrupt handler]--------------------------
triggertest:
trig_in = 1 ' set flag interupt
@ INT_RETURN
end