Fix potential bug in NMI/IRQ handlers. Implement ports $2180 & co. And one SPC700 instruction.

SMAS now starts, but seems utterly fucked up.