Home > Articles > Hardware > Upgrading & Repairing

  • Print
  • + Share This

The BIOS and Standard Devices

The BIOS is a complex piece of firmware ("software on a chip") that provides support for the following devices and features of your system:

  • Selection and configuration of storage devices, such as hard drives, floppy drives, and CD-ROM drives

  • Configuration of main and cache memory

  • Configuration of built-in ports, such as IDE hard disk, floppy disk, serial, parallel, PS/2 mouse, and USB

  • Selection and configuration of special motherboard features, such as memory error correction, antivirus protection, and fast memory access

  • Support for different CPU types, speeds, and special features

  • Support for advanced operating systems, including networks, Windows 9x, and Windows 2000 (Plug and Play)

  • Power management

Storing System Settings

To enable the BIOS to perform these tasks, two other components on the mother- board work with the BIOS: the CMOS chip, also known as the RTC/NVRAM (Real-Time-Clock/Non-Volatile RAM), and the battery. The CMOS stores the settings that you make with the BIOS configuration program and contains the system's Real-Time-Clock circuit. Power from a battery attached to the motherboard is used by the CMOS to keep its settings. Figure 3.1 shows a typical socketed BIOS and battery. The A+ Certification test might ask you to identify these devices on a motherboard and to explain their operation.

Figure 3.1
The CR2032 battery has become the most common removable battery on Pentium-class systems. The Award BIOS label lists support for "586" (Pentium-class) CPUs, PnP (Plug and Play for Windows 95), and PCI slots.

Most recent systems use various models of lithium batteries, which can last from two to five years. Figure 3.2 shows three of the many battery types used on motherboards over the years.

The most common batteries you will see in Pentium-class and newer systems are the DS12887A-type clock/battery chip seen in Figure 3.2 (left) and the CR-2032 lithium battery seen in both Figure 3.1 and Figure 3.2 (center). The AA-size Eternacell in Figure 3.2 on the right was used in many early 286- and 386-based systems made by Zenith Data Systems and others. Knowing that battery types can vary is not as important for the A+ Certification test as it will be for your day-to-day work.

Figure 3.2
The Dallas Semiconductor DS12887A (left) clock/battery chip, CR-2032 lithium battery (center), and the AA-size 3.6 volt Eternacell (right) have all been used in computers for maintaining CMOS settings.

When the battery starts to fail, the clock will start to lose time. Complete battery failure causes the loss of all CMOS configuration information. When this takes place, the system cannot be used until you install a new battery and re-enter all CMOS configuration information by using the CMOS configuration program.

Because the battery maintaining settings can fail at any time, and viruses and power surges can also affect the CMOS configuration, you should record important information before it is lost. See "Saving and Recording BIOS/CMOS Settings," later in this chapter, for details.

POST

The POST (power-on self test) portion of the BIOS allows the BIOS to find and report errors in the computer's hardware. For the POST to work correctly, the system must be configured correctly, as you will see in "System Configuration," later in this chapter.

The POST checks the following parts of the computer:

  • The CPU and the POST ROM portion of the BIOS

  • The system timer

  • Video display card

  • Memory

  • The keyboard

  • The disk drives

The system will stop the boot process if it encounters a serious or fatal error (see the following "Beep Codes" section). During the POST process, the BIOS uses any one of several methods to report problems:

  • Beep codes

  • Onscreen error messages

  • POST error codes

Beep Codes

Beep codes are used by most BIOS versions to indicate either a fatal error or a very serious error. A fatal error is an error that is so serious that the computer cannot continue the boot process. A fatal error would include a problem with the CPU, the POST ROM, the system timer, or memory. The serious error that beep codes report is a problem with your video display card or circuit. Although systems can boot without video, seldom would you want to because you can't see what the system is doing.

Beep codes vary by the BIOS maker. Some companies, such as IBM, Acer, and Compaq, create their own BIOS chips and firmware. However, most other major brands of computers and virtually all "clones" use a BIOS made by one of the "Big Three" BIOS vendors: American Megatrends (AMI), Phoenix Technologies, and Award Software (now owned by Phoenix Technologies).

As you might expect, the beep codes and philosophies used by these three companies vary a great deal. AMI, for example, uses beep codes for over 10 "fatal" errors. It also uses eight beeps to indicate a defective or missing video card. Phoenix uses beep codes for both defects and normal procedures (but has no beep code for a video problem), and the Award BIOS has only a single beep code (one long, two short), indicating a problem with video.

Because beep codes do not report all possible problems during the startup process, you should not rely exclusively on beep codes to solve system problems.

You can hear some typical beep codes by using the CD-ROM included with this book.

Onscreen Error Messages

Most BIOS versions do an excellent job of giving you onscreen error messages indicating what the problem is with the system. These messages can indicate problems with memory, keyboards, hard disk drives, and other components. Some systems document these messages in their manuals, or you can go to the BIOS vendors' Web site for more information. Keep in mind that the system almost always stops after the first error, so a serious problem early in the boot process will stop the system before the video card has been initialized to display error messages.

POST Codes and POST Cards

In Chapter 1, "Basic Concepts," you learned about the different ways data passes through the system. One method, used by virtually all devices, is to send data through one of 65,535 I/O port addresses. The POST also uses an I/O port address (usually 80h), sending a series of codes indicating the progress of testing and booting. The hexadecimal codes output by the BIOS change rapidly during a normal startup process as different milestones in the boot process are reached. These codes provide vital clues about what has gone wrong when your system won't boot and you don't have a beep code or onscreen messages to help you.

To monitor these codes, you need a POST card such as the one shown in Figure 3.3, available from a variety of vendors, including JDR Microdevices (http://www.jdr.com) or Jensen Tools (http://www.jensentools.com). These cards are available in versions that plug into either ISA or PCI expansion slots. The simplest ones have a two-digit LED area that displays the hex codes, whereas more complicated (and expensive) models also have additional built-in tests.

The same hex code has different meanings to different BIOSes. For example, POST code 31h means "display (video) memory read/write test" on an AMI BIOS, but it means "test base and extended memory" on the Award BIOS, and it is not used on Phoenix BIOS. As with other types of error messages, check your manual or the BIOS maker's Web site for the meaning of any given code.

Figure 3.3
The Ultra-X PC Inspector card features POST display (1), DMA conflict detection (2), and IRQ conflict detection (3) among its many features.

The best way to learn to use a POST card is to plug it into a healthy system and watch the codes change during a normal system startup. Typically, the codes change very quickly until the final code (often "FF") is reached and the system starts. On a defective system, the codes will pause or stop when a defective item on the system is tested. The cards remove easily and need not be left in systems routinely.

To prepare yourself for the A+ Certification exam, make sure you can identify the three different methods computers use for identifying errors (beep codes, onscreen codes, and POST codes) and when each method is most appropriate for discovering why a computer cannot boot.

Transferring Control to the Operating System with the Bootstrap Loader

During the POST, drives and other standard devices have been detected. Frequently, information about the CPU, hard disk, floppy disk drive, memory size and type, and ports are displayed onscreen at the end of the POST (see Figure 3.4).

Figure 3.4
A typical Pentium-based system configuration screen displayed on system startup. Use this information for a quick view of the system's features, including CPU type and speed, RAM size and type, drive configuration, and more.

Next, the BIOS searches for an operating system on the drives listed in the BIOS configuration as bootable drives. The first drive containing an operating system will be used to start the computer, and at that point the BIOS transfers control of most of the computer to the operating system. The portion of the BIOS responsible for starting the system is called the bootstrap loader (from the old expression "pulling yourself up by your bootstraps").

For a more detailed look at how the startup process works after the BIOS locates the operating system, see Upgrading and Repairing PCs, 12th Edition, Chapter 25, "The Hardware Boot Process."

Warm and Cold Booting

A cold boot or hard boot refers to starting the computer with the power or reset switch, which runs the entire POST and bootstrap process. A warm boot or soft boot skips the POST and refers to restarting the computer with the MS-DOS Ctrl+Alt+Del key sequence or the Windows 9x/2000 Start, Shutdown, Restart menu. Figure 3.5 shows a typical screen displayed during a cold boot.

Figure 3.5
The screen during a cold boot. Note the memory test at the upper-left side.

On an MS-DOS–based system whose hard disk and floppy disk drives are connected to the motherboard, the BIOS is used to operate the drives. However, for systems using Windows 95 and newer, device drivers are loaded by the operating system to replace the BIOS. Still, without the BIOS, the system would not know what hardware was onboard or whether it was working.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020