OK, so CMCON0 = 0 and ANSEL = 0 solved everything.

See http://www.picbasic.co.uk/forum/arch...php/t-561.html.

I'm such a rookie....