From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: Q: rebooting PC Date: Thu, 24 Jun 1999 20:45:09 Organization: Aspen Technology, Inc. Lines: 11 Message-ID: <377298d5.sandmann@clio.rice.edu> References: <376F9051 DOT D40F2C2A AT americasm01 DOT nt DOT com> NNTP-Posting-Host: ptdemo.aco.aspentech.com X-NewsEditor: ED-1.5.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. I'll try to remove the arbitrary requirement in r5