The NES just let developers deal with that, pretty much all interrupt code starts with the developer frantically saving the registers somewhere so that he can restore them at the end of the interrupt.
Isn't that required of interrupt handlers on any architecture, even modern ones?
Is it? I was so sure that modern architectures could just push your entire set of registers away to a stack with a single instruction, since it's so common.
I honestly don't know. I haven't done any assembly since the days of the 680x0.