Added interrupt system to emulator.