From: Jih-Shin Ho Subject: int86 doesn't preserve fs & gs To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) Date: Sat, 26 Feb 94 21:47:08 EAT Hi: I am writing a image viewer that can run under DPMI. I can't use the linear video memory model provided by GO32. So I must do the bank switching by myself. After a lot of trying, I find that int86() doesn't preserve the segment register %fs and %gs. This causes a very serious problem because I use %gs to store the DOS memory selector. I hope this will help others who have the same problem. -- Jih-Shin Ho