home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!uoft02.utoledo.edu!jupiter!billp
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: Reboot from protected mode
- Message-ID: <1992Jul29.221323.9051@uoft02.utoledo.edu>
- From: billp@jupiter.cse.utoledo.edu (bill parquet)
- Date: 29 Jul 92 22:13:22 EST
- References: <sankey.711008151@unixg.ubc.ca>
- Nntp-Posting-Host: jupiter.cse.utoledo.edu
- Lines: 15
-
- sankey@unixg.ubc.ca (Todd Sankey) writes:
- : Does anyone have a description or code snippet or anything to
- : describe how to reboot the PC from protected mode?
-
- Rebooting and kicking the computer out of protected mode are pretty similar.
-
- To reboot just do: mov al,0feh
- out 64h, al
-
- (It seems to be 100% effective on my 286, but it sometimes causes my 486
- to crash). To get out of protected mode, there's a few outs to the CMOS
- before the big fe->64 to kind of give the bios a resume command. I don't
- know what they are off the top of my head. (BTW You might want to
- HLT, jump back to the halt after that... It seems like overkill, but the
- BIOS does it!)
-