Mail Archives: djgpp/1998/05/08/21:25:59
> >
> > 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 -