improved z80 emulation