memcpy and memset optimized and verified. init uses them.
NMI preserves context... debugged mul routines.

NMI: deserved a commit just to be sure to not forget it. It is simple, but
I carelessly coded the palette cycler, I just let a simple bug survive.
Notes to myself.
A TODO file so I remember what to do...