A Z80 processor emulator written in c