Hi! The current implementation of ins (Input from Port to String) is not-restartable. If page fault occurs during write, the port read is redone and for some devices this may give unexpected results. This is different from what real CPU does. From my tests with Pentium II it seems that the CPU first makes sure that data can be written, and then issue IO read. I'm attaching my test program -- it may do harm to your system, so be very careful. The test assumes that there is a CDROM connected as master to second IDE controller (hdc). Regards, Piotrek