delorie.com/archives/browse.cgi | search |
Message-Id: | <m10VLBD-000S7TC@inti.gov.ar> |
Comments: | Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar> |
From: | "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar> |
Organization: | INTI |
To: | yjtseng <yjtseng AT micron DOT com>, djgpp AT delorie DOT com |
Date: | Thu, 8 Apr 1999 17:17:41 +0000 |
MIME-Version: | 1.0 |
Subject: | Re: Help needed in getting CR0 under DOS |
In-reply-to: | <F554E1189472D21198D000805F654BFE05FA58@ntxchangerend.engr.rendition.com> |
X-mailer: | Pegasus Mail for Windows (v2.54) |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
yjtseng <yjtseng AT micron DOT com> wrote: > I wrote inline assembly code to access the control register CR0 and > compiled it > under djgpp. It ran O.k. in window DOS but gave me general protection fault > under pure DOS environment. 1) Isn't it a privileged instruction? 2) Are you sure it succed under Windows, or is just that it didn't complain? 3) Did you tried with CWSDPR0 under DOS or with other DPMI host? I guess you used the normal CWSDPMI and (1) is true so then the crash is logic. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(5411) 4759 0013
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |