Saving integer data after power shutoff

Have you looked into using an SD card reader/writer unit? They're cheap and they work really well, sort of like a hard drive. I'm not sure whether a standalone atmega could communicate with one, though, without other hardware. Just a suggestion.