Close

Register Now!

To Get More Info and Daily Reward.

Please login or register.
Pages: [1]   Go Down

Author Topic: BIOS. What it is, and all you need to know  (Read 32524 times)

0 Members and 1 Guest are viewing this topic.

StuTopic starter

  • GENERAL OF THE ARMY
  • ******
  • Offline Offline
  • Posts: 19551
  • Birmingham, UK
    • StuOnline.co.uk

What is a BIOS?

BIOS is an acronym for Basic Input / Output System. On virtually every computer available, the BIOS makes sure all the other chips, hard drives, ports and CPU function together.

What BIOS Does

The BIOS software has a number of different roles, but its most important role is to load the operating system. When you turn on your computer and the microprocessor tries to execute its first instruction, it has to get that instruction from somewhere. It cannot get it from the operating system because the operating system is located on a hard disk, and the microprocessor cannot get to it without some instructions that tell it how. The BIOS provides those instructions. Some of the other common tasks that the BIOS performs include:
   
  • A power-on self-test (POST) for all of the different hardware components in the system to make sure everything is working properly


   
  • Activating other BIOS chips on different cards installed in the computer - For example, SCSI and graphics cards often have their own BIOS chips.


   
  • Providing a set of low-level routines that the operating system uses to interface to different hardware devices - It is these routines that give the BIOS its name. They manage things like the keyboard, the screen, and the serial and parallel ports, especially when the computer is booting.


   
  • Managing a collection of settings for the hard disks, clock, etc.


The BIOS is special software that interfaces the major hardware components of your computer with the operating system. It is usually stored on a Flash memory chip on the motherboard, but sometimes the chip is another type of ROM.

When you turn on your computer, the BIOS does several things. This is its usual sequence:

   1. Check the CMOS Setup for custom settings
   2. Load the interrupt handlers and device drivers
   3. Initialize registers and power management
   4. Perform the power-on self-test (POST)
   5. Display system settings
   6. Determine which devices are bootable
   7. Initiate the bootstrap sequence

The first thing the BIOS does is check the information stored in a tiny (64 bytes) amount of RAM located on a complementary metal oxide semiconductor (CMOS) chip. The CMOS Setup provides detailed information particular to your system and can be altered as your system changes. The BIOS uses this information to modify or supplement its default programming as needed.

Interrupt handlers are small pieces of software that act as translators between the hardware components and the operating system. For example, when you press a key on your keyboard, the signal is sent to the keyboard interrupt handler, which tells the CPU what it is and passes it on to the operating system. The device drivers are other pieces of software that identify the base hardware components such as keyboard, mouse, hard drive and floppy drive. Since the BIOS is constantly intercepting signals to and from the hardware, it is usually copied, or shadowed, into RAM to run faster.

Booting the Computer

Whenever you turn on your computer, the first thing you see is the BIOS software doing its thing, which is the Power On Self Test, shortened to POST. On many machines, the BIOS displays text describing things like the amount of memory installed in your computer, the type of hard disk and so on. It turns out that, during this boot sequence, the BIOS is doing a remarkable amount of work to get your computer ready to run.

On some systems, instead of seeing this POST screen, you may just see a 'BIOS logo' screen instead. You can usually press the Tab key to switch to the POST view, or you can turn off the BIOS logo in your BIOS settings.

After checking the CMOS Setup and loading the interrupt handlers, the BIOS determines whether the video card is operational. Most video cards have a miniature BIOS of their own that initializes the memory and graphics processor on the card. If they do not, there is usually video driver information on another ROM on the motherboard that the BIOS can load.

Next, the BIOS checks to see if this is a cold boot or a reboot. It does this by checking the value at memory address 0000:0472. A value of 1234h indicates a reboot, and the BIOS skips the rest of POST. Anything else is considered a cold boot.

If it is a cold boot, the BIOS verifies RAM by performing a read/write test of each memory address. It checks the PS/2 ports or USB ports for a keyboard and a mouse. It looks for a peripheral component interconnect (PCI) bus and, if it finds one, checks all the PCI cards. If the BIOS finds any errors during the POST, it will notify you by a series of beeps or a text message displayed on the screen. An error at this point is almost always a hardware problem.

The BIOS then displays some details about your system. This typically includes information about:
   
  • The processor

   
  • The floppy drive and hard drive

   
  • Memory

   
  • BIOS revision and date

   
  • Display


Any special drivers, such as the ones for small computer system interface (SCSI) adapters, are loaded from the adapter, and the BIOS displays the information. The BIOS then looks at the sequence of storage devices identified as boot devices in the CMOS Setup. Boot refers to the process of launching the operating system. The BIOS will try to initiate the boot sequence from the first device. If the BIOS does not find a device, it will try the next device in the list. If it does not find the proper files on a device, the startup process will halt.

Configuring BIOS

In the previous list, you saw that the BIOS checks the CMOS Setup for custom settings. Here's what you do to change those settings.

To enter the CMOS Setup, you must press a certain key or combination of keys during the initial startup sequence. Most systems use "Esc," "Del," "F1," "F2," "Ctrl-Esc" or "Ctrl-Alt-Esc" to enter setup. There is usually a line of text at the bottom of the display that tells you "Press ___ to Enter Setup."

Once you have entered setup, you will see a set of text screens with a number of options. Some of these are standard, while others vary according to the BIOS manufacturer. Refer to the manual for your particular motherboard for which options are available.

Be very careful when making changes to setup. Incorrect settings may keep your computer from booting. When you are finished with your changes, you should choose "Save Changes" and exit. The BIOS will then restart your computer so that the new settings take effect.

The BIOS uses CMOS technology to save any changes made to the computer's settings. With this technology, a small lithium or Ni-Cad battery can supply enough power to keep the data for years.

Updating Your BIOS

Occasionally, a computer will need to have its BIOS updated. Newer CPUs or memory may need a BIOS update in order to be correctly recognised. Or there may be a minor flaw or other particular issue or problem that a new BIOS update has addressed. Since the BIOS is stored in some form of ROM, changing it is a bit harder than upgrading most other types of software.

As with changes to the CMOS Setup, be careful when upgrading your BIOS. Make sure you are upgrading to a version that is compatible with your computer system. Otherwise, you could corrupt the BIOS, which means you won't be able to boot your computer.

If your system is running fine with no issues, then you do not need to update the BIOS. You do not always need the latest BIOS update for your computer to run smoothly.

Edited from HowStuffWorks article, full version of which (including videos and pics) can be read here: http://computer.howstuffworks.com/bios.htm



Other BIOS questions...

What is CMOS?

CMOS is an acronym for Complementary Metal Oxide Semiconductor, (a term you really don't need to learn since it’s not a computer term but a description of a semiconductor technology). The CMOS stores pertinent system configuration information and other BIOS settings when system power is off.

What does the clear CMOS jumper do?

It resets the BIOS to factory default settings and erases all system configuration data stored in CMOS. It is important to clear the CMOS before flashing the BIOS. Failure to clear CMOS can corrupt the bios and leave you with a disabled system until you can get a new BIOS chip. Sometimes after a BIOS update you must still clear the CMOS.

To learn more about clearing the CMOS, read this: >>Clear CMOS Guide<<

When should I upgrade my BIOS?

The process of flashing the BIOS is only about 98% foolproof. Every time you flash your BIOS there's a small chance that you'll end up with a corrupted BIOS and a system that is disabled until you can buy a new BIOS chip. So we recommend flashing your BIOS only when necessary to solve a compatibility issue, solve a technical glitch, or to support new features that you need. A new BIOS revision rarely enhances performance.

Why doesn’t AMI and Award support their BIOS's?

AMI and Award sell BIOS firmware to motherboard manufacturers under OEM license agreements. Most motherboard manufacturers ship a modified version of the OEM BIOS. The motherboard manufacturers are responsible for supporting their customers*. Just like if you bought a Ford car that had a broken Delco radio you couldn't contact Delco directly for support.

*Likewise, if you happen to have a pre-built PC from a major manufacturer such as HP, IBM, Packard-Bell, eMachines, Medion etc, that happens to use a MSI mainboard, you need to seek support from the PC manufacturer, not from MSI. Read: >> OEM boards manufactured by MSI <<

What is EFI?

EFI is an Intel idea that will supposedly eventually replace the BIOS as we know it. EFI stands for Extensible Firmware Interface. You can read more about it at Intels site here.

The main idea is that the BIOS has been around for so long its just not useful to todays computers. It slows them down. For instance a standard BIOS can only address 128K of option rom space. Most devices have option roms. So if you have an Adaptec scsi, a ATI video card and an Intel NIC. The BIOS loads these devices into memory. But lets say that the Adaptec device takes up 76K of option rom, the Intel NIC takes up 48K then there isnt enough for the video card or USB or any other devices etc(128K limit).

Common tricks to get around this limitation are to change the PCI scan order or disable some devices in the BIOS. The bottom line is the whole boot process and interaction between BIOS and the OS will be smoother, more efficient and faster.

AMI has a version of EFI called Aptio. Read about it here.

Will a BIOS from a different motherboard work in my motherboard?

Looking on the internet, it does appear that it may be possible. But here, we do NOT recommend you attempt this, as more often than not, you'll end up killing your mainboard.

Can I update straight to the latest BIOS version? My BIOS is currently 1.2 but the latest is 1.9

Yes, as all fixes from previous versions are included in the most recent version.
Logged
Former moderator and admin, 2004-2012
Pages: [1]   Go Up