82c55 emulation