Mail Archives: djgpp/1997/09/23/23:26:42
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
- Raw text -