From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: Reboot the computer. Date: Sun, 06 Sep 1998 10:50:48 -0300 Organization: NBTel Internet Lines: 18 Message-ID: <35F29338.337ADBEA@unb.ca> References: NNTP-Posting-Host: fctnts05c94.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > > Add this line when you want the machine to reboot. > > asm ("int 0x19"); > I think the recent discussion concluded that issuing INT 19H via > `__dpmi_int' is a better idea, since otherwise CWSDPMI would sometimes > not allow/ignore it. OK, I haven't tried it under CWSDPMI, but under Win95, using "__dpmi_int" is very ... unpleasent. The direct 'int' just quickly closes the box, the "__dpmi_int" locks your machine for 5 seconds, then displays a dialog box which you have to click to close the box. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca you would have to do is use the Transfer Buffer. You should look up BIOS in the faq. -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca