temporary fix for bug #476632 z80 only