Article View: comp.os.msdos.programmer
Article #4356Re: rebooting by a command, not by Ctrl-Alt-del or power off/on
From: MHR {who?}
Date: Mon, 21 Jan 1991 19:20
Date: Mon, 21 Jan 1991 19:20
40 lines
2036 bytes
2036 bytes
In <1991Jan18.234616.18063@ncsuvx.ncsu.edu>, bank@lea.ncsu.edu writes: > In article <1991Jan10.013850.3506@cubmol.bio.columbia.edu> ping@cubmol.bio.columbia.edu (Shiping Zhang) writes: > >I'm not sure if this group is the right one for my question. I want to > >know how to reboot an IBM pc not by Ctrl-Alt-del, power off/on, or > >pressing the reset button methods. In other words, is there a command > >I can issue to reboot the machine, or is there way to write a command > >in C to reboot the machine. Thanks for any information. > > > >-ping ping@cubmol.bio.columbia.edu (128.59.128.3) > > Dave the DM > bank@lea.csc.ncsu.edu Here is the assembly language code for both warm and cold boot simulators. I trust that translating into C wouldn't be too difficult for your particular compiler.... warm boot: MOV AX,0040 MOV DS,AX MOV AX,1234 MOV [0072],AX JMP FFFF:0000 cold boot: JMP FFFF:0000 This was posted not so long ago to one of these comp.os.msdos.* news groups (thank you, whoever originally posted it) and I have both assembled into .COM files, and they work. You can even construct them using DEBUG, if you know how (remember to set the CX register before writing). Have a nice day :-) ! -- Mark A. Hull-Richter UUCP: ccicpg!mhr Clever remark stolen from ICL North America InterNet: [coming soon] another netter: 9801 Muirlands Blvd Go ahead, flame me. I have Irvine, CA 92713 (714)458-7282x4539 a /dev/null on my machine.
Technical Details
Message-ID:
<12503@ccicpg.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!ccicpg!mhrReferences:
<1991Jan10.013850.3506@cubmol.bio.columbia.edu> <1991Jan18.234616.18063@ncsuvx.ncsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!ccicpg!mhr
From: mhr@ccicpg.UUCP (MHR {who?})
Newsgroups: comp.os.msdos.programmer
Subject: Re: rebooting by a command, not by Ctrl-Alt-del or power off/on
Summary: Was already posted, but here it is again.
Message-ID: <12503@ccicpg.UUCP>
Date: 21 Jan 91 19:20:49 GMT
References: <1991Jan10.013850.3506@cubmol.bio.columbia.edu> <1991Jan18.234616.18063@ncsuvx.ncsu.edu>
Organization: ICL North America
Lines: 40