Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.
Take a virtual vacation any time at DesktopScenes.com - view my art photos online for FREE in either Flash or HTML!

[ The PC Guide | Systems and Components Reference Guide | Motherboard and System Devices | System BIOS | BIOS Components and Features ]

BIOS CMOS Memory

The BIOS settings that you use to control how your PC works must be saved in non-volatile memory so that they are preserved even when the machine is off. This is as opposed to regular system memory, which is cleared each time you turn off the PC. A special type of memory is used to store this information, called CMOS memory, and a very small battery is used to trickle a small charge to it to make sure that the data it holds is always preserved. These memories are very small, typically 64 bytes, and the batteries that they use typically last for years. This non-volatile memory is sometimes called NVRAM.

CMOS stands for "Complementary Metal Oxide Semiconductor". This is one type of technology used to make semiconductors (integrated circuits) such as processors, chipset chips, DRAM, etc. CMOS has the advantage of requiring very little power, compared to some other semiconductor technologies. This is why it was chosen for this use, so that the amount of power required from the battery would be minimal, and the battery would be able to last a long time. This memory came to be called just "CMOS" since in the early days most parts of the computer did not use CMOS. Ironically, with today's processors having to do more and more and needing to do it with lower power consumption, they themselves are typically made entirely with CMOS technology. However, "CMOS" by itself usually still refers to the BIOS settings memory. Old habits die hard in the computer world.

The system uses something called a CMOS checksum as an error-detecting code. Each time you change the BIOS settings, the checksum is generated by adding together all the bytes in the CMOS memory and then storing the lowest byte of the sum. Then, each time the system booted, the system recomputes the checksum and compares it to the stored value. If they are different, then the system knows that the CMOS has been corrupted somehow and will warn you with an error, typically something like "CMOS Checksum Error".

There are many different types of batteries used to power the CMOS; mostly, these have changed over time as technology has evolved. These batteries are discussed here. You will not normally have to deal with the CMOS memory directly; it holds the settings you enter in the BIOS setup program. Over time, it is possible you will have CMOS problems; for example, you may find that the machine may begin to forget its settings when it is booted. These are usually signs of trouble with the motherboard battery.

In addition to the standard CMOS memory used to hold system settings, Plug and Play BIOSes use an additional non-volatile memory to hold extended system configuration data (ESCD). This is used to record the resource configurations of system devices when Plug and Play is used.

Next: BIOS Updates and The Flash BIOS


Home  -  Search  -  Topics  -  Up

The PC Guide (http://www.PCGuide.com)
Site Version: 2.2.0 - Version Date: April 17, 2001
Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.

Not responsible for any loss resulting from the use of this site.
Please read the Site Guide before using this material.
Custom Search