From: "A.Appleyard" To: DJGPP AT sun DOT soe DOT clarkson DOT edu Date: Tue, 7 Feb 1995 16:45:09 GMT Subject: using _farns*() (was: Re: Funny error in class) dj AT stealth DOT ctron DOT com (DJ Delorie) wrote:- > ...be warned that your functions can't GUARANTEE that the segment registers > have the right values. The _farns* functions were intended to be used in an > enclosed function, like one that loops through a chunk of video memory, > where you know that there's no opportunity for someone else to use a _far* > function. All it takes is someone calling _far* (say, to get a BIOS value) > and you're toast. (1) I am very sorry to keep on troubling you. (2) On entering the `enclosed function', before any _farns*() calls in that enclosed function, how do I make sure that the segment registers are correct for the _farns*() calls in that call of that enclosed function? (3) Does `someone else' hereinabove mean `some other function in that program', or is there a reference to multi-user computers, or what?