Xref: utzoo comp.sys.ibm.pc:26437 comp.sources.wanted:6813 Path: utzoo!attcan!uunet!lll-winken!ames!ucsd!nprdc!malloy From: malloy@nprdc.arpa (Sean Malloy) Newsgroups: comp.sys.ibm.pc,comp.sources.wanted Subject: Re: Is it possible to re-boot a PC from a program ? Keywords: reboot.exe Message-ID: <1654@skinner.nprdc.arpa> Date: 22 Mar 89 23:38:03 GMT References: <830@psueea.UUCP> <375@rruxd.UUCP> Reply-To: malloy@nprdc.arpa (Sean Malloy) Distribution: na Organization: Navy Personnel R&D Center, San Diego Lines: 47 In article <375@rruxd.UUCP> wws@rruxd.UUCP (W W Scott) writes: >In article <830@psueea.UUCP>, alexc@psu-cs.cs.pdx.edu (Alex Chan) writes: >> >> Is it possible to write a program to reboot a PC ? >> ( I mean a " cold boot " with memory check. ) and how >> could I do it ? >> >> If someone have the binary or the sources for such >> program " reboot " program, could you please e-mail >> to me. Thank you in advance. > >Please mail the source to me also. I got this out of the MSDOS archives at SIMTEL20: > > From: hplabs!hpcea!hpfcdc!hpldola!hp-lsd!nmsu-ee!rusty (Rusty Baldwin) > Newsgroups: comp.sys.ibm.pc > Subject: Re: how do i do a pc warm boot from software? > Date: 7 Oct 87 22:00:50 GMT > > The following are two short routines to do a warm or a coldboot. > Hope they help you out. > > > COLDBOOT: > 70A2:0100 BA4000 MOV DX,0040 > 70A2:0103 8EDA MOV DS,DX > 70A2:0105 BB7200 MOV BX,0072 > 70A2:0108 C7070000 MOV WORD PTR [BX],0000 > 70A2:010C EA0000FFFF JMP FFFF:0000 > > WARMBOOT: > 70A2:0100 BA4000 MOV DX,0040 > 70A2:0103 8EDA MOV DS,DX > 70A2:0105 BB7200 MOV BX,0072 > 70A2:0108 C7073412 MOV WORD PTR [BX],1234 > 70A2:010C EA0000FFFF JMP FFFF:0000 > > > Rusty Baldwin > nmsu-ee!rusty Sean Malloy Navy Personnel Research & Development Center San Diego, CA 92152-6800 malloy@nprdc.navy.mil