Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!columbia!heathcliff!alvidrez From: alvidrez@heathcliff (Jeff Alvidrez) Newsgroups: comp.sys.ibm.pc Subject: Re: reboot program Message-ID: <5816@columbia.edu> Date: 10 Aug 88 23:18:29 GMT References: <1355@bingvaxu.cc.binghamton.edu> <11823@steinmetz.ge.com> Sender: news@columbia.edu Reply-To: alvidrez@heathcliff.UUCP (Jeff Alvidrez) Distribution: na Organization: Yoyodyne Industries Lines: 36 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. > I noticed that a lot of people followed up with a COLD boot program, while the request was for a WARM boot program. I assume that by warm boot you mean that you do not want to go through the POST (Power On Self Test) process, so you should use the bootstrap interrupt: #includemain() { geninterrupt(0x19); } In Turbo C; I assume MSC has a similar macro. If you know MASM then you can avoid all the C program initialization code and generate a 2 byte .COM file. I am not sure if Turbo C's Tiny memory model achieves the same thing. /jra -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Jeff Alvidrez alvidrez@heathcliff.cs.columbia.edu The opinions expressed in this article are fictional. Any resemblence they may bear to real opinions (especially those of Columbia University) is purely coincidental. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-