Add compiler directives

Chop out lots of code to fit into T84
I have been ruthless - perhaps gone too far.