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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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