Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!excelan!jeffs From: jeffs@ka.excelan.com (Jeff Seideman) Newsgroups: comp.sys.ibm.pc Subject: System boot Keywords: warm boot cold boot Message-ID: <955@excelan.COM> Date: 11 Jan 90 21:52:13 GMT Sender: news@excelan.COM Organization: Novell, San Jose CA. Lines: 20 For all you who requested the magic code for warm/cold booting your PC from software, here it be: int (far *reboot)() = (int(far *)())0xFFFF0000; void main() { unsigned far *warm; warm = 0x472; *warm = 0x1234; (*reboot)(); } Note that if you set *warm to any other value it should do a cold boot. __________________________________________________________________________ | ...these clouds stick to the sky | | | like a floating question why. | | | and they linger there to die. | Jeff Seideman | | They don't know where they're going | | | and my friend neither do I... | | --------------------------------------------------------------------------