www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/06/10:32:06

From: Endlisnis <s257m AT unb DOT ca>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 980906123157 DOT 20285K-100000 AT is>
NNTP-Posting-Host: fctnts05c94.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019