Simulator For arduino mega

Dear all,

IS there any simulator for arduino Mega . before purchase board i can test code on simulator. I downloaded virtronics.com.au/Simulator-for-Arduino.html? from this link. but it not working for mega worked for uno board .