www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/26/09:36:05

From: Jih-Shin Ho <u7711501 AT bicmos DOT ee DOT nctu DOT edu DOT tw>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019