Maybe this will help you:
http://www.picbasic.co.uk/forum/showthread.php?t=15322
And here is example that worked for me with 8MHz crystal.
http://www.picbasic.co.uk/forum/show...812#post106812
And I use this for shared sfr:
Code:
@ Bsf WDTCON,ADSHR; Enable write/read to the shared SFR
ANCON0_ALT =255
ANCON1_ALT =%11011111
@ Bcf WDTCON,ADSHR ; Disable write/read to the shared SFR