🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #345

Re: BC 3.0 and 386's

#345
From: Ross Ridge
Date: Mon, 10 Aug 1992 09:14
23 lines
1275 bytes
dstamp@watserv1.uwaterloo.ca (Dave Stampe-Psy+Eng) writes:
>I've been having problems with Borland C++ 3.0 when my code includes
>assembler that uses the FS and GS registers.  Basically, the code
>"freezes" at these instructions, but you can break out of it.
>
>Now, I find that the IDE (and compiler??) go into protected mode and
>load these segments with null (illegal) descriptors!  I have to do 
>my own protected-mode shuffle to undo this. 

>WHO'S RESPONSIBLE FOR THIS IRRESPONSIBILITY?

I've always understood that under MS-DOS you can't depend on any
of the '386 registers being preserved.  Anytime I've seen the 32bit
registers used (eax, edi, ...) it's always been protected inside
"sti ... cli" instructions to in case some ISR mucks with them.

						Ross Ridge

-- 
Ross Ridge - The Great HTMU					     l/	 //
								    [OO][oo]
ross@zooid.guild.org						    /()\/()/
uunet.ca!zooid!ross						     db	 //
Technical Details
Message-ID: <1992Aug10.091447.12146@zooid.guild.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!geac!zooid!ross
References: <Bsq3Du.5vF@watserv1.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!geac!zooid!ross
From: Ross Ridge <ross@zooid.guild.org>
Subject: Re: BC 3.0 and 386's
Organization: ZOOiD BBS
Date: Mon, 10 Aug 1992 09:14:47 GMT
Message-ID: <1992Aug10.091447.12146@zooid.guild.org>
References: <Bsq3Du.5vF@watserv1.uwaterloo.ca>
Lines: 23