IDE emulation: add support code for 32-bit PIO
finish adding 32-bit PIO emulation