Sender: "Rolf Campbell" Message-ID: <376F9051.D40F2C2A@americasm01.nt.com> Date: Tue, 22 Jun 1999 09:32:01 -0400 From: "Rolf Campbell" Organization: Nortel Networks X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.20 9000/712) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: Q: rebooting PC References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > So my question is: how can I do this in DJGPP, if at all? > > Invoke Int 19h. I don't remember whether you need to emit a literal > instruction "INT 19h" or call via __dpmi_int, but one of these ways > should work. (The other one is deliberately blocked by CWSDPMI, for > some obscure reason.) The literal "int 19h" works, and the __dpmi_int hangs the machine. -- -Rolf Campbell (39)3-6318