Solved

Warm/Cold Reset

Posted on 2004-08-26
6
697 Views
Last Modified: 2006-11-17
Depending upon the type of reset (Warm/Cold), the OS writes perticular code at a fixed address. I am not getting information about that address. I need to know (once PC is up), was it a warm reset or a cold reset?  How to siove this issue? Note that i am working on DOS os.

Dhaval

0
Comment
Question by:dhavalshah
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
For-Soft earned 25 total points
Comment Utility
You can try to check status of two BIOS variables 40h:15h and 40h:16h.
POST uses those variables. In case of cold boot post will change those variables. If you put some value in them POST should change them.

In theory those variables are unused after POST, but some BIOSes can use them in another way.
0
 
LVL 11

Assisted Solution

by:dimitry
dimitry earned 25 total points
Comment Utility
Bios Area: 40h:0072h  Size: 2bytes
  1234H means Ctrl+Alt+Del reboot is in progress.  BIOS checks  this to avoid doing a "cold boot" with the time-consuming POST
  4321H means reset, preserving memory, 5678H, 9abcH, and abcdH (are internal PC Convertible codes)

However, as For-Soft mentioned, different BIOSes can behave realy different....
0
 
LVL 10

Expert Comment

by:For-Soft
Comment Utility
The 40h:72h variable is to set what action BIOS should take when CTRL+ALT+DEL is used. It will not contain an information about how PC was boot.
With this variable we can tell BIOS what to do if CTRL+ALT+DEL is pressed.
0
 
LVL 9

Expert Comment

by:gtkfreak
Comment Utility
INT 19h can be used to warm boot the system.
U can create dummy.com using debug.exe / debug.com and key in the bytes CD and 19
Then save your file
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now