home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!caen!destroyer!ais.org!draper
- From: draper@ais.org (Patrick Draper)
- Subject: Re: Reading PC CMOS using Borland C
- Message-ID: <BtnyoB.7CE@ais.org>
- Keywords: CMOS C
- Organization: UMCC
- References: <$dougn.8.0@sasb.byu.edu>
- Date: Thu, 27 Aug 1992 22:33:45 GMT
- Lines: 32
-
- In article <$dougn.8.0@sasb.byu.edu> $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) writes:
- >Hello
- >
- >I posted this earlier, but asked the wrong question--my appologies to those
- >that read it...here's the real thing:
- >
- >I am using Borland C and trying to read the CMOS in my PC. Does anyone have
- >any experience doing this? Do I need to read from a port? Any hints or
- >help would be very welcome.
- >
- >Thanks
- >
- >___
- >Douglas R. Nebeker Internet: $dougn@sasb.byu.edu
- >Brigham Young University
- >SAS Computer Support
-
- One thing that helps is to put extra intructions in the code to take up
- time. The CMOS is read by sending data out a port, then reading aonther
- port. Right after you send the first byte out your port, delay a couple
- milliseconds to let things settle down in the hardware, then go ahead and do
- your read.
-
- Ahhhhhh! The things that just aren't written in books will astound you!
-
-
- ------------------////////////////////\\\\\\\\\\\\\\\\\\\\------------------
- | Patrick Draper Disclaimer: I can't control my fingers, |
- | draper@umcc.ais.org I can't control my toes! - Ramones |
- | University of Michigan |
- | Computer Club We are a nation of laws, not people |
- ------------------\\\\\\\\\\\\\\\\\\\\////////////////////------------------
-