Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!cs.umu.se!dvlsan From: dvlsan@gimli.cs.umu.se (Stefan Andersson) Newsgroups: comp.os.msdos.programmer Subject: Re: Rebooting by command Message-ID: <1991Jan10.201311.28327@cs.umu.se> Date: 10 Jan 91 20:13:11 GMT Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 27 Originator: dvlsan@gimli.cs.umu.se This is an adaption of a method I saw on the net some time ago. What we want to do is to write the magic number 1234h at adress 40:72, and then do a (far) jump to adress ffff:0. A simple way of doing this is by using DOS debug, a data file (RB.DAT) and a batch file (RB.BAT): >>> RB.BAT ------ cut here ------ @ECHO OFF DEBUG < RB.DAT > NUL ------ cut again ------ >>> RB.DAT ------ cut here ------ E 40:72 34 12 G=FFFF:0 ------ cut again ------ If you for some reason want to do the POST, you only need the G=FFFF:0 line in RB.DAT, as this will surely result in wrong magic number thereby fooling the routine into thinking that a cold boot is in progress. The Gurus says that it ought to work. So far it hasn't failed me. Share and enjoy. -Stefan