How can I set the various I/O modes? Example how do I enable pull ups?

Thanks in advance.

How can I program a pin as an input but with a pull up.

We are trying to accomplish the pull up bring the pin to a high level. Do I need to write register settings?

I am using the atmega2560V on a custom board.

I want to run a tft screen that I had running on my mega2560. I know the chip takes the program but when I give it my tft program the screen will not display anything besides white (power). I am trying to learn how to set the modes for the chip pins within the arduino IDE.

Thanks again for your time.

(deleted)

I think this is an all new low in too lazy to read the refs. Next he will be asking how to write the pin high or low.