OLED display problem - Direct Port manipulation issue

A0 should have worked for one of the pins. I hope you didn't use A0 for more than one pin.

When you said "having trouble accessing Port F", what exactly did you mean?