BIOS

来源:互联网 发布:python黑帽子视频教程 编辑:程序博客网 时间:2024/05/17 08:56

BIOS (Basic Input Output System) BIOS is software stored in a ROM (read only memory) chip located in the motherboard of a PC. It is the first code run when the computer is turned on. When you start your computer, the CPU (Central Processing Unit), sends control of the PC to the BIOS routine. After the CPU gives the BIOS the "go ahead", it begins looking for all the components and peripheral devices attached to your computer. The CMOS memory chip (complementary metal oxide semiconductor) stores the data that is used by the BIOS setup and testing routines [1]. When the computer is turned on(or booted) the BIOS runs a set of routines that tests the hardware, starts the operating system, and supports the transfer of data between hardware devices at startup. In most PCs, the BIOS has 4 main functions.

1. POST - Tests computer hardware, ensuring hardware is properly functioning before starting process of loading operating system.2. Bootstrap Loader - Process of locating the operating system. If capable operating system located, BIOS will pass the control to it.3. BIOS - Software and drivers that interface between the operating system and your hardware. When running DOS or Windows you are using complete BIOS support.4. BIOS / CMOS Setup - Configuration program that allows you to configure hardware settings including system settings such as computer passwords, time, and date [2].


While running the POST (power on self test) if any fatal errors occur the boot process stops. A sequence of beeps will sound which identifies where the problem is. Below is an example of what those beeps may mean depending on the manufacturer of the bios software [3].

Number of BeepsDescription of ProblemSolution1 beepDRAM refresh failureTry re-seating the memory first. If the error still occurs, replace the memory with known good chips.2 beepsParity Circuit Failure3 beepsBase 64K RAM failure4 beepsSystem Timer FailureSend System Board in for Repair5 beepsProcessor Failure6 beepsKeyboard Controller / Gate A20 FailureTry re-seating the keyboard controller chip. If the error still occurs, replace the keyboard chip. If the error persists, check parts of the system relating to the keyboard, e.g. try another keyboard, check to see if the system has a keyboard fuse7 beepsVirtual Mode Exception ErrorSend System Board in for Repair8 beepsDisplay Memory Read/Write FailureIndicates a memory error on the video adapter. Try re-seating the video card. If it still beeps, try replacing the video card or the memory on the video card9 beepsROM BIOS Checksum FailureIndicates faulty BIOS chip(s). It is not likely that this error can be corrected by re-seating the chips. Consult the motherboard supplier or an AMI product distributor for replacement part(s)10 beepsCMOS Shutdown Register Read/Write ErrorSend System Board in for Repair1 long 2 shortVideo failureReseat the video board - replace if board is determined to be faulty1 long 3 shortVideo failure1 longPOST passedNo Errors
Example BIOS User Interface
Example BIOS chip