| delorie.com/archives/browse.cgi | search |
| Sender: | "Rolf Campbell" <cp1v45 AT nortelnetworks DOT com> |
| Message-ID: | <376F9051.D40F2C2A@americasm01.nt.com> |
| Date: | Tue, 22 Jun 1999 09:32:01 -0400 |
| From: | "Rolf Campbell" <cp1v45 AT nortelnetworks DOT com> |
| 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: | <Pine DOT SUN DOT 3 DOT 91 DOT 990615140016 DOT 20254A-100000 AT is> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |