Move all int31 functions to winedos.
Fix some obvious bugs in int31 functions.

2 files changed