when compiling MINGW/GRX/BGI programs I have noticed that if you use setwritemode(XOR_PUT) once, setwritemode(COPY_PUT) does not switch back to normal write mod but stays in xor-mode. This effect does not occur in DJGPP/GRX/BGI environment. Does anyone know a workaround ? Thanks for attention.