delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/22/17:18:02

Newsgroups: comp.os.msdos.djgpp
Date: Wed, 22 Oct 1997 23:15:31 +0200 (IST)
From: Genady Beryozkin <c0467082 AT techst02 DOT technion DOT ac DOT il>
To: Michael Witt <sugarjak AT thepoint DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: cold reboot
In-Reply-To: <Pine.BSF.3.91.971016102357.12886B-100000@mercury.thepoint.net>
Message-ID: <Pine.GSO.3.95.971022231355.17950D-100000@techst02.technion.ac.il>
References: <Pine DOT BSF DOT 3 DOT 91 DOT 971016102357 DOT 12886B-100000 AT mercury DOT thepoint DOT net>
MIME-Version: 1.0

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.

- Raw text -


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