Edit program from arduino mega from arduino due

I have code for arduino mega which uses eeprom library and I want to translate it to arduino due ! Can someone please do that ?

Here is source code: Arduino - Pastebin.com

Here is source code: Arduino - Pastebin.com

Dumping your code in the rubbish bin was probably not what you wanted to do.

The Due doesn't have any EEPROM, so, just how do you expect code that reads from/writes to EEPROM to work on a device that doesn't have any EEPROM?