Date: Mon, 24 Jan 2000 09:18:52 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Yong-Kwang Goh cc: djgpp AT delorie DOT com Subject: Re: Saving CMOS to File In-Reply-To: <86em9b$e9c$1@mango.singnet.com.sg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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? You access the CMOS by reading port 71h. Before reading, you need to disable all interrupts and the NMI, and write to port 70h the number of the CMOS register you want to access. I suggest to consult a good book for the details. For example, "The Undocumented PC" by Frank van Gilluwe has an entire chapter on reading the CMOS.