revised pic_init on QEMU and REAL