I am converting some complex code written for the ATmega328p to a ATmega2560. Other than the register names for the first serial port,are there other changes that should be considered for the same pins and IO. So if a shield worked on the Duemilanove, will it work the same on the Mega. Keep in mind that the code does not make use of the Arduino framework, just the boards.
Do the port definitions coincide etc? Any suggestions welcome