Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!peregrine!elroy!ames!amdahl!pyramid!prls!philabs!ttidca!svirsky From: svirsky@ttidca.TTI.COM (William Svirsky) Newsgroups: comp.sys.ibm.pc Subject: Re: reboot program Message-ID: <3043@ttidca.TTI.COM> Date: 12 Aug 88 18:53:32 GMT Article-I.D.: ttidca.3043 References: <1355@bingvaxu.cc.binghamton.edu> Reply-To: svirsky@ttidcc.tti.com (William Svirsky) Distribution: na Organization: Citicorp/TTI, Santa Monica Lines: 53 In article <1355@bingvaxu.cc.binghamton.edu> vu0112@bingvaxu.cc.binghamton.edu (Cliff Joslyn) writes: > >Could someone please mail me C source for a warm boot program, or tell >me how to roll my own? I assume it's easy enough to do. > Posted earlier this year: From: wtm@neoucom.UUCP (Bill Mayhew) Subject: Re: ???=>reBoot from a batch file????? Summary: The BIOS warm boot magic-cookie trick If you jump into the the BIOS with location 0040:0072H set to the magic quatity of 1234H, and jump to the entry point of the BIOS, the system will perform a warm boot (i.e., no power-on self-test, etc.). Putting anything else in that memory location will force a cold boot. You can use DEBUG to enter the following sequence and save the result as WARMBOOT.COM: The blank line in the script below is necessary to get out of assemble mode! ---------------------- cut here ------------------------- a 0 mov ax,0040 mov ds,ax mov ax,1234 mov [0072],ax jmp f000:fff0 r cx 16 n warmboot.com w q ---------------------- end of script --------------------- Clip the above section out and save it in a text file. Then, redirect the text file into DEBUG thusly: debug < file.txt. This will automatically feed the commands in and create warmboot.com. Of course, you can always type the same sequence manually from your keyboard. INT 19H is brain damaged on most clone computers. I've yet to find a machine that the above method won't work on. --Bill wtm@neouocm.UUCP -- Bill Svirsky, Citicorp+TTI, 3100 Ocean Park Blvd., Santa Monica, CA 90405 Work phone: 213-450-9111 x2597 svirsky@ttidca.tti.com | ...!{csun,psivax,rdlvax,retix}!ttidca!svirsky