basic.input.output.system
the B.I.O.S.




All motherboards include a small block of Read Only Memory (ROM) which is separate from the main system memory used for loading and running software. The ROM contains the PC's Basic Input/Output System (BIOS). This offers two advantages: the code and data in the ROM BIOS need not be reloaded each time the computer is started, and they cannot be corrupted by wayward applications that write into the wrong part of memory. A Flash upgradeable BIOS may be updated via a floppy diskette to ensure future compatibility with new chips, add-on cards etc.

The BIOS comprises several separate routines, serving different functions. The first part runs as soon as the machine is powered on. It inspects the computer to determine what hardware is fitted and then conducts some simple tests to check that everything is functioning normally - a process called the power-on self test (POST). If any of the peripherals are plug and play devices, it's at this point that the BIOS assigns their resources. There's also an option to enter the Setup program. This allows the user to tell the PC what hardware is fitted, but thanks to automatic self-configuring BIOSes this isn't used so much now.

If all the tests are passed, the ROM then tries to determine which drive to boot the machine from. Most PCs ship with the BIOS set to check for the presence of an operating system in the floppy disk drive first (A:), then on the primary hard disk drive. Any modern BIOS will allow the floppy drive to be moved down the list so as to reduce normal boot time by a few seconds. To accommodate PCs that ship with a bootable CD-ROM, some BIOSes allow the CD-ROM drive to be assigned as the boot drive. Some also allow booting from a hard disk drive other than the primary IDE drive. In this case it would be possible to have different operating systems - or separate instances of the same OS - on different drives. Many BIOSes allow the start-up process to be interrupted to specify the first boot device without actually having to enter the BIOS setup utility itself. If no bootable drive is detected, a message is displayed indicating that the system requires a system disk. Once the machine has booted, the BIOS serves a different purpose by presenting DOS with a standardised API for the PC hardware. In the days before Windows, this was a vital function, but 32-bit "protect mode" software doesn't use the BIOS, so again it's of less benefit today.


Draghina Alexandru, 1st year student @ Transilvania University, EEC department
alexandrei@gmx.net