Newsgroups: comp.os.msdos.djgpp Date: Wed, 22 Oct 1997 23:15:31 +0200 (IST) From: Genady Beryozkin To: Michael Witt cc: djgpp AT delorie DOT com Subject: Re: cold reboot In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 16 Oct 1997, Michael Witt wrote: > could someone please give me some assistance on causing a cold reboot in > a program. I have read the Interrupt list and it appears that I need to > pass 0000h to 0040h:0072h and then jump to FFFFh:0000h. I have tried > several approaches to following this procedure but have had no luck. I > have even tried to use inline asm but this just seemed to wig out my > machine (obviously user error). Any help would be greatly appreciated. > > I used to cold boot by outportb(0x60,0xFF); mov al,0FFH out 060H,al if it doesn't work try sending 0xFE or sending to port 0x64 or both. Genady *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | Genady Beryozkin, c0467082 AT t2 DOT technion DOT ac DOT il | * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * | Homepage : http://t2.technion.ac.il/~c0467082 | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Fair is foul, and foul is fair. Hover through the fog and filthy air.