Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!sun-barr!ames!elroy!peregrine!ccicpg!zardoz!dhw68k!arcturus!mitch From: mitch@arcturus.UUCP (Mitchell S. Gorman) Newsgroups: comp.sys.ibm.pc Subject: Re: Warm Boot Summary: Something I just did... Message-ID: <4919@arcturus> Date: 5 Jun 89 15:35:08 GMT References: <2263@valhalla.ee.rochester.edu> Organization: Rockwell International, Anaheim, CA Lines: 32 In article <2263@valhalla.ee.rochester.edu>, ang@valhalla.ee.rochester.edu writes: > Does anybody know of a public domain program that would do a > warm-boot without clearing memory? This is a rather common question in this .group, so I figgered I'd answer it in public view (expose myself, as it were! :^). I was working this weekend on an application, and discovered that TP5.0's PRINTER unit is incompatible with the print spooler I use (if YOU were stuck with an MX-80, YOU'D use a print spooler, too!!). What I needed was a way to reboot the PC using a secondary AUTOEXEC file, because I really wasn't interested in having the thing prompt me everytime I turned it on as to whether or not I wanted the spooler loaded. Anyway, I wrote a batch file that would set up the auxiliary autoexec, and then run a little program I wrote for rebooting. What the program does is change memory address $40:$17 (the keyboard toggle keys status word) to show that CTRL and ALT had been hit. Then the program throws a prompt on the screen that says "If ya wanna reboot, hit the DEL key. Any other key resets.", any waits for keyboard input. If you DO hit the delete key, the sucker reboots. If not, the next line in the code resets the status word. It's quick. It's easy. And it gives you the chance to chicken out. It also makes warm-reboots a one-handed operation, which I like 'cause I'm lazy!! :^) "Just thought you'd like to know." Mitch @ Rockwell, Anaheim Disclaimer: I do have a 101-key keyboard, but I hate the awkward way I have to scrunch my hand up to do a one-handed CTRL-ALT-DEL!