Make DOSVM_Wait work in protected mode.