www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/22/11:22:54

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
Date: Mon, 22 May 1995 15:26:03 BST
Subject: accessing conventional memory addresses

  The FAQ says:-
> Q: How can I peek at an address whose far pointer I get from an INT 21h
> call?
> ...
>       u_char value = _farpeekb(_go32_conventional_mem_selector(),
>                                  segment*16 + offset);

  What sort of events change the value of _go32_conventional_mem_selector()
during a program run? Can I call `cms=_go32_conventional_mem_selector()' once
at the start of the program run, and rely on `int gms' holding the correct
selector value right through the program run?

- Raw text -


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