Date: Wed, 16 Jun 1999 10:42:49 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Clemens Valens cc: djgpp AT delorie DOT com Subject: Re: Q: rebooting PC In-Reply-To: <929459509.24968@www.remarq.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 15 Jun 1999, Clemens Valens wrote: > I looked int 19h up in Gilluwe's "The Undocumented PC..." > (2nd edition) and there it is stated that calling int 19h > is NOT a good way to reboot and one should use the famous > A20 pin. ANY way of rebooting a PC from protected-mode code is ``not a good way''. The DPMI spec explicitly forbids to exit a protected-mode program except by calling function 4Ch of Int 21h from protected mode. But since you need to reboot, you have no choice but doing these not nice things. As far as I know, Int 19h *does* in fact work from DJGPP, van Gilluwe's text notwithstanding. I suggest to try both ways and see which one is best.