Modify winedos interrupt handlers so that they work with PM