Create emulator.c