Date: Tue, 23 Sep 1997 20:25:08 -0700 (PDT) Message-Id: <199709240325.UAA02154@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: THIERRY DOT T DOT I DOT IMMORDINO AT TSI DOT thomson DOT fr, djgpp AT delorie DOT com (Receipt Notification Requested) From: Nate Eldredge Subject: Re: Some help about 386ex implementation Precedence: bulk At 11:00 9/22/1997 -0100, THIERRY DOT T DOT I DOT IMMORDINO AT TSI DOT thomson DOT fr wrote: > >>From immordino AT tsi DOT thomson DOT fr > >Hi, > >How can I call HALT instruction to execute IDLE mode on my target (386ex >with dos) ? You can execute a HALT instruction like this: asm("hlt"); > >I think that I have some problems with the protected mode. That's quite possible. Normally in protected mode you aren't allowed to use the HALT instruction, it causes a SIGILL or is ignored or something of the sort. You might have more luck using CWSDPR0.EXE (that's a zero) as your DPMI server. Nate Eldredge eldredge AT ap DOT net