⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e0post.asm

📁 AWARD BIOS源代码,支持的CHIPSET请看文件,有同型号的板子烧上去就可以跑
💻 ASM
📖 第 1 页 / 共 5 页
字号:
;	[]===========================================================[]
;
;	NOTICE: THIS PROGRAM BELONGS TO AWARD SOFTWARE INTERNATIONAL(R)
;	        INC. IT IS CONSIDERED A TRADE SECRET AND IS NOT TO BE
;	        DIVULGED OR USED BY PARTIES WHO HAVE NOT RECEIVED
;	        WRITTEN AUTHORIZATION FROM THE OWNER.
;
; 	[]===========================================================[]
;
;
;		PAGE	60,132
;		TITLE	POST  -- 386 ROM/BIOS POST
;---------------------------------------------------------------------------
;Rev	Date	 Name	Description
;---------------------------------------------------------------------------
;R283	05/06/99 MIL    Add definition:	SPECIAL_PATCH_FOR_EARLY_INIT_VGA
;			:
;			The purpose of this hook to add customization codes
;			in chipset dependent files.
;			(add define in BIOS.CFG & add hook in CHIPPOST.ASM)
;			:
;R282	05/05/99 GAR	Add code for swap kb/mouse for super I/O
;R281	05/04/99 DNL	Fix that cause yellow bang mark on the keyboard device
;			while no legacy keyboard pluged under Win2K
;R280	04/30/99 MCH	Make "Clear_EPA_Area" routine public for E8POST.ASM.
;R253B	04/27/99 KVN	Fixed system shadow write data abnormally by R253.
;			This reason is CPU cache be enabled while memory test
;			and not be disabled until POST_97S.That will cause
;			write IDE HDD parameter wrong data.Now we diabled CPU
;			cache after memory test.This case occur at 2A41800E
;R279	04/20/99 RAY	Prepare CMOS info in stack in POST 11 instead of
;			POST 10 so that CT_EARLY_PM_INIT can use [BP]
;R277	03/22/99 GAR	Enable PS2 mouse in post_62s if support on_now_function
;R276	03/16/99 RAY	NO "Check_K6_CPU" if it is not 586 BIOS
;R271B  03/15/99 KVN	Set DMI/BIOS selector correctly for DMI function 54h
;R275	03/12/99 TNY	Move initial clock generator hook after PCI initaial
;			for patching ICH (Intel).
;R273	02/26/99 RIC	Fixed that "NO_CPU_CLOCK_DISPLAY" definition is not
;			available.
;R249A	02/24/99 DRS	Fixed algorithm bug
;R98C	02/12/99 DRS	This function depends on No_Show_Share_Memory_Size definition
;R271A  02/12/99 STV    Fixed "Clear DMI EVENT LOG POOL" func.
;R164B	02/10/99 GAR	Enable PS2 mouse in post if mouse power on function
;			was selected.
;R272	02/04/99 DRS	This function depends on Hidden_FULL_HALT_MSG definition.
;			The string "Press F1 to continue" will be hidden
;R271   02/04/99 KVN    Fixed DMI function 54h error in POST
;R270	02/03/99 RCH	Move password clearring message display from POST 14
;			to POST 50 to prevent POST screen corrupt for UMA
;			platform.
;R269	02/03/99 KVN	Fixed screen display wrong when none EPA be combined
;R268	01/29/99 PAL	Move Ct_early_shadow hook after Init_Onboard_Generator
;R267	01/29/99 TNY 	Fix display screen error if 2GB memory installed.
;R266	01/28/99 BAR 	Support update ESCD DMI in SMM mode.
;R265	01/27/99 GAR	Add hook Superio_Need_before_Memory_Sizing
;R264	01/26/99 DRS	This function depends on Ct_Special_Do_InPost_60 definition
;			Add a hook procedure in post_60s
;R263	01/26/99 GAR	Support W83627F/HF
;R243C	01/25/99 RCH	Added different custom specific message display
;			capability and restore POST screen to show error
;			message if any errors occured.
;R262	01/25/99 RCH	Added switch "NO_BIOS_DATE_CODE_DISPLAY" to not
;			display BIOS date code onto POST screen.
;R261	01/14/99 PAL	Added RTM_Turbo_Freq hook for e0post.asm in order to
;			avoid show freq. error in POST
;R260	01/11/98 RIC	Add "NO_SHOW_CPU_TYPE_IF_NO_EPA_LOGO" definition.
;R127B	12/31/98 KVN	Change the default year from 98 to 99 if CMOS invalid
;R259	12/31/98 JMS	fixed can't backup CMOS to EEPROM when define
;			"CMOS_BACKUP_SUPPORT" (for Media GX)
;R258	12/30/98 BAR	Fixed error. Can't not Show Enter Password message ,
;			when define "Graphics_Post" and "NO_EPA_LOGO" .
;R257	12/24/98 PHI	Add new function ,that when CMOS checksum error
;			the date default is the date that when BIOS made.
;			Please define Date_DEFAULT_IS_BIOS_MAKE_DAY
;R153B	12/23/98 JMS	R153A Only support GPIO 10~17 to Control KEYLOCK status.
;			now added GPIO 20~27 support
;R222A	12/17/98 GAR	Make keylock funcion effect before memory sizing
;R256	12/12/98 RCH	Discard "Video BIOS Shadow" setup item for platform
;			without ISA Bus support like Intel/i820 & i810 chipset
;R255	12/11/98 KEN	Fixed bug that the mouse cursor is displayed abnormal
;			while using Microsoft IntelliMouse (socalled scroll
;			function or wheel control mouse) in Win98 safe mode,
;			when usb mouse support is enabled and no usb mouse
;			is installed.
;R243B	12/03/98 RCH	Added custom message display location control
;
;R254	11/30/98 RCH	Patch NSTL Generic Interrupt Handler(GIH) testing
;			failure for IRQ 0 ( INT 8H ).
;
;R167E	11/19/98 RIC	If not define "No_Cut_IRQ12_When_No_PS2_Pluged"
;			,force define "Disable_VIA_PS2_In_PCI_RESET" to make
;			system be stable in PCI Reset.
;R167D	11/17/98 RIC	Add "Disable_VIA_PS2_In_PCI_RESET" for VIA_PCI_Reset
;			to fix system hang at PCI Reset in SMC I/O chip.
;R253A	10/20/98 BAR	Fixed Complie error.
;			if define "TEST_ONLY_ONE_MEM_PTN" switch .
;R253	10/20/98 BAR	Modify QuickPost memory test only show counter
;			No used pattren tabel.
;			Clear memory turn on cpu cache to speed up .
;			If Quick Post must test memory please define
;			" QuickPost_ExtMem_Test_Used_Pattern_Tbl " .
;R164A	10/13/98 GAR    move R164 to the time of power down
;R46B	10/02/98 RCH	Modify memory high limit to support DRAM up to 2GB
;			The Intel 440GX chipset support memory up to 2GB.
;R252	09/29/98 RAY	Mask out some unused externals.
;R251	09/28/98 KEN	Added the setup item checking of USB mouse if
;			PS2_SETUPABLE and USB_MOUSE_SUPPORT are defined.
;R250	09/24/98 KGN	Add show Elan400 CPU
;R221G	09/17/98 KVN	Change LS120 drive error for master channel
;R249	09/16/98 KNH	This function depends on Three_FullLogo_CMOS definition
;R248	09/15/98 RAX	Added "Check_KBD_MOUSE_WRONG_PLUG" switch for OEM
;			customer that KBD and mouse of M/B connector can't
;			swap and they wish to check KBD plug in wrong connector.
;R247	09/11/98 LAW	add "POWER_ON_PRESS_SPECIAL_KEY_INTO_SETUP_SUPPORT"
;			for JUMPLESS_SUPPORT press key skip Set jumpless value
;			and auto run setup
;R223C	09/10/98 STV	Fixed save DMI Eveny Log error code
;R243A	09/10/98 RCH	Added POST message control for customerziation
;R246	09/09/98 DNL	Initial ACPI table and AML code late to fix VIA IRQ
;			assign incorrectly problem
;R167C	09/04/98 RIC	Add VIA 596 South Bridge chip Support.
;			(Fixed that System can't reboot/PCI Reset)
;R238A	09/04/98 KVN	Don't fix 16th color for POST message in graphics POST
;			when BIOS.CFG define "No_Show_Graphic_POST_MSG"
;R245	09/03/98 DNL	Fixed some motherboard device no initial while BIOS
;			support simple boot and system restart from WIN 98
;			ACPI mode
;R244	09/03/98 DNL	Fixed Intel TESTVIEW utility report memory size error
;M02	09/02/98 RAY	Adapt Preboot-Agent from code modified by US
;	(05/08/98 TJM)  Block clearing of EPA logo to host term
;
;M01  	09/02/98 RAY	Adapt Preboot-Agent from code modified by US
;	(01/29/98 TJM)  Added MPC 2.0 (Formerly RPB) modifications
;
;R243	08/31/98 RCH	Added specific POST message customerization
;R242A	08/27/98 BAR	Do'nt show IDE change message ,when CMOS Checksum error .
;R221F	08/25/98 KNH	Added some feature for Acer request
;R242	08/24/98 BAR	Added report IDE has changed.
;			Added define "Show_IDE_Changed_Message"
;R223B	08/14/98 KVN	Fixed coding mistack by R223A that will cause POST hang
;			at update GPNV data when "DMI event log" item disable
;R221E	08/12/98 KVN	Added some feature for Acer request
;R241	08/11/98 RCH	Added specfic LCD display for POST code output
;R240	08/05/98 TNY	Fix some chipset WOL fail.
;R239	07/28/98 RCH	Fixed system reset after shutdown from Netware SMP
;			OS if the CPU ID is 0651H for MP platform, due to
;			data stored in segment 4100H was destoried by P6
;			micro codes that are decompressed to 4000:0
;R221D	07/28/98 KVN	Fixed coding mistake that will cause no report battery
;			fail error message
;R238	07/28/98 KVN	Let full screen logo show speed up
;R237	07/24/98 KVN	Added a new switch to always run quick post
;R236	07/23/98 KVN	Change method of decompressing in protect mode
;R235	07/16/98 TNY	Add "WAIT_10_SEC_IF_KB_ERR" option
;R221C	07/16/98 KVN	Request for Acer OEM
;R234	07/14/98 GAR	Add for W83977EF
;R233	07/14/98 RCH	Added MediaGX DSTN LCD controller 9210 display support.
;R232	07/11/98 RAY	Add BIOS.CFG switch: CLEAR_SCREEN_BEFORE_SHOWING_ERRORS
;R230	07/06/98 KVN	Added "NO_EPA_LOGO" switch for graphics post to reduce
;			POST and EPA pattern code size
;R229	07/06/98 RCH	Added a switch to send Keyboard selftest during
;			warm booting for special hardware usage.
;R221B	07/03/98 KVN	1. Added one more error condition for LS120 that not
;			   only Check LS120 drive but also verify bootable
;			   diskette have in LS120 drive.
;			2. Added enter setup message for CMOS checksum or
;			   battery fail error occur
;R228	07/01/98 GAR	Add "Disable_SecondIO_ComLptPort" for
;                       Secondary super I/O
;R223A	06/30/98 STV	Fixed R223 save DMI Eveny Log error code not error
;			code string address.
;R227	06/29/98 KVN	Show TCAV version in POST screen
;R226	06/29/98 KEN	Correct the codes to clear base memory at POST_49s
;			for that the USBRAM used by USB BIOS in base memory is
;			destroyed. But, if 2M flash ROM is used, the USB BIOS
;			can't use base memory anyway.
;R225	06/26/98 DRS	Add No_Automatic_Load_Awdflash_InPOST definition
;			Some customers want to automatically load awdflash.exe,
;			but they don't want this function during POST.
;			They just want to autmaticlly load awdflash.exe in BootBlock.
;R224	06/24/98 TNY	Add "WAIT_KEY_10_SEC" option.
;R221A	06/23/98 KVN	Modified post error screen for acer OEM request
;R223	06/22/98 STV	1.Added POST Errors save in to DMI_EVENT_LOG on
;			  POST_ERROR_TO_DMI_EVENT_LOG definition.The definition
;			  first must DMI_GPNV_SUPPORT definition.
;			2.This function depends on DMI_EVENT_LOG_IN_SETUP definition
;			  & must define EDMI_EVENT_LOG_CMOS, EDMI_EVENT_LOG_CMOS_BIT,
;			  CDMI_EVENT_LOG_CMOS, CDMI_EVENT_LOG_CMOS_BIT
;			  DMI Event Log			: Disabled/Enabled
;			  Clear All DMI Event Log	: No/Yes
;			  View DMI Event Log		: [Enter]
;			  Mark DMI Events as Read	: [Enter]
;			  Event Log Capacity		: Space Available/Space FULL
;			  Event Log Validity		: Valid
;			  NOTE:This function must first DMI_GPNV_SUPPORT &
;			       POST_ERROR_TO_DMI_EVENT_LOG definition.
;R185E	06/18/98 KVN	Change show award logo method in graphics post to
;			save POST spent time
;R203F	06/11/98 KVN	Fixed show secondary EPA error in graphics mode by R203B
;R216d	06/09/98 MAX	Fixed FlashROM CMOS backupData Save to CMOS subroutine
;			function.
;R216c	06/05/98 MAX	Support CMOS default value save to 2M ROM Flash function
;R222	06/05/98 RCH	Added keylock emulation by trapping LID# for super
;			I/O chip - SMC602
;R216b	06/01/98 MAX	Fixed by 1M ROM 4k Unit Only
;R216a	05/26/98 MAX	Change  FLASH_CMOS_Sign  '*CMOS*' lable
;R221	05/25/98 KVN	Added POST error display another logo depand on customer
;			For example:Acer want show japaness error message in
;			POST when any error occur.We need to added some switch
;			in BIOS.CFG as follow:
;				1. "Full_Screen_Logo" or "Graphics_post"
;				2. "Customer_Error_Code_Support"
;			Combine error message logo to BIOS.You just use CBROM.EXE
;			added to be LOGO1 (CBROM/logo1 [filename])
;R220	05/22/98 TNY	Add "Init_Clkgen_At_POST13" option.
;R203E	05/21/98 KVN	Canceled source code and pattern of EPA logo if define
;			'No_EPA_logo' to save BIOS code space
;R219	05/21/98 DRS	This function depends on Show_PS2_UnConnect_Message
;			Report PS/2 mouse don't connect message	error message
;			is "PS/2 Mouse error or no PS/2 mouse present"
;R153A	05/14/98 MIL	Added NS307 Superio's GPIO to Control KEYLOCK status.
;R218	05/12/98 RAX	Added Cyrix VSA save to disk support.
;R217	05/07/98 DRS	This function depends on New_Swap_Fdd_Method
;			The new method is Drive A exists or Drive B exists ,
;			the Floppy Swap function is available.
;R216	05/06/98 MAX	Support FlashROM CMOS backupData Save to CMOS function.
;                       If you want to use it then should define
;                       "CMOS_Default_in_Flash EQU 1" in BIOS.CFG
;R215	04/28/98 KVN	Seprate 2 spurious handle to avoid mask wrong IRQ if
;			soft INT issue and set Int 0-77 vector default to
;			"SPURIOUS_soft_HDLR" subroutine.
;R214	04/24/98 LAW	fixed W839xx serial post_49s press DEL key no respend
;			when power on reset
;R213	04/22/98 KVN	Remove AWARD logo font location to ASCII 251-255 from
;			27-31 and reload ASCII standard font 0-250 after show
;			EPA that to avoid some addon card use ASCII 0-31 font
;			but show wrong character
;R212	04/22/98 DRS	This function depends on LOGO_SHOW_Selectable definition
;			Add item to decide that Full Screen LOGO will be hidden
;R176A	04/22/98 KGN	Add code For HPM resume from disk post information
;R203D	04/17/98 KVN	Fixed compiler error if define "NO_EPA_LOGO"
;R203C	04/15/98 KVN	Display EPA1 in Graphics Post screen for support 2 EPA
;			BIOS (for trend anti virus)
;R203B	04/14/98 LAW	Support secondary Graphics Post screen
;R201B  04/09/98 RCH	Fixed system hang up for Pentium Pro platform due
;			to reading CPU control register CTL3
;R211	04/08/98 RCH	Change CELERON CPU name to "INTEL(R) CELERON(TM)"
;			requested by Intel Taiwan.
;R185D	04/08/98 LAW	modify Show_Graphics_Font proc use memory access to VGA
;			address, becuase is too slow with INT 10h function
;R210	03/31/98 LAW	add "CUT_IRQ12_BY_CT" for KB decode include chipset
;			cut irq12 at post_66s
;R93B	03/31/98 RCH	Fixed second CPU not showed for MP platform if switch
;			"ALWAYS_SHOW_CPU_TYPE" is used
;R203A	03/31/98 KVN	Fixed POST screen will be destroy if not combine secondary
;			EPA logo and BIOS is support 2 EPA
;R93A	03/27/98 RAY	Fix R93 typmatic mistake:
;			It should be ALWAYS_SHOW_CPU_TYPE not
;			ALWAUS_SHOW_CPU_TYPE
;R209	03/27/98 RAY	Add BIOS.CFG option: ALWAYS_MEMORY_TEST to show
;			memory testing no matter it is a warm boot or not
;R208	03/27/98 BAR	Move detect EEPROM code to Xsegment to save E0 code space.
;R207	03/26/98 BAR	Support PMC PM29F002C 2M EEPROM
;R206	03/26/98 KVN	Fixed Chromatic Research,Inc AGP VGA card display POST
;			text be black if system BIOS support graphics POST but
;			not combine LOGO.
;R205	03/26/98 BAR	Support MOSEL V29C51002T EEPROM
;R204	03/20/98 KVN	Fixed initial combine ROM error in 2M BIOS and option
;			ROM are locate 0fff8h-0ffffh(last offset of first 64KB
;			CBROM area).Because it will be destroy by POST_48S
;R203	03/20/98 KVN	Support secondary EPA logo for text mode
;R201A	03/18/98 RIC	Fixed that POST of 586 CPU hang in cache sizing or
;			lose programing MTRR of Cyrix CPU.
;R202	03/18/98 RCH	Added "wait for 3 seconds" instead of "pause" if any
;			POST error occured for specific customer.
;R201	03/16/98 RCH	Re-write P2 MTRR programming method to support memory
;			cacheable range over 512Mb for new PENTIUM II CPUs
;			on both Single and Dual-processor platforms.
;R200	03/13/98 RAY	Add Quiet_POST_SUPPORT
;R199A	03/12/98 KVN	Fixed virus warning be disable by R199
;R199	03/10/98 KVN	Added ChipAwayVirus driver message in POST screen
;R198	03/10/98 DNL	Reduce ACPI S4/BIOS code size to save more space
;R197	03/07/98 RCH	Added a switch "TEST_ONLY_ONE_MEM_PTN" to test memory
;			with a single pattern to speed up POST.
;R196	03/05/98 BAR	Support SGS-THOMSON M29F002T EEPROM
;R187A	02/24/98 RCH	Fixed error coding that cause IRQ 12 can't be used by
;			ISA devices when PS2 mouse is not plugged
;R144A	02/20/98 TNY	Move "Init_Onboard_Sensor" hook to POST_11 from POST_50
;R119B	02/17/98 MIL	Added "EARLY_TV_INIT" hook for MediaGX project to
;			Control CH7003 TV chip (CHIPPOST.ASM).
;R195	02/17/98 TNY	Add "Early_Init_Onboard_Generator" hook on post_8s
;			to support snd-chip enabled/disabled by clk-gen.
;R194	02/17/98 DNL	Set ACPI reserved memory unit is 64K
;R191A	02/11/98 KVN	Fixed full screen logo message on bottom be black
;R87A	02/06/98 BAR	Delete 'Not report FDC error for notebook'
;			NoteBook always no seek Floppy
;R188B	02/06/98 DRS	Fixed bug
;R188A	02/05/98 DRS	Don't trigger ALT-F2 Function Key (INT9) here
;R174C	02/02/98 RCH	Kill unused codes for saving space
;R193	02/02/98 KGN	Add defin No_C8_DF_Shadow_Item for save F000 Code
;			remove C800-DFFF shadow menuitem from bfeature
;R192	02/02/98 KGN	Added Defin KeyMatrix_in_XGROUP for matrix table move
;			to XGROUP
;R191	01/23/98 KVN	Support windows-95 16 colors plate by customer for
;			full screen logo
;R190	01/23/98 BAR	Support Bright Microelectronics Inc. BM29FS020 EEPROM
;R189	01/23/98 RCH	Added switch "NO_HALT_ON_ANY_ERROR" to force booting
;			if any error occured for close system.
;R155A	01/22/98 LAW	added NO_Special_KB_Test for no pci reset chipset
;R188	01/19/98 DRS	Support run awdflash.exe during POST
;R185C	01/16/98 LAW	added show msg for "Graphics_post"
;R127A	01/13/98 RCH	Change the default year from 97 to 98 if CMOS invalid
;R185B	01/06/98 LAW	fixed define "Graphics_post" use MONO card some msg no show
;R187	12/31/97 RCH	Change PS2 mouse install flag from Config_Table to
;			System1_Byte.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -