answersLogoWhite

0


Best Answer

What is the difference between BIOS and DOS routines? how many types of interrupts?

Different Answer

BIOS stands for Basic Input/Output System, while DOS stands for Disk Operating System. BIOS is considered "Firmware" because it retains the bit data within it after the machines power is turned off (EEPROM). The BIOS is the sub-layer of machine code that allows an AT style computer to start running. When you have a PC in front of you with its power off, what you have is all the hardware in one place in a configuration necessary to allow a (Powerful) digital computer to come to life in front of you. Let's imagine we've removed the BIOS chip. Now let's apply power. The computer would sit there doing nothing. Even though DOS (or Windows XX) may be installed on some external storage device, the hardware has no way of knowing this.

The CPU hardware is designed to force the first instruction it executes to be a Jump through memory location zero (Indirect Addressing). At location zero is supposed to be the address of the first external instruction to be executed. Without the BIOS chip installed, there is no instruction location address for the computer to start executing, so the machine would fail to start. To the computer, there is no software found in the machine. Without software, hardware is useless... without hardware, software is useless.

Let's power off, re-install BIOS, and turn power on. Now the general sequence of events is something like this;

· Jump through location zero to start running a program found at that address.

· Find out what basic hardware is present on the buses.

· Do a preliminary hardware check of these devices to determine if they are working.

· Stack a series of driver programs in memory that service the interrupts for these devices.

· Go to the BIOS defined external device to find an Operating System (OS).

· Load the found OS's boot program into memory.

· Turn control of the computer over to the OS boot program.

· The boot program loads memory with the OS executive loop and turns control over to it.

· The executive loop finishes loading installed software interfaces

· The OS then presents itself to the user for command.

Depending on what OS is installed; you'll eventually see the User Interface that allows you to command the OS through the human designed I/O devices recognized by the computer during boot (Keyboard, Monitor, etc).

The OS is running in a loop that services hardware interrupts as they come in. When you press a key on your keyboard, the special purpose computer in the keyboard sends a hardware interrupt telling the computer there is something coming in that needs attention. The operating system gives the driver associated with that device time on the CPU. That driver uses the BIOS to reach out to the device and accept what it needs to send. What the device sends is loaded into a buffer in RAM that becomes available to the OS and is then manipulated in whatever way the OS is programmed to interpret that data.

So, BIOS is the low level interface software running on your machine. The OS (like DOS) is higher level software running on the machine that uses BIOS to interface with the hardware, which you are using to control the OS.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between BIOS and dos functions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Name three layers of ms-dos?

COMMAND.COM DOS Kernel BIOS


Compare DOS and BIOS call?

BIOS is the basic input output system provides a routine procedure, and use a program written in BIOS features simple, readable, and easy to transplant. PC-DOS is the most important operating system, as it includes nearly a BIOSdevice management, directory management and file management procedures, is a fully featured, easy to use collection of the interrupt routine. Using the DOS operatingusing the appropriate functions of the BIOS than the operation more simple and lessdependent on some of the hardware. BIOS functions and DOS functions are called by software interrupts. Need tointerrupt the function number before the call into the AH register, handle the function number into the AL register, besides, usually need to register in the CPU to provide specialized call parameters. In general, DOS or BIOS function calls, has the followingbasic steps: 1, the call parameters into the specified register; 2, for the function number, put it into the AH; 3, for sub-function number, put it into the AL; 4, according to interruption of DOS or BIOS interrupt call; 5, check the return parameters are correct. BIOS and DOS interrupt interrupt the relationship shown in Figure 9.1. In the memory system, starting from the address 0FE000H 8K ROM (read-only memory) is equipped with a BIOS (Basic Iuput / output System) routine. Reside in theROM BIOS in the PC series of different microprocessors to provide a compatible system POST, boot loader, the main I / O devices and the interface control processfunction modules to handle all system interrupts. Use BIOS calls that bring great convenience to the programmer programming, programmers do not understand the details of hardware operation, the direct use of instruction set parameters, and thencall the BIOS interrupt the sub-function, so programs written using simple BIOSfunction can be Reading is good, and easy to transplant. DOS (Disk Operating System) is the most important PC, operating system, which isprovided by the floppy or hard disk. Its two DOS BIOS module IBMBIO.COM andIBMDOS.COM the more convenient to use because more and DOS module providesthe necessary tests, the DOS operating the corresponding functions of the BIOS than the use of more simple operation, but the hardware DOS Dependence less.


What is the difference between DOS and the DOS prompt?

DOS is an operating system. The DOS prompt is the command line where DOS commands can be run/executed.


Difference between ms dos and wordpad?

MS DOS is an Operating System, WordPad is an Application..


Why is BIOS accessed much less by Windows than it is by DOS?

Who told you? Windows uses more resources than DOS.. As we know that DOS can support less hardware than Windows and BIOS is the controlling system for integrated hardware, hence we can easily understand the utilization of DOS and Windows..


Difference between BIOS and CMOS?

BIOS refers to (Basic Input Output System) it is responsible for booting of your system while DOS(Disk Operating System) is an operating system that user uses by entering commands in command prompt(to open in windows press start+r).


What are the difference between dos and chkdsk?

DOS is an operating system. CHKDSK is an application that check the hard drive for errors.


Difference between file and folder in dos commands?

what is the differences between a file and a folder


What is the difference between Metics and Slaves?

a slave has no rights when a metic dos


What is the most important job of the bios?

The entire boot of your system is done with BIOS. BIOS loads up PS/2 connections which is typically your keyboard or mouse but most people are upgrading to USB keyboards and mouses. BIOS also boots up your harddrive which is turn boots up your Operating System.


What is the major difference between DOS and windows OS?

Windows has a graphical interface while DOS is a command line interface.


What functions are completely unsupported in DOS?

DOS had no support for virtual memory, no native GUI, and no built in security functions.