delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/16:02:46

Message-ID: <355363BB.2DDF1C8A@sobieski.ml.org>
Date: Fri, 08 May 1998 21:57:47 +0200
From: Archee/CoNTRACT <01dsolt AT sobieski DOT ml DOT org>
Reply-To: soltesz AT hotmail DOT com
Organization: School
MIME-Version: 1.0
To: Grzegorz Adam Hankiewicz <gregorio AT jet DOT es>
CC: djgpp AT delorie DOT com
Subject: Re: What's the code to reboot the computer?
References: <3548deb2 DOT 3331619 AT news DOT jet DOT es>

Grzegorz Adam Hankiewicz wrote:
> 
> Hello.
hello
> 
> I've heard there's some asm code which can reboot the computer.
> Does someone have this code? Is ot possible to choose between a warm
> boot and a cold boot?

Yes, but I dunno, who to do it under DPMI. You can do it in a little com
file.
You put theese bytes in a com:
6a ff 60 00 cb

Or:
cd 19

It will make a warp boot.

I do not know, how to do cold boot, but You can freeze the maschine
well, then
the user have to reboot cold:

__asm__("
 cli
 sucks:
 jmp sucks
 ");

> 
> - Grzegorz Adam Hankiewicz - gregorio AT jet DOT es - http://web.jet.es/gregorio
> - Gogosoftware - http://welcome.to/gogosoftware
archee= Soltesz Peter

- Raw text -


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