Work-in-progress NES emulator