SlideShare a Scribd company logo
1 of 64
Presented by
R.Annapoorani
S.Ranjani
B.Tech-IT
Pondicherry Engineering College
ο‚ž Commonly known as the system BIOS or ROM
BIOS is a de facto standard defining a
firmware interface
ο‚ž The BIOS software is built into the PC, and is
the first software run by a PC when powered
on
ο‚ž Initializes and tests the system hardware
components, and loads an OS or other
program from a mass memory device.
ο‚ž Invented by Gary Kildall in 1976
ο‚ž Describes the machine-specific part of CP/M
ο‚ž Later versions of CP/M come with an XIOS
instead of the BIOS.
ο‚ž Most versions of DOS have a file called
"IO.SYS", "IBMBIO.COM", "IBMBIO.SYS", or
"DRBIOS.SYS”
ο‚ž Check the CMOS Setup for custom settings
ο‚ž Load the interrupt handlers and device
drivers
ο‚ž Initialize registers and power management
ο‚ž Perform the power-on self-test (POST)
ο‚ž Display system settings
ο‚ž Determine which devices are bootable
ο‚ž Initiate the bootstrap sequence
ο‚ž BIOS checks the information stored in a tiny
(64 bytes) amount of RAM located on a
(CMOS) chip.
ο‚ž CMOS Setup provides detailed information
particular to your system
ο‚ž The BIOS uses this information to modify or
supplement its default programming as
needed
ο‚ž Interrupt handlers are small pieces of S/W
that act as translators b/w the H/W
components & the OS.
ο‚ž The device drivers are other pieces of S/W
that identify the base H/W components
ο‚ž Since the BIOS is constantly intercepting
signals to and from the hardware, it is
usually copied, or shadowed, into RAM to run
faster.
ο‚ž When the processor is reset, it initializes its
program counter to a fixed.
ο‚ž The BIOS ROM chips are located in memory so
that this starting address is within the BIOS.
ο‚ž A jump instruction then directs the processor to
start executing code in the BIOS.
ο‚ž If the system has just been powered up POST is
run.
ο‚ž If a powered-up computer has had its reset key
pressed , a special flag value is detected in
memory and the BIOS does not run the POST.
ο‚ž Selects candidate boot devices using
information collected by POST and
configuration information from EEPROM,
CMOS RAM or, in the earliest PCs, DIP
switches.
ο‚ž The BIOS checks each device in order to see
if it is bootable.
ο‚ž The BIOS proceeds to test each device
sequentially until a bootable device is found.
ο‚ž In the IBM PC and AT, certain peripheral cards
carried their own BIOS extension option ROM
ο‚ž BIOS extension ROMs, are executed before
the operating system is loaded from mass
storage.
ο‚ž These ROMs can test and initialize hardware,
add BIOS services, or replace BIOS services
programmed in the motherboard
ο‚ž The CPU is in real mode
ο‚ž The general-purpose and segment registers
are undefined.
ο‚ž The memory below address 500 hex contains
the interrupt vector table and the 256-byte
BIOS data area
ο‚ž The interrupt vectors corresponding to the
BIOS interrupts have been set to point at the
appropriate entry points in the BIOS.
ο‚ž The BIOS in the IBM PC and XT had no built-in
user-interface. The BIOS versions in earlier
PCs (XT-class) were not software
configurable
ο‚ž But a modern BIOS has a user interface (UI),
typically a menu system accessed by pressing
a certain key on the keyboard when the PC
starts.
In the BIOS UI, a user can:
ο‚ž Configure hardware
ο‚ž Set the system clock
ο‚ž Enable or disable system components
ο‚ž Select which devices are potential boot
devices
ο‚ž set various password prompts
οƒ˜ 32 pin DIP chip.
οƒ˜ 2Mb (256KB) in size.
οƒ˜ Hardware-
independent module,
that describes the
loading period of his
operating system.
Functions
The BIOS chip starts up the computer, loads
basic drivers, loads the operating system,
checks hardware systems, and loads other BIOS
programs on the computer.
Features
The first instructions run by a computer are
those from the BIOS chip. The internal clock of
a computer runs off the BIOS chip.
ο‚ž Some BIOS chips allow overclocking, an
action in which the CPU is adjusted to a
higher clock rate than its factory preset.
ο‚ž Overclocking may, compromise system
reliability in insufficiently cooled computers
ο‚ž Overclocking, incorrectly performed, may
also cause components to overheat so quickly
that they destroy themselves.
ο‚ž Search "System Information" from the Start
menu, then open the program.
ο‚ž Click on the System Summary section on left-
hand side of the window, which will bring up
system information on the right-hand side of
the window.
ο‚ž Check the line reading "Bios Version/Date" to
see the current BIOS version.
ο‚ž The BIOS is stored in rewritable memory,
allowing the contents to be replaced or
'rewritten'. This rewriting of the contents
is termed flashing.
ο‚ž Done by a special program, usually
provided by the system's manufacturer, or
at POST, with a BIOS image in a hard drive
or USB flash drive.
ο‚ž A file containing such contents is
sometimes termed 'a BIOS image'.
Flashing the bios:
ο‚ž Can correct bugs or compatibility that
have been discovered
ο‚ž Increases system stability
ο‚ž Enhances Storage Capacity
ο‚ž Large hard drive support
ο‚ž ACPI compatibility
ο‚ž CPU support
ο‚ž Fix problems
ο‚ž Memory support
ο‚ž The disadvantages are that the BIOS often boots
in 16-bit real mode & because of the type of
chip used, it is not always the fastest.
ο‚ž BIOS routines are generally inefficient, so
modern OSs have their own hardware routines
and depend on drivers.
ο‚ž Some BIOSes still have the initial types of bugs
from the PC-XT days.
ο‚ž BIOS EEPROMS can be overwritten or destroyed
by users when updating the BIOS.
ο‚ž BIOS could become virus infected or overwritten
by viruses
The four known BIOS Virus attacks are:
ο‚ž CIH, whose name matches the initials of its
creator, Chen Ing Hau in 1998
ο‚ž It was able to erase flash ROM BIOS content
ο‚ž Infected computers could no longer boot,
and people had to remove the flash ROM IC
from the motherboard and reprogram it.
ο‚ž The second BIOS virus was a technique
presented by John Heasman.
ο‚ž In 2006, at the Black Hat Security
Conference, he showed how to elevate
privileges and read physical memory, using
malicious procedures that replaced normal
ACPI functions stored in flash memory.
ο‚ž The third BIOS virus was a technique called
"Persistent BIOS infection”in 2009
ο‚ž Researchers Anibal Sacco and Alfredo Ortega,
demonstrated how to insert malicious code
into the decompression routines in the BIOS,
allowing for nearly full control of the PC at
start-up, even before the operating system is
booted.
ο‚ž The fourth one is Mebromi
ο‚ž Mebromi is a trojan which targets computers
with AwardBIOS, Microsoft Windows
ο‚ž Mebromi installs a rootkit which infects the
master boot record.
ο‚ž Refers to routines executed by
microprocessor as soon as the PC is powered
on.
ο‚ž The routines are part of a device's pre-boot
sequence.
ο‚ž Once POST completes successfully, bootstrap
loader code is invoked.
ο‚ž Verifies whether hardware is free from
faults.
ο‚ž On encountering an error, PC is halted with
an error message.
ο‚ž POST routines are stored in ROM.
ο‚ž POST vector starts from FFFF0
ο‚ž First instruction is JUMP instruction to the
address fro where exactly the POST routine
starts.
ο‚ž First instruction in POST routine is CLI
ο‚ž The POST starts executing test programs
ο‚ž Disable Interrupts using CLI instruction
ο‚ž Set SF,CF,ZF and PF flags
ο‚ž Verify whether each of these flags is set
ο‚ž If any flag is not set, a HALT instruction at
address FE0AD is executed
ο‚ž Write 1’s in all
registers:AX,DS,BX,ES,CX,SS,DX,SP,BP,SI & DI
ο‚ž Verify the contents of DI
ο‚ž Write all 0’s in AX register
ο‚ž Verify whether DI has received all zeroes
ο‚ž Disable NMI by outputting zero to NMI
register at port address X β€˜0A0’
ο‚ž Initialize DMA page register by outputting
zeroes at port address X β€˜83’
ο‚ž Disable color video by outputting zeroes to
mode control register at port address X β€˜3D8’
ο‚ž Disable monochrome display & set high
resolution mode by outputting X ’01;
ο‚ž Program the PPI as follows:
1. Port A and Port B output vectors
2. Port C input port
ο‚ž Binary pattern 10100101 is outputted to PPI
port B
ο‚ž Output X’01’ on port A of PPI
ο‚ž Give FE000 as the start address & enter
subroutine ROM checksum
ο‚ž It performs XOR of contents of all locations
in 8k ROM
ο‚ž If (checksum==0) the ROM contents are OK
ο‚ž If (checksumβ‰ 0) it indicates failure of ROM
checksum test
ο‚ž Output X β€˜02’ on port A in PPI
ο‚ž Output X β€˜04’ on port X β€˜08’ to disable DMA
controller
ο‚ž Program the Timer 1 for mode 2
ο‚ž Output zero as initial value to Timer 1
ο‚ž Latch Timer 1
ο‚ž Set an initial value in Timer 1
ο‚ž Latch Timer 1 count
ο‚ž Read Timer 1 count and if it counts too slow
or fast the POST halts the processor
ο‚ž Tests DMA channel address registers
ο‚ž Tests count registers in all channels in DMA
Controller chip,8237
ο‚ž If there is an error the POST halts the
processor at FE12D
ο‚ž Channel 0 of DMA controller is initialized
with appropriate start address and byte
count values
ο‚ž It does memory refreshing when Timer 1
sends DMA request signal
ο‚ž After initializing channel 0 for memory
refresh and starting the memory refresh, the
POST sets modes for DMA channel 2 and 3
I/0 EXPANSION BOX ENABLING
ο‚ž Done by outputting X β€˜01’ on port X β€˜1302’
ο‚ž The first location is written with a pattern
X β€˜00’ and read back
ο‚ž The POST repeats the above test for all
patterns X’01’ to X’FF’ on first location
ο‚ž The POST tries 5 patterns namely
AA,FF,55,00,01 on first location
ο‚ž The POST indicates two types of failures:
ο‚‘ The pattern written and pattern read are
different
ο‚‘ The pattern written and pattern read maybe
same but there is parity error during reading
ο‚ž The POST finds out the total system memory
including motherboard RAM and RAM on
expansion boards
ο‚ž The total program memory allowed is 640K
Bytes
ο‚ž A portion of 16K DRAM can be used as stack
for the remaining POST programs
ο‚ž The POST initializes the stack pointer and
stack segment register
ο‚ž Programs the 8259 by issuing a set of control
words:ICW1,ICW2,ICW4
ο‚ž In PC, 8259 is operated in 8086 mode not in
8085 mode
ο‚ž No cascading
ο‚ž Masks all interrupts by sending a mask
pattern FF to PIC
ο‚ž Writes a temporary set of interrupt vectors in
the initial portion of the first 16K DRAM.
ο‚ž Establishes β€œBIOS subroutine call interrupt
vectors”
ο‚ž The DIP switch block contains 8 switches
ο‚ž The POST reads the 8 switches & store the 8
bit pattern in a memory location
ο‚ž The 8 switches are sensed by POST through
port C
ο‚ž Configuration includes information of type of
display adapter attached
ο‚ž Four possibilities are:
ο‚‘ No display adapter
ο‚‘ CGA in 40X30 mode
ο‚‘ CGA in 80X25 mode
ο‚‘ MDA for both MDA and CGA
ο‚ž Failure is indicated by long-short-short
beeps.
ο‚ž POST goes ahead with subsequent tests
ο‚ž During Warm Boot, the POST skips the video
RAM test
ο‚ž POST enables video
ο‚ž Sets the mode by programming mode control
register
ο‚ž POST stores blanks in reverse video form in
video corresponding to the top of the screen
ο‚ž The horizontal bar display will stay only for a
few seconds
ο‚ž Reads the CRT status port
ο‚ž Verifies timing of video signal & horizontal
sync signal
ο‚ž POST produces speaker beeps on sensing any
error
ο‚ž Sets and Resets Interrupt Mask Register
ο‚ž Looks for the presence of spurious interrupt
ο‚ž POST displays error code 101 on CRT Monitor
on detecting error
ο‚ž Checks
1. Whether Timer 0 interrupt occurs or not?
2. Is Timer 0 counting too slowly? i.e.,slow
interrupts
3. Is Timer 0 counting too fast? i.e.,fast interrupts
ο‚ž Resets the keyboard
ο‚ž Keyboard sends a scancode
ο‚ž Keyboard interrupt is raised by keyboard
interface
ο‚ž Then POST reads scancode through PPI Port A
ο‚ž If scancode is other than X β€˜AA’, the POST
displays an error message on CRT screen
ο‚ž A data pattern X ’55 55’ is written on
expansion box adapter board
ο‚ž Is same data is received from port, the
I/O box is present else it’s absent
ο‚ž Same as first 16K DRAM Test
ο‚ž Test patterns are AA,55,FF,01 and 00
ο‚ž On detecting error, the POST displays a
detailed message on CRT screen giving the
following information:
ο‚‘ Failing location: Address
ο‚‘ Failing bits pattern
ο‚ž BASIC ROM is present as four 8K ROMs in IBM
PC
ο‚ž Detects the presence of BASIC ROM
ο‚ž If present it performs checksum calculation
of contents of BASIC ROM
ο‚ž If not, POST displays the failing ROM’S Start
address followed by the word β€˜ROM’
Eg., F6000 ROM
ο‚ž POST Detects the presence of parallel ports
by writing data on O/P data port & reading
through I/P data port
ο‚ž If the data received is same, printer
controller is present
ο‚ž If not, POST checks for next Parallel ports
SERIAL PORTS SET UP
ο‚ž Checks for the presence of serial ports
ο‚ž Updates Equipment Flag table
ο‚ž Enables interrupt controller
ο‚ž Checks for errors
ο‚ž On detecting error , it gives 2 short beeps
and displays ERROR(RESUME=β€˜F1’ KEY)
ο‚ž Gives one short beep indicating the
reliability test is successful
ο‚ž POST enables NMI by removing mask from the
NMI register
ο‚ž NMI will be generated by hardware if RAM
parity check error is present
ο‚ž 8088 is unaware Of external masking of NMI
by software
ο‚ž Bootstrap is the process of loading a set of
instructions when a computer is first turned
on or booted.
ο‚ž During the start-up process, diagnostic tests
are performed that set or check
configurations and implement routine testing
for the connection of peripherals, hardware
and external memory devices.
ο‚ž The bootloader or bootstrap program is then
loaded to initialize the OS.
ο‚ž 100-199 Motherboard
ο‚ž 200-299 RAM or Memory
ο‚ž 300-399 Keyboard
ο‚ž 400-499 Video Mono
ο‚ž 500-599 Video Color
ο‚ž 600-699 Floppy Drive
ο‚ž 700-799 Math Co-Processor
ο‚ž 900-999 LPT1
ο‚ž 1000-1099 LPT2
ο‚ž 1100-1199 COM 1
ο‚ž 1200-1299 COM 2
ο‚ž 17xx Hard Disk Controller
ο‚ž 3xxx NIC
ο‚ž 86xx Mouse
Beep Meaning
1 short beep Normal POST – system is OK
2 short beeps POST error – error code shown on
screen
No beep
Power supply, system board problem,
disconnected CPU, or disconnected
speaker
Continuous beep
Power supply, system board,
or keyboard problem
Repeating short beeps
Power supply or system board problem
or keyboard
1 long, 1 short beep System board problem
1 long, 2 short beeps Display adapter problem (MDA, CGA)
1 long, 3 short beeps
Enhanced Graphics Adapter
problem (EGA)
3 long beeps 3270 keyboard card
Color Meaning
Red Bad ROM
Yellow
CPU Exception Before
Bootstrap Code is
Loaded
Green
Bad Chip RAM or fail
of Agnus Chip (check
seating of Agnus)
Black No CPU
White
Expansion passed
test successfully
Grey Turn on
Constant white Failure of CPU
ROM BIOS & POST

More Related Content

What's hot

Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceTransweb Global Inc
Β 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
Β 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
Β 
Introduction for microprocessor
Introduction for microprocessorIntroduction for microprocessor
Introduction for microprocessorTHANDAIAH PRABU
Β 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.parthi_arjun
Β 
RAM and ROM Chips
RAM and ROM ChipsRAM and ROM Chips
RAM and ROM ChipsAdeel Rasheed
Β 
Memory organization
Memory organizationMemory organization
Memory organizationishapadhy
Β 
COA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptxCOA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptxOmGadekar2
Β 
8259 updated
8259 updated 8259 updated
8259 updated jemimajerome
Β 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchysreelakshmikv
Β 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentationPiyush Rochwani
Β 
Memory management
Memory managementMemory management
Memory managementcpjcollege
Β 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
Β 
ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
Β 
Android Memory Management
Android Memory ManagementAndroid Memory Management
Android Memory ManagementSadmankabirsoumik
Β 
Memory modules
Memory modulesMemory modules
Memory modulesSana Sini
Β 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
Β 
Flash memory
Flash memoryFlash memory
Flash memorySajan Sahu
Β 

What's hot (20)

Register Reference Instructions | Computer Science
Register Reference Instructions | Computer ScienceRegister Reference Instructions | Computer Science
Register Reference Instructions | Computer Science
Β 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
Β 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
Β 
Introduction for microprocessor
Introduction for microprocessorIntroduction for microprocessor
Introduction for microprocessor
Β 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
Β 
RAM and ROM Chips
RAM and ROM ChipsRAM and ROM Chips
RAM and ROM Chips
Β 
Memory organization
Memory organizationMemory organization
Memory organization
Β 
COA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptxCOA-Unit 1 Introduction.pptx
COA-Unit 1 Introduction.pptx
Β 
8259 updated
8259 updated 8259 updated
8259 updated
Β 
Embedded C - Optimization techniques
Embedded C - Optimization techniquesEmbedded C - Optimization techniques
Embedded C - Optimization techniques
Β 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
Β 
Paging and segmentation
Paging and segmentationPaging and segmentation
Paging and segmentation
Β 
Memory management
Memory managementMemory management
Memory management
Β 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Β 
ARM architcture
ARM architcture ARM architcture
ARM architcture
Β 
Android Memory Management
Android Memory ManagementAndroid Memory Management
Android Memory Management
Β 
Memory modules
Memory modulesMemory modules
Memory modules
Β 
Registers
RegistersRegisters
Registers
Β 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Β 
Flash memory
Flash memoryFlash memory
Flash memory
Β 

Viewers also liked

BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa Inggris
BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa InggrisBIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa Inggris
BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa InggrisArd's Munawir
Β 
System Resources
System ResourcesSystem Resources
System Resourcesisma ishak
Β 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POSTRanjani Sekar
Β 
Bios and cmos
Bios and cmosBios and cmos
Bios and cmosOnline
Β 
Computer capabilities limitations
Computer capabilities limitationsComputer capabilities limitations
Computer capabilities limitationsJesus Obenita Jr.
Β 
Pengertian AGP, PCI, ISA, EISA dan VESA
Pengertian AGP, PCI, ISA, EISA dan VESAPengertian AGP, PCI, ISA, EISA dan VESA
Pengertian AGP, PCI, ISA, EISA dan VESAFajar Sany
Β 
Rom bios 11 1 diapositivas
Rom bios 11 1 diapositivasRom bios 11 1 diapositivas
Rom bios 11 1 diapositivasDaniela Noriega
Β 
Bios powerpoint numero dos
Bios powerpoint numero dosBios powerpoint numero dos
Bios powerpoint numero dosThekarinac
Β 
Computer Capabilities
Computer CapabilitiesComputer Capabilities
Computer CapabilitiesVangieReyes
Β 
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, ChipshetPOST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet99041710795
Β 
Diapositivas profe carlos bios
Diapositivas profe carlos biosDiapositivas profe carlos bios
Diapositivas profe carlos bioscarlosp93
Β 
PrecentaciΓ²n bios
PrecentaciΓ²n biosPrecentaciΓ²n bios
PrecentaciΓ²n biosMagda Garcia
Β 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486Ancy Varghese
Β 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSaskme
Β 

Viewers also liked (20)

BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa Inggris
BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa InggrisBIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa Inggris
BIOS - Basic Input Output System | Tentang BIOS Komputer dalam Bahasa Inggris
Β 
System Resources
System ResourcesSystem Resources
System Resources
Β 
BIOS
BIOSBIOS
BIOS
Β 
ROM BIOS & POST
ROM BIOS & POSTROM BIOS & POST
ROM BIOS & POST
Β 
Bios
BiosBios
Bios
Β 
Bios and cmos
Bios and cmosBios and cmos
Bios and cmos
Β 
Bios
BiosBios
Bios
Β 
Bios
BiosBios
Bios
Β 
Computer capabilities limitations
Computer capabilities limitationsComputer capabilities limitations
Computer capabilities limitations
Β 
Pengertian AGP, PCI, ISA, EISA dan VESA
Pengertian AGP, PCI, ISA, EISA dan VESAPengertian AGP, PCI, ISA, EISA dan VESA
Pengertian AGP, PCI, ISA, EISA dan VESA
Β 
Rom bios 11 1 diapositivas
Rom bios 11 1 diapositivasRom bios 11 1 diapositivas
Rom bios 11 1 diapositivas
Β 
Bios powerpoint numero dos
Bios powerpoint numero dosBios powerpoint numero dos
Bios powerpoint numero dos
Β 
Computer Capabilities
Computer CapabilitiesComputer Capabilities
Computer Capabilities
Β 
Basic input output system (bios)
Basic input output system (bios)Basic input output system (bios)
Basic input output system (bios)
Β 
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, ChipshetPOST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet
POST, PnP, ROM, RAM,BIOS, SETUP, CMOS, Chipshet
Β 
Bios
BiosBios
Bios
Β 
Diapositivas profe carlos bios
Diapositivas profe carlos biosDiapositivas profe carlos bios
Diapositivas profe carlos bios
Β 
PrecentaciΓ²n bios
PrecentaciΓ²n biosPrecentaciΓ²n bios
PrecentaciΓ²n bios
Β 
The 80386 80486
The 80386 80486The 80386 80486
The 80386 80486
Β 
Chapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOSChapter 3 Motherboard and BIOS
Chapter 3 Motherboard and BIOS
Β 

Similar to ROM BIOS & POST

Funciones del bios y codigos post ingles
Funciones del bios y codigos post inglesFunciones del bios y codigos post ingles
Funciones del bios y codigos post inglesJose Antonio Torres P
Β 
05 - BIOS.ppt
05 - BIOS.ppt05 - BIOS.ppt
05 - BIOS.pptAliyuAhmed9
Β 
BIOS Basics of the digital computer systems
BIOS Basics of the digital computer systemsBIOS Basics of the digital computer systems
BIOS Basics of the digital computer systemsPrabathSamarasinghe2
Β 
HD LAB 3.pptx
HD LAB 3.pptxHD LAB 3.pptx
HD LAB 3.pptxShijiSH2
Β 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptxRaviRaval36
Β 
BIOS
BIOSBIOS
BIOSAJAL A J
Β 
Ms dos boot process
Ms dos boot process Ms dos boot process
Ms dos boot process Zahra Sadeghi
Β 
1.0 introduction to personal computer
1.0  introduction to personal computer1.0  introduction to personal computer
1.0 introduction to personal computerGagandeep Singh
Β 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboardAnkit Dubey
Β 
Ict resources
Ict resourcesIct resources
Ict resourcesAmzad Khan
Β 
Share Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxShare Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxHarshDeliwala10B19
Β 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATIONRajput98k
Β 
booting steps of a computer
booting steps of a computerbooting steps of a computer
booting steps of a computerAnusha Babooa
Β 

Similar to ROM BIOS & POST (20)

Funciones del bios y codigos post ingles
Funciones del bios y codigos post inglesFunciones del bios y codigos post ingles
Funciones del bios y codigos post ingles
Β 
05 - BIOS.ppt
05 - BIOS.ppt05 - BIOS.ppt
05 - BIOS.ppt
Β 
File000124
File000124File000124
File000124
Β 
BOOTING.ppt
BOOTING.pptBOOTING.ppt
BOOTING.ppt
Β 
BIOS Basics of the digital computer systems
BIOS Basics of the digital computer systemsBIOS Basics of the digital computer systems
BIOS Basics of the digital computer systems
Β 
HD LAB 3.pptx
HD LAB 3.pptxHD LAB 3.pptx
HD LAB 3.pptx
Β 
bios.docx
bios.docxbios.docx
bios.docx
Β 
motherboard.pptx
motherboard.pptxmotherboard.pptx
motherboard.pptx
Β 
BIOS
BIOSBIOS
BIOS
Β 
Ms dos boot process
Ms dos boot process Ms dos boot process
Ms dos boot process
Β 
bios and post
bios and postbios and post
bios and post
Β 
101 1.1 hardware settings
101 1.1 hardware settings101 1.1 hardware settings
101 1.1 hardware settings
Β 
1.0 introduction to personal computer
1.0  introduction to personal computer1.0  introduction to personal computer
1.0 introduction to personal computer
Β 
1 study of motherboard
1 study of motherboard1 study of motherboard
1 study of motherboard
Β 
Ict resources
Ict resourcesIct resources
Ict resources
Β 
Share Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptxShare Harsh-Deliwala-92200938143-1DC3.pptx
Share Harsh-Deliwala-92200938143-1DC3.pptx
Β 
BIOS PRESENTATION
BIOS PRESENTATIONBIOS PRESENTATION
BIOS PRESENTATION
Β 
Bios
BiosBios
Bios
Β 
booting steps of a computer
booting steps of a computerbooting steps of a computer
booting steps of a computer
Β 
itisha.pptx
itisha.pptxitisha.pptx
itisha.pptx
Β 

Recently uploaded

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
Β 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
Β 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
Β 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEslot gacor bisa pakai pulsa
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
Β 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
Β 

Recently uploaded (20)

(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Β 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Β 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
Β 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
Β 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
Β 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Β 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Β 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
Β 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
Β 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Β 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Β 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Β 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCRβ˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
β˜… CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
Β 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Β 

ROM BIOS & POST

  • 2. ο‚ž Commonly known as the system BIOS or ROM BIOS is a de facto standard defining a firmware interface ο‚ž The BIOS software is built into the PC, and is the first software run by a PC when powered on ο‚ž Initializes and tests the system hardware components, and loads an OS or other program from a mass memory device.
  • 3.
  • 4. ο‚ž Invented by Gary Kildall in 1976 ο‚ž Describes the machine-specific part of CP/M ο‚ž Later versions of CP/M come with an XIOS instead of the BIOS. ο‚ž Most versions of DOS have a file called "IO.SYS", "IBMBIO.COM", "IBMBIO.SYS", or "DRBIOS.SYS”
  • 5. ο‚ž Check the CMOS Setup for custom settings ο‚ž Load the interrupt handlers and device drivers ο‚ž Initialize registers and power management ο‚ž Perform the power-on self-test (POST) ο‚ž Display system settings ο‚ž Determine which devices are bootable ο‚ž Initiate the bootstrap sequence
  • 6. ο‚ž BIOS checks the information stored in a tiny (64 bytes) amount of RAM located on a (CMOS) chip. ο‚ž CMOS Setup provides detailed information particular to your system ο‚ž The BIOS uses this information to modify or supplement its default programming as needed
  • 7. ο‚ž Interrupt handlers are small pieces of S/W that act as translators b/w the H/W components & the OS. ο‚ž The device drivers are other pieces of S/W that identify the base H/W components ο‚ž Since the BIOS is constantly intercepting signals to and from the hardware, it is usually copied, or shadowed, into RAM to run faster.
  • 8. ο‚ž When the processor is reset, it initializes its program counter to a fixed. ο‚ž The BIOS ROM chips are located in memory so that this starting address is within the BIOS. ο‚ž A jump instruction then directs the processor to start executing code in the BIOS. ο‚ž If the system has just been powered up POST is run. ο‚ž If a powered-up computer has had its reset key pressed , a special flag value is detected in memory and the BIOS does not run the POST.
  • 9. ο‚ž Selects candidate boot devices using information collected by POST and configuration information from EEPROM, CMOS RAM or, in the earliest PCs, DIP switches. ο‚ž The BIOS checks each device in order to see if it is bootable. ο‚ž The BIOS proceeds to test each device sequentially until a bootable device is found.
  • 10. ο‚ž In the IBM PC and AT, certain peripheral cards carried their own BIOS extension option ROM ο‚ž BIOS extension ROMs, are executed before the operating system is loaded from mass storage. ο‚ž These ROMs can test and initialize hardware, add BIOS services, or replace BIOS services programmed in the motherboard
  • 11. ο‚ž The CPU is in real mode ο‚ž The general-purpose and segment registers are undefined. ο‚ž The memory below address 500 hex contains the interrupt vector table and the 256-byte BIOS data area ο‚ž The interrupt vectors corresponding to the BIOS interrupts have been set to point at the appropriate entry points in the BIOS.
  • 12. ο‚ž The BIOS in the IBM PC and XT had no built-in user-interface. The BIOS versions in earlier PCs (XT-class) were not software configurable ο‚ž But a modern BIOS has a user interface (UI), typically a menu system accessed by pressing a certain key on the keyboard when the PC starts.
  • 13. In the BIOS UI, a user can: ο‚ž Configure hardware ο‚ž Set the system clock ο‚ž Enable or disable system components ο‚ž Select which devices are potential boot devices ο‚ž set various password prompts
  • 14. οƒ˜ 32 pin DIP chip. οƒ˜ 2Mb (256KB) in size. οƒ˜ Hardware- independent module, that describes the loading period of his operating system.
  • 15.
  • 16.
  • 17. Functions The BIOS chip starts up the computer, loads basic drivers, loads the operating system, checks hardware systems, and loads other BIOS programs on the computer. Features The first instructions run by a computer are those from the BIOS chip. The internal clock of a computer runs off the BIOS chip.
  • 18. ο‚ž Some BIOS chips allow overclocking, an action in which the CPU is adjusted to a higher clock rate than its factory preset. ο‚ž Overclocking may, compromise system reliability in insufficiently cooled computers ο‚ž Overclocking, incorrectly performed, may also cause components to overheat so quickly that they destroy themselves.
  • 19. ο‚ž Search "System Information" from the Start menu, then open the program. ο‚ž Click on the System Summary section on left- hand side of the window, which will bring up system information on the right-hand side of the window. ο‚ž Check the line reading "Bios Version/Date" to see the current BIOS version.
  • 20. ο‚ž The BIOS is stored in rewritable memory, allowing the contents to be replaced or 'rewritten'. This rewriting of the contents is termed flashing. ο‚ž Done by a special program, usually provided by the system's manufacturer, or at POST, with a BIOS image in a hard drive or USB flash drive. ο‚ž A file containing such contents is sometimes termed 'a BIOS image'.
  • 21. Flashing the bios: ο‚ž Can correct bugs or compatibility that have been discovered ο‚ž Increases system stability ο‚ž Enhances Storage Capacity
  • 22. ο‚ž Large hard drive support ο‚ž ACPI compatibility ο‚ž CPU support ο‚ž Fix problems ο‚ž Memory support
  • 23. ο‚ž The disadvantages are that the BIOS often boots in 16-bit real mode & because of the type of chip used, it is not always the fastest. ο‚ž BIOS routines are generally inefficient, so modern OSs have their own hardware routines and depend on drivers. ο‚ž Some BIOSes still have the initial types of bugs from the PC-XT days. ο‚ž BIOS EEPROMS can be overwritten or destroyed by users when updating the BIOS. ο‚ž BIOS could become virus infected or overwritten by viruses
  • 24. The four known BIOS Virus attacks are: ο‚ž CIH, whose name matches the initials of its creator, Chen Ing Hau in 1998 ο‚ž It was able to erase flash ROM BIOS content ο‚ž Infected computers could no longer boot, and people had to remove the flash ROM IC from the motherboard and reprogram it.
  • 25. ο‚ž The second BIOS virus was a technique presented by John Heasman. ο‚ž In 2006, at the Black Hat Security Conference, he showed how to elevate privileges and read physical memory, using malicious procedures that replaced normal ACPI functions stored in flash memory.
  • 26. ο‚ž The third BIOS virus was a technique called "Persistent BIOS infection”in 2009 ο‚ž Researchers Anibal Sacco and Alfredo Ortega, demonstrated how to insert malicious code into the decompression routines in the BIOS, allowing for nearly full control of the PC at start-up, even before the operating system is booted.
  • 27. ο‚ž The fourth one is Mebromi ο‚ž Mebromi is a trojan which targets computers with AwardBIOS, Microsoft Windows ο‚ž Mebromi installs a rootkit which infects the master boot record.
  • 28.
  • 29. ο‚ž Refers to routines executed by microprocessor as soon as the PC is powered on. ο‚ž The routines are part of a device's pre-boot sequence. ο‚ž Once POST completes successfully, bootstrap loader code is invoked. ο‚ž Verifies whether hardware is free from faults. ο‚ž On encountering an error, PC is halted with an error message. ο‚ž POST routines are stored in ROM.
  • 30. ο‚ž POST vector starts from FFFF0 ο‚ž First instruction is JUMP instruction to the address fro where exactly the POST routine starts. ο‚ž First instruction in POST routine is CLI ο‚ž The POST starts executing test programs
  • 31. ο‚ž Disable Interrupts using CLI instruction ο‚ž Set SF,CF,ZF and PF flags ο‚ž Verify whether each of these flags is set ο‚ž If any flag is not set, a HALT instruction at address FE0AD is executed ο‚ž Write 1’s in all registers:AX,DS,BX,ES,CX,SS,DX,SP,BP,SI & DI ο‚ž Verify the contents of DI ο‚ž Write all 0’s in AX register ο‚ž Verify whether DI has received all zeroes
  • 32. ο‚ž Disable NMI by outputting zero to NMI register at port address X β€˜0A0’ ο‚ž Initialize DMA page register by outputting zeroes at port address X β€˜83’ ο‚ž Disable color video by outputting zeroes to mode control register at port address X β€˜3D8’ ο‚ž Disable monochrome display & set high resolution mode by outputting X ’01;
  • 33. ο‚ž Program the PPI as follows: 1. Port A and Port B output vectors 2. Port C input port ο‚ž Binary pattern 10100101 is outputted to PPI port B
  • 34. ο‚ž Output X’01’ on port A of PPI ο‚ž Give FE000 as the start address & enter subroutine ROM checksum ο‚ž It performs XOR of contents of all locations in 8k ROM ο‚ž If (checksum==0) the ROM contents are OK ο‚ž If (checksumβ‰ 0) it indicates failure of ROM checksum test
  • 35. ο‚ž Output X β€˜02’ on port A in PPI ο‚ž Output X β€˜04’ on port X β€˜08’ to disable DMA controller ο‚ž Program the Timer 1 for mode 2 ο‚ž Output zero as initial value to Timer 1 ο‚ž Latch Timer 1 ο‚ž Set an initial value in Timer 1 ο‚ž Latch Timer 1 count ο‚ž Read Timer 1 count and if it counts too slow or fast the POST halts the processor
  • 36. ο‚ž Tests DMA channel address registers ο‚ž Tests count registers in all channels in DMA Controller chip,8237 ο‚ž If there is an error the POST halts the processor at FE12D
  • 37. ο‚ž Channel 0 of DMA controller is initialized with appropriate start address and byte count values ο‚ž It does memory refreshing when Timer 1 sends DMA request signal
  • 38. ο‚ž After initializing channel 0 for memory refresh and starting the memory refresh, the POST sets modes for DMA channel 2 and 3 I/0 EXPANSION BOX ENABLING ο‚ž Done by outputting X β€˜01’ on port X β€˜1302’
  • 39. ο‚ž The first location is written with a pattern X β€˜00’ and read back ο‚ž The POST repeats the above test for all patterns X’01’ to X’FF’ on first location ο‚ž The POST tries 5 patterns namely AA,FF,55,00,01 on first location ο‚ž The POST indicates two types of failures: ο‚‘ The pattern written and pattern read are different ο‚‘ The pattern written and pattern read maybe same but there is parity error during reading
  • 40. ο‚ž The POST finds out the total system memory including motherboard RAM and RAM on expansion boards ο‚ž The total program memory allowed is 640K Bytes
  • 41. ο‚ž A portion of 16K DRAM can be used as stack for the remaining POST programs ο‚ž The POST initializes the stack pointer and stack segment register
  • 42. ο‚ž Programs the 8259 by issuing a set of control words:ICW1,ICW2,ICW4 ο‚ž In PC, 8259 is operated in 8086 mode not in 8085 mode ο‚ž No cascading ο‚ž Masks all interrupts by sending a mask pattern FF to PIC
  • 43. ο‚ž Writes a temporary set of interrupt vectors in the initial portion of the first 16K DRAM. ο‚ž Establishes β€œBIOS subroutine call interrupt vectors”
  • 44. ο‚ž The DIP switch block contains 8 switches ο‚ž The POST reads the 8 switches & store the 8 bit pattern in a memory location ο‚ž The 8 switches are sensed by POST through port C
  • 45. ο‚ž Configuration includes information of type of display adapter attached ο‚ž Four possibilities are: ο‚‘ No display adapter ο‚‘ CGA in 40X30 mode ο‚‘ CGA in 80X25 mode ο‚‘ MDA for both MDA and CGA
  • 46. ο‚ž Failure is indicated by long-short-short beeps. ο‚ž POST goes ahead with subsequent tests ο‚ž During Warm Boot, the POST skips the video RAM test
  • 47. ο‚ž POST enables video ο‚ž Sets the mode by programming mode control register ο‚ž POST stores blanks in reverse video form in video corresponding to the top of the screen ο‚ž The horizontal bar display will stay only for a few seconds
  • 48. ο‚ž Reads the CRT status port ο‚ž Verifies timing of video signal & horizontal sync signal ο‚ž POST produces speaker beeps on sensing any error
  • 49. ο‚ž Sets and Resets Interrupt Mask Register ο‚ž Looks for the presence of spurious interrupt ο‚ž POST displays error code 101 on CRT Monitor on detecting error
  • 50. ο‚ž Checks 1. Whether Timer 0 interrupt occurs or not? 2. Is Timer 0 counting too slowly? i.e.,slow interrupts 3. Is Timer 0 counting too fast? i.e.,fast interrupts
  • 51. ο‚ž Resets the keyboard ο‚ž Keyboard sends a scancode ο‚ž Keyboard interrupt is raised by keyboard interface ο‚ž Then POST reads scancode through PPI Port A ο‚ž If scancode is other than X β€˜AA’, the POST displays an error message on CRT screen
  • 52. ο‚ž A data pattern X ’55 55’ is written on expansion box adapter board ο‚ž Is same data is received from port, the I/O box is present else it’s absent
  • 53. ο‚ž Same as first 16K DRAM Test ο‚ž Test patterns are AA,55,FF,01 and 00 ο‚ž On detecting error, the POST displays a detailed message on CRT screen giving the following information: ο‚‘ Failing location: Address ο‚‘ Failing bits pattern
  • 54. ο‚ž BASIC ROM is present as four 8K ROMs in IBM PC ο‚ž Detects the presence of BASIC ROM ο‚ž If present it performs checksum calculation of contents of BASIC ROM ο‚ž If not, POST displays the failing ROM’S Start address followed by the word β€˜ROM’ Eg., F6000 ROM
  • 55. ο‚ž POST Detects the presence of parallel ports by writing data on O/P data port & reading through I/P data port ο‚ž If the data received is same, printer controller is present ο‚ž If not, POST checks for next Parallel ports SERIAL PORTS SET UP ο‚ž Checks for the presence of serial ports ο‚ž Updates Equipment Flag table
  • 56. ο‚ž Enables interrupt controller ο‚ž Checks for errors ο‚ž On detecting error , it gives 2 short beeps and displays ERROR(RESUME=β€˜F1’ KEY) ο‚ž Gives one short beep indicating the reliability test is successful
  • 57. ο‚ž POST enables NMI by removing mask from the NMI register ο‚ž NMI will be generated by hardware if RAM parity check error is present ο‚ž 8088 is unaware Of external masking of NMI by software
  • 58. ο‚ž Bootstrap is the process of loading a set of instructions when a computer is first turned on or booted. ο‚ž During the start-up process, diagnostic tests are performed that set or check configurations and implement routine testing for the connection of peripherals, hardware and external memory devices. ο‚ž The bootloader or bootstrap program is then loaded to initialize the OS.
  • 59.
  • 60.
  • 61. ο‚ž 100-199 Motherboard ο‚ž 200-299 RAM or Memory ο‚ž 300-399 Keyboard ο‚ž 400-499 Video Mono ο‚ž 500-599 Video Color ο‚ž 600-699 Floppy Drive ο‚ž 700-799 Math Co-Processor ο‚ž 900-999 LPT1 ο‚ž 1000-1099 LPT2 ο‚ž 1100-1199 COM 1 ο‚ž 1200-1299 COM 2 ο‚ž 17xx Hard Disk Controller ο‚ž 3xxx NIC ο‚ž 86xx Mouse
  • 62. Beep Meaning 1 short beep Normal POST – system is OK 2 short beeps POST error – error code shown on screen No beep Power supply, system board problem, disconnected CPU, or disconnected speaker Continuous beep Power supply, system board, or keyboard problem Repeating short beeps Power supply or system board problem or keyboard 1 long, 1 short beep System board problem 1 long, 2 short beeps Display adapter problem (MDA, CGA) 1 long, 3 short beeps Enhanced Graphics Adapter problem (EGA) 3 long beeps 3270 keyboard card
  • 63. Color Meaning Red Bad ROM Yellow CPU Exception Before Bootstrap Code is Loaded Green Bad Chip RAM or fail of Agnus Chip (check seating of Agnus) Black No CPU White Expansion passed test successfully Grey Turn on Constant white Failure of CPU