🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3106

Windows XP: reading and writing to CMOS RAM

#3106
From: Simon Elliott
Date: Thu, 05 Oct 2006 19:46
15 lines
1375 bytes
Hi

I want to read and write to the CMOS RAM where the BIOS parameters are
held. Should I use a port I/O driver and access port 0x70 and 0x71 or
is there a better way? (I'm aware Windows XP maintains a memory map of
this area but as far as I know this is only a shadow of the CMOS RAM
and changing it doesn't actually write bytes to the CMOS RAM.)

Can anyone point to any info on this, and on recalculating the CMOS
checksum once I've written some bytes to the CMOS?

TIA!

-- 
Simon Elliott    http://www.ctsn.co.uk
Technical Details
Message-ID: <4525612a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,64fe7a8041ce38b5,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Simon Elliott" <Simon at ctsn.co.uk>
Subject: Windows XP: reading and writing to CMOS RAM
Newsgroups: borland.public.cppbuilder.nativeapi
Reply-To: "Simon Elliott" <News at ctsn.co.uk>
User-Agent: XanaNews/1.17.4.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 82.152.41.49
Message-ID: <4525612a$1@newsgroups.borland.com>
Date: 5 Oct 2006 12:46:50 -0700
X-Trace: newsgroups.borland.com 1160077610 82.152.41.49 (5 Oct 2006 12:46:50 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail