This one is working, already tested.

start:
; 2295 hz=435.7 us or 43-44 pulsin
; 2125 hz 470.5 us or 47-48 pulsin


pulsin bprevious,0,b0
pulsin bprevious,1,b1
b2=b0+b1

if (b2==43) or (b2==44) then
lcdout $fe,1,"2295 Hz detect"
pause 1000
goto start
endif

if (b2==47) or (b2==48) then
lcdout $fe,1,"2125 Hz detect"
pause 1000
goto start
endif
lcdout $fe,1, "waiting for tones"
pause 100
goto start


Easy huh!!! now you can modify for your application.

regards