PhoenixBIOS 4.0 Release 6.0 POST Tasks and Beep


Terminal POST Errors
There are several POST routines that require success to finish POST. If they
fail, they issue a POST Terminal Error and shut down the system. Before
shutting down the system, the error handler issues a beep code signifying the
test point error, writes the error to port 80h, attempts to initialize the video,
and writes the error in the upper left corner of the screen (using both mono
and color adapters).
PhoenixBIOS 4.0 Release 6.0
The routine derives the beep code from the test point error as follows:
POST Tasks and Beep Codes
When you turn on or reset an IBM-compatible PC, the BIOS first performs a
number of tasks, called the Power-On-Self-Test (POST). These tasks test
and initialize the hardware and then boot the Operating System from the hard
disk.
1.
The 8-bit error code is broken down to four 2-bit groups.
2.
Each group is made one-based (1 through 4) by adding 1.
3.
Short beeps are generated for the number in each group.
Example:
Testpoint 16h = 00 01 01 10 = 1-2-2-3 beeps
At the beginning of each POST task, the BIOS outputs the test-point error
code to I/O port 80h. Programmers and technicians use this code during
trouble shooting to establish at what point the system failed and what routine
was being performed. Some motherboards are equipped with a sevensegment LED display that displays the current value of port 80h. For
production boards which do not contain the LED display, you can purchase
an installable "Port 80h" card that performs the same function. If the BIOS
detects a terminal error condition, it issues a terminal-error beep code (See
following), attempts to display the error code on upper left corner of the
screen and on the port 80h LED display, and halts POST. It attempts
repeatedly to write the error to the screen. This attempt may "hash" some
CGA displays.
POST Task Routines
The following is a list of the Test Point codes written to port 80h at the start
of each routine, the beep codes issued for terminal errors, and a description
of the POST routine. Unless otherwise noted, these codes are valid for
PhoenixBIOS 4.0 Release 6.0.
NOTE: The following routines are sorted by their test point numbers
assigned in the BIOS code. Their actual order as executed during POST can
be quite different.
Code
02h
03h
04h
06h
08h
09h
0Ah
0Bh
0Ch
0Eh
If the system hangs before the BIOS can process the error, the value
displayed at the port 80h is the last test performed. In this case, the screen
does not display the error code.
Copyright © 1997 by Phoenix Technologies Ltd.
All Rights Reserved
Phoenix Technologies Ltd.
Desktop Division
135 Technology Drive
Irvine, CA 92618
http://www.phoenix.com
1
Beeps
POST Routine Description
Verify Real Mode
Disable Non-Maskable Interrupt (NMI)
Get CPU type
Initialize system hardware
Initialize chipset with initial POST values
Set IN POST flag
Initialize CPU registers
Enable CPU cache
Initialize caches to initial POST values
Initialize I/O component
PhoenixBIOS 4.0 Release 6
Code
0Fh
10h
11h
12h
13h
14h
16h
17h
18h
1Ah
1Ch
20h
22h
24h
26h
28h
29h
2Ah
2Ch
2Eh
1-3-4-1
1-3-4-3
2Fh
30h
1-4-1-1
32h
33h
36h
38h
3Ah
3Ch
3Dh
42h
45h
46h
48h
49h
4Ah
4Bh
4Ch
Beeps
1-2-2-3
1-3-1-1
1-3-1-3
2-1-2-3
POST Task Routines
POST Routine Description
Initialize the local bus IDE
Initialize Power Management
Load alternate registers with initial POST values
Restore CPU control word during warm boot
Initialize PCI Bus Mastering devices
Initialize keyboard controller
BIOS ROM checksum
Initialize cache before memory autosize
8254 timer initialization
8237 DMA controller initialization
Reset Programmable Interrupt Controller
Test DRAM refresh
Test 8742 Keyboard Controller
Set ES segment register to 4 GB
Enable A20 line
Autosize DRAM
Initialize POST Memory Manager
Clear 512 KB base RAM
RAM failure on address line xxxx*
RAM failure on data bits xxxx* of low byte of memory
bus
Enable cache before system BIOS shadow
RAM failure on data bits xxxx* of high byte of memory
bus
Test CPU bus-clock frequency
Initialize Phoenix Dispatch Manager
Warm start shut down
Shadow system BIOS ROM
Autosize cache
Advanced configuration of chipset registers
Load alternate registers with CMOS values
Initialize interrupt vectors
POST device initialization
Check ROM copyright notice
Check video configuration against CMOS
Initialize PCI bus and devices
Initialize all video adapters in system
QuietBoot start (optional)
Shadow video BIOS ROM
Code
4Eh
50h
51h
52h
54h
58h
59h
5Ah
5Bh
5Ch
60h
62h
64h
66h
67h
68h
69h
6Ah
6Bh
6Ch
6Eh
70h
72h
76h
7Ch
7Eh
80h
81h
82h
83h
84h
85h
86h
87h
88h
89h
8Ah
8Bh
8Ch
2
Beeps
2-2-3-1
POST Routine Description
Display BIOS copyright notice
Display CPU type and speed
Initialize EISA board
Test keyboard
Set key click if enabled
Test for unexpected interrupts
Initialize POST display service
Display prompt "Press F2 to enter SETUP"
Disable CPU cache
Test RAM between 512 and 640 KB
Test extended memory
Test extended memory address lines
Jump to UserPatch1
Configure advanced cache registers
Initialize Multi Processor APIC
Enable external and CPU caches
Setup System Management Mode (SMM) area
Display external L2 cache size
Load custom defaults (optional)
Display shadow-area message
Display possible high address for UMB recovery
Display error messages
Check for configuration errors
Check for keyboard errors
Set up hardware interrupt vectors
Initialize coprocessor if present
Disable onboard Super I/O ports and IRQs
Late POST device initialization
Detect and install external RS232 ports
Configure non-MCD IDE controllers
Detect and install external parallel ports
Initialize PC-compatible PnP ISA devices
Re-initialize onboard I/O ports.
Configure Motheboard Configurable Devices (optional)
Initialize BIOS Data Area
Enable Non-Maskable Interrupts (NMIs)
Initialize Extended BIOS Data Area
Test and initialize PS/2 mouse
Initialize floppy controller
PhoenixBIOS 4.0 Release 6
Code
8Fh
90h
91h
92h
93h
95h
96h
97h
98h
99h
9Ah
9Ch
9Dh
9Eh
9Fh
A0h
A2h
A4h
A8h
AAh
ACh
AEh
B0h
B2h
B4h
B5h
B6h
B9h
BAh
BBh
BCh
BDh
BEh
BFh
C0h
C1h
C2h
C3h
Beeps
1-2
1
POST Task Routines
POST Routine Description
Determine number of ATA drives (optional)
Initialize hard-disk controllers
Initialize local-bus hard-disk controllers
Jump to UserPatch2
Build MPTABLE for multi-processor boards
Install CD ROM for boot
Clear huge ES segment register
Fixup Multi Processor table
Search for option ROMs. One long, two short beeps on
checksum failure
Check for SMART Drive (optional)
Shadow option ROMs
Set up Power Management
Initialize security engine (optional)
Enable hardware interrupts
Determine number of ATA and SCSI drives
Set time of day
Check key lock
Initialize Typematic rate
Erase F2 prompt
Scan for F2 key stroke
Enter SETUP
Clear Boot flag
Check for errors
POST done - prepare to boot operating system
One short beep before boot
Terminate QuietBoot (optional)
Check password (optional)
Prepare Boot
Initialize DMI parameters
Initialize PnP Option ROMs
Clear parity checkers
Display MultiBoot menu
Clear screen (optional)
Check virus and backup reminders
Try to boot with INT 19
Initialize POST Error Manager (PEM)
Initialize error logging
Initialize error display function
Code
C4h
C5h
C6h
C7h
C8h
C9h
D2h
Code
E0h
E1h
E2h
E3h
E4h
E5h
E6h
E7h
E8h
E9h
EAh
EBh
ECh
EDh
EEh
EFh
F0h
F1h
F2h
F3h
F4h
F5h
F6h
F7h
Continued...
3
Beeps
Beeps
1
POST Routine Description
Initialize system error handler
PnPnd dual CMOS (optional)
Initialize notebook docking (optional)
Initialize notebook docking late
Force check (optional)
Extended checksum (optional)
Unknown interrupt
For Boot Block in Flash ROM
Initialize the chipset
Initialize the bridge
Initialize the CPU
Initialize system timer
Initialize system I/O
Check force recovery boot
Checksum BIOS ROM
Go to BIOS
Set Huge Segment
Initialize Multi Processor
Initialize OEM special code
Initialize PIC and DMA
Initialize Memory type
Initialize Memory size
Shadow Boot Block
System memory test
Initialize interrupt vectors
Initialize Run Time Clock
Initialize video
Initialize System Management Mode
Output one beep before boot
Boot to Mini DOS
Clear Huge Segment
Boot to Full DOS
PhoenixBIOS 4.0 Release 6
POST Task Routines
* If the BIOS detects error 2C, 2E, or 30 (base 512K RAM error), it displays
an additional word-bitmap (xxxx) indicating the address line or bits that
failed. For example, "2C 0002" means address line 1 (bit one set) has failed.
"2E 1020" means data bits 12 and 5 (bits 12 and 5 set) have failed in the
lower 16 bits. Note that error 30 cannot occur on 386SX systems because
they have a 16 rather than 32-bit bus. The BIOS also sends the bitmap to the
port-80 LED display. It first displays the check point code, followed by a
delay, the high-order byte, another delay, and then the low-order byte of the
error. It repeats this sequence continuously.
4