![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Hardware tutorials All Knowledge Info and links to posted here |
![]() |
|
What is the BIOS and how does it work
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,715
Join Date: Jan 2006
Rep Power: 10
IM:
|
Inside every PC out there is BIOS, which stands for Basic Input Output System. In a nutshell, BIOS is software that interacts between a computers hardware and the operating system and software applications. There are several types of BIOS's, ranging from the motherboard ROM BIOS to adapter BIOS's such as video BIOS, drive controller BIOS, network adapter BIOS, SCSI adapter BIOS, etc... These BIOS's are the lowest level of software in a computer providing a set of small programs or software routines that allow the hardware of a computer to interact with the operating system by a set of standard calls. I hope to provide a through understanding of how the BIOS works and leave you with a better understanding of it's interworkings. At the same time, I hope to show how complex a BIOS is in relation to it's relationship with the operating system and the software applications you use everyday. Enjoy. The Boot Process To get to the operating system, a computer must first boot from the BIOS. The BIOS performs a number of tasks when a computer is started. From initializing the microprocessor to initializing and testing hardware to starting the operating system. Starting a computer is not a simple task. It's a methodical process that is performed every time power is applied to computer. Here is a detailed description of the boot process. This process will vary with different computers and different BIOS', but the overall goal is the same. When you first turn on a computer the very first operation performed by the CPU is to read the address space at FFFF:0000h. This address space it reads from is only 16 bytes, which is not nearly enough space to house the BIOS found on a motherboard. Instead, this location contains a special instruction called a jump command (JMP) that tells the processor where to go to find and read the actual BIOS into memory. The process of the processor reading the jump instruction and redirection to the actual BIOS is called the bootstrap or boot. So, when you apply power, it's not the operating system that's working. It's the BIOS. First, I want to get something straight. The CMOS and the BIOS are two different things. The BIOS refers to the firmware instructions that are located on the BIOS ROM. CMOS refers to the low-power RAM that holds the system's setup parameters. The BIOS reads the CMOS RAM into memory at boot up and provides the setup routine that allows you to change the contents of CMOS, but the CMOS RAM/RTC device is a totally different IC. The CMOS holds the information provided by the BIOS. This is why you "lose" the settings of a system when the battery dies or you clear the CMOS through a jumper on the motherboard. With today's high performance 32 bit operating systems, the BIOS becomes less used, but it is still there, always interacting with the operating system. Disk access, for example, is done through the operating system with 32-bit routines, whereas the BIOS is using 16-bit routines. Although the BIOS provides VGA support, Windows and other 32-bit operating systems use software device drivers to work with the hardware. Early OS's, like DOS, worked with the BIOS. DOS relied on the BIOS to perform most functions, like displaying characters on the screen or sending output to the printer, reading input from the keyboard and other essential tasks. These drivers, which operate in protected mode(since they aren't written for real mode, they are able to use memory above the 1MB barrier that real mode provides), allow for several enhancements. They can access more memory, can be written in 32-bit code for optimized execution and are not limited to the amount of space available to their code. However, regardless of OS, whether it's Windows 2000, Linux or DOS, the BIOS and the operating system still interact with each other. Here is a basic rundown of what is happening:
At this, once a active partition is found, the BIOS will search for a Volume Boot Sector on the bootable partition and load the VBS into memory and test it. If the VBS is not readable or corrupt, you will see a message similar to "Error loading operating system". At the point, the BIOS will read the last two bytes of the VBS. These bytes should be 55h and AAh respectively. If they are not, then you will see a message similar to "Missing operating system" It is at this point that the BIOS will begin loading of the operating system. |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Fix my Error!
Posts: 21
Join Date: Sep 2008
Rep Power: 0
IM:
|
danica __________________________ build your own computer seo agency |
|
|
|
|
|
#3 (permalink) |
|
Fix my Error!
Posts: 5
Join Date: Sep 2008
Rep Power: 0
IM:
|
_____________________ promotional items Headlights discounted perfume Sexual Predators |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SEo work | sohel08 | Search Engine Optimization | 3 | 10-Oct-2008 10:30 PM |
| Will PC Anywhere 10.5 work on Vista? | Anilrgowda | Microsoft windows vista error | 1 | 28-Jul-2007 01:17 AM |
| DLL in C++ 6.0 does not work well under Vista | driverdownloads | Microsoft windows vista error | 1 | 19-Mar-2007 11:22 PM |
| my microphone dont work in soundrecored or msn and it work if i unmute it from the vo | Anilrgowda | Microsoft Windows xp error | 1 | 08-Mar-2007 10:51 PM |
| AutoComplete Does Not Work | Anilrgowda | Internet Explorer Error | 0 | 29-Jan-2007 09:57 AM |