delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/21:25:59

Message-Id: <199805090126.VAA05721@hme0.mailrouter01.sprint.ca>
Reply-To: <alicdima AT sprint DOT ca>
From: "Dmitri Ivanenko" <alicdima AT sprint DOT ca>
To: <soltesz AT hotmail DOT com>, "Grzegorz Adam Hankiewicz" <gregorio AT jet DOT es>
Cc: <djgpp AT delorie DOT com>
Subject: Re: What's the code to reboot the computer?
Date: Fri, 8 May 1998 21:10:42 -0400
MIME-Version: 1.0

> > 
> > 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
-<PRESS ENTER>
-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)

- Raw text -


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