delorie.com/archives/browse.cgi | search |
Date: | Mon, 24 Jan 2000 23:16:24 +0500 (MVT) |
From: | Prashant TR <prashant_tr AT yahoo DOT com> |
To: | Yong-Kwang Goh <ykgoh1 AT singnet DOT com DOT sg> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Saving CMOS to File |
In-Reply-To: | <86em9b$e9c$1@mango.singnet.com.sg> |
Message-ID: | <Pine.LNX.4.10.10001242314490.552-100000@yahoo.com> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | dj-admin AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sun, 23 Jan 2000, Yong-Kwang Goh wrote: > How do I save the contents of CMOS to file? In other word, how do I access > the CMOS memory's contents? outportb(0x70, ram address); // CMOS RAM address can be from 0 to 127. inportb(0x71);// Gets you the byte at that address. Doing outportb(0x71, value) will write to the CMOS byte. Be careful while doing this!
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |