Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PC Power-ON Wake-up from Clock BIOS

3 views
Skip to first unread message

TA.forum

unread,
May 1, 2005, 7:34:44 AM5/1/05
to
Hello,

I would like to use ALARM Function of the internal Bios CLOCK Calendar.
This works well manually with BIOS SETUP ALARM CLOCK.

How can I do from a Window Application to configure CALENDAR Registers to
fix an Alarm Hour ?

Ideas ? APIs functions ?
Thanks

Thierry

Slobodan Brcin (eMVP)

unread,
May 1, 2005, 2:54:24 PM5/1/05
to
Hi,

You should try some better NG that relate to driver and system programming.
Basically you will need one driver that you can use to gain access to In Out
functions. Then your application can communicate with that driver.

There are general purpose drivers that allow you to access ports trough them
from user mode, or you can write your simple driver.

One question for you though.
Do you know how to change these settings from pure DOS trough IO
instructions? Each BIOS is unique.

Regards,
Slobodan

"TA.forum" <ta.forum...@free.fr> wrote in message
news:unOA7GkT...@TK2MSFTNGP15.phx.gbl...

KM

unread,
May 2, 2005, 2:26:23 AM5/2/05
to
> One question for you though.
> Do you know how to change these settings from pure DOS trough IO instructions? Each BIOS is unique.

Although it is true some common (standard) thing should be supported. Like INT 1A for setting up CMOS Alarm (AT,XT286,PS).
Also, doing "OUT 70h" port to some CMOS registers may give some clues but would still require reading docs.
http://members.tripod.com/~oldboard/assembly/cmos_ram.html

KM

TA.forum

unread,
May 5, 2005, 4:26:36 AM5/5/05
to
Hi,
and thanks for this register map !
Now, how can I write into these registers from a Windows XP application ?
Win API ? Which one ?
Windows intercepts direct IO writes...

Best regards
Thierry

"KM" <konstmor@nospam_yahoo.com> a écrit dans le message de news:
uLAAr$tTFHA...@tk2msftngp13.phx.gbl...

Slobodan Brcin (eMVP)

unread,
May 5, 2005, 4:38:03 AM5/5/05
to
TA,

This is why I asked you these questions before.

MS Win32 API won't let you to access IO registers so you must write your own
driver (theey have direct access) or use third-party driver that allow you
to access io ports.
For instance:
http://zealsoftstudio.com/ntport/index.html

Regards,
Slobodan

"TA.forum" <ta.forum...@free.fr> wrote in message

news:ugJghwU...@tk2msftngp13.phx.gbl...

TA.forum

unread,
May 7, 2005, 5:08:32 AM5/7/05
to
Hi,

Thaks a lot for this URL !
I download it and try my ideas (access to cmos clock registers)...
Best regards !
Thierry

"Slobodan Brcin (eMVP)" <sbr...@ptt.yu> a écrit dans le message de news:
OjG$O3UUF...@TK2MSFTNGP10.phx.gbl...

KM

unread,
May 7, 2005, 4:11:43 PM5/7/05
to
TA,

Search net for DirectIO. AFAIK, it has even been componentized for XPe (check www.xpefiles.com).

KM

0 new messages