just change pins_arduino.c with the different pins
You have several options:1) Use Arduino 18 2) Adapt Arduino libraries to work with this board3) Learn how to get rid of the Arduino stuff and how to compile/upload from the commandline3b) learn how to reuse Arduino stuff even if you build without Arduino I prefer (3). Might take some ffort though.
Have you tried this core?http://www.avr-developers.com/
Fill me in on what you changed. My IDE install at home is totally hosed from the mucking about I did to get the 644P working for the demo I wrote for you, can't compile anything anymore.I want to remove it all, reload with -0021, and then update from there for the 644P again.