Seting the "booting time" by program (PC autobooting)

BIOS Questions that don't belong in the other forums. Read them!
Post Reply
ScheenSingen
New visitors - please read the rules.
Posts: 5
Joined: Sat Dec 24, 2011 4:51 pm

Sat Dec 24, 2011 5:06 pm

Hello,

In the Bios I can set the time (and date) manually
so that the Computer boots automatically at the desired time.

I am a Visual Basic Programmer. -Is it possibble to set the Boot-time
and Boot-date by a self written WinXP program?

My motherboard is an ASUS A7V-E with Award BIOS (WinXP).
cp
BIOS Guru
Posts: 1914
Joined: Mon Oct 21, 2002 9:07 pm
Location: Germany

Sat Dec 31, 2011 4:27 pm

you can use port 70/71 to access the cmos. you can set the alarm to let the computer wakeup (but only if the bios is set to wakeup by alarm). useful information can be found here.
If you email me include [WIMSBIOS] in the subject.
ScheenSingen
New visitors - please read the rules.
Posts: 5
Joined: Sat Dec 24, 2011 4:51 pm

Mon Jan 02, 2012 2:58 pm

Thanks for the info. I found
a download
http://www.planetsourcecode.com/upload_ ... 652000.zip
containing a zip file called "cmos.zip". The zip file contains "cmos.exe" and when running cmos.exe
it creates (in the same directory) the file "cmos.dat". When opening "cmos. dat" with notepad,
there are 128 lines, and each line contains one Byte of the cmos chip.

01. Byte: Current Second
02. Byte: ( ( * Second Alarm * ) )
03. Byte: Current Minute
04. Byte: ( ( * Minute Alarm * ) )
05. Byte: Current Hour
06. Byte: ( ( * Hour Alarm * ) )
07. Byte: Day of the Week
08. Byte: Day of the Month
09. Byte: Month
10. Byte: Year (00-99)
...
128. (128 is the highest)

These 128 Byte are described here ...
http://myweb.cableone.net/benlunt/cmosinfo.htm

When I set the "booting time" in the bios, my pc boots at the
desired time, but
byte nr.2 (Second Alarm)
byte nr.4 (Minute Alarm) and
byte nr.6 (Hour Alarm)
are always "0".

My motherboard is an ASUS A7V-E with Award BIOS.
At which address does Award store the Second Alarm, Minute Alarm
and Hour Alarm info?
cp
BIOS Guru
Posts: 1914
Joined: Mon Oct 21, 2002 9:07 pm
Location: Germany

Fri Jan 06, 2012 8:01 pm

what about change-read back-compare to find out where Asus stores the information you need?

you can always find useful hints over here at coreboot.org.
If you email me include [WIMSBIOS] in the subject.
ScheenSingen
New visitors - please read the rules.
Posts: 5
Joined: Sat Dec 24, 2011 4:51 pm

Mon Jan 09, 2012 3:40 pm

I have found a better program, now.
It's called "CmosInfo.exe". Download here (369kB):
http://wayback.archive.org/web/*/http:/ ... osinfo.zip
With this tool it is possible to manipulate the (512 byte) Cmos-Ram and set the boot
time of the computer.

As described here ...
http://myweb.cableone.net/benlunt/cmosinfo.htm
...i set the byte for the booting-Hour (Byte 05h) and the byte for the booting-Minute (Byte 03h).


Byte / Purpose :
00h Current Second
01h Second Alarm
02h Current Minute
03h Minute Alarm
04h Current Hour
05h Hour Alarm

...and normally the computer should boot to the desired time
(additionally in my AWARD bios under "Power Up Control" the booting period was set to "everyday").
-But the computer didn't boot to the desired time.

As the computer didn't boot to the desired time, I glanced at the bios settings
and the booting-Minute and the booting-Hour was changed as I had changed it
with the windows program "cmosinfo.exe"

But finally without success. -Why didn't the PC boot to the desired time?
Post Reply