Message-Id: <199805090126.VAA05721@hme0.mailrouter01.sprint.ca> Reply-To: From: "Dmitri Ivanenko" To: , "Grzegorz Adam Hankiewicz" Cc: Subject: Re: What's the code to reboot the computer? Date: Fri, 8 May 1998 21:10:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Precedence: bulk > > > > 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 > "); > There's one way to do it in DOS. i.e. debug -nreboot.com -a100 -jmp FFFF:0000 - -RCX -:5 -w -q you will have a file REBOOT.COM which will reboot you system. I would like to know if anything similar possible for windows 3.x or windows95 (This exact file won't work for win95)