NVRAM corrupted on reset

Hum, I don't understand your question. I've connected pins A0..A7 (memory) to
digital pins 22..29 (arduino), if I remember correctly (I don't have the board in front of me),
and D0..D7 (memory) to 30..37 (arduino).