Amstrad CPC emulator in Python