Mail Archives: djgpp/1999/06/16/03:45:24
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.
- Raw text -