spfd5408 working on duemilanove but not on mega

So I bought 3.2" LCD with spfd5408 controller. I tried this library (https://docs.google.com/file/d/0ByvLN9FKq4TUb19VeXkyYmNaLUk/edit?usp=sharing) and examples are working on arduino duemilanove but not on Mega 2560 (just white screen). I was trying uncomment #define line in a header file
// comment or uncomment the next line for special pinout!
//#define USE_ADAFRUIT_SHIELD_PINOUT
But nothing

In source code there are lines like

#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || defined (__AVR_ATmega328) || (__AVR_ATmega8__)

 d = DATAPIN1 & DATA1_MASK; 
 d |= DATAPIN2 & DATA2_MASK; 

#elif defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega2560__)  || defined(__AVR_ATmega1280__) 

#ifdef USE_ADAFRUIT_SHIELD_PINOUT

  // bit 6/7 (PH3 & 4)
  // first two bits 0 & 1 (PH5 & 6)
 d = (PINH & 0x60) >> 5;
 d |= (PINH & 0x18) << 3;

So I think that 2560 should be supported.

In the IDE, did you set to the other board. Which board is it set to?

Yes IDE setting is correct "Arduino Mega 2560 or Mega ADK"

Do you suspect the problem to be in hardware, software, or wiring? Is this connected as a shield, or with jumper wires?
Are the pins used the same on both boards? Does one of the boards have a pin conflict?
Is the sketch you are running a simple test , or does it include some other functions, connections?

I think that its a software issue (in library). I tried all pins and all works there is nothing like bad contact, on pins RS,CS,WR etc.. is somethink what looks like real communication.I guess that i must wait for weekend and examine function of every pin on oscilloscope.