Info written by Hans <lermen@fgan.de> to describe the virtual flags used by DOSEmu
in user space, seen by dosemu
virtual flags, macro VEFLAGS
the real flags, CPU reg. VM86
CPU model dependent bits
used the way to DOS
used the way from DOS
only modifies VEFLAGS;
sets a bit in the real flags;
set flags x over SAFE_MASK to real flags (IF is not touched)
returns real flags over RETURN_MASK and translates VIF of VEFLAGS to IF in x;
I have to add, that VIP will be cleared, because it is not in any of the masks of vm86.