How could I do PortManipulation on mega2560?

The reference here only talked about ATmega8 and ATmega168, How could I use this on mega2560?
Thanks

Same as on the others, there are just more ports to do it on. (A-H I think>? vs just A-D)

See This Google Spreadsheet.
Ports on the MEGA go up through "PORTL" !

What does the IO column represent? Little odd that it is only filled in for D0-D7. Maybe a thought that never got completed?

What does the IO column represent?

Well; that's a good question! I don't remember! Looking at the similar spreadsheet for the Arduino, I think this was supposed to distinguish pins that were capable of some kind of IO from pins that had other dedicated functions (power, reset, etc.) It may have fallen by the wayside because I didn't know how to deal with the ATmega1280 pins that were IO pins, but not connected to any of the MEGA connectors.