Onlyavailabletoteaching©2005Mulder1Debug卡的工作原理和顯示代碼的意義工作原理顯示代碼的意義主講人:陳右育精英電腦股份有限公司Onlyavailabletoteaching©2005Mulder2Debugcode何謂Debugcode一組16進位的數字,用來顯示電腦POST過程的代碼Debugcode用途程式測試用電腦故障偵錯用Onlyavailabletoteaching©2005Mulder3Debugcode工作原理原理AWARD或AMIBIOS在POST過程中對80h輸出數值,稱為POSTcode偵錯方式死機或發生錯誤時觀看Debug卡顯示的代碼,並查詢相對的POSTcode來判斷原因Onlyavailabletoteaching©2005Mulder4POSTcode的意義AWARDBIOS6.1AMIcore8Onlyavailabletoteaching©2005Mulder5AWARDBIOSBeforePOST(EarlyinitorBookblockcode)FF–SuperIOearlyinitCF–EnableACPIIOC0–EarlyinitchipsetregisterC1–Test256Kbasememory,fail-beepC3–DecompressBIOScodetoDRAMC5–MovecodetoshadowRAMOnlyavailabletoteaching©2005Mulder6AWARDBIOSPOSTcodePOSTcode08–EnabledKeyboardinterface14–Programchipsetdefaultvalue25–EarlyPCIinit,SMIinit26–ClockgeneratorinitH/Wmonitorinit2B–InitVideoROM2D–Displayinformationonscreen33–Resetkeyboard50–InitUSBOnlyavailabletoteaching©2005Mulder7AWARDBIOSPOSTcode52–Testmemory5D–InitSuperIO65–InitPS/2Mouse6F–Initfloppycontroller75–DetectandinstallIDEdevice7F–IffounderrorReporterror82–IfsetpasswordAskpassword83–WriteCMOSdatetoCMOSRAM8B–InvokeISAROMOnlyavailabletoteaching©2005Mulder8AWARDBIOSPOSTcode94–DisplaysummarytableFF–Boot(INT19h)Onlyavailabletoteaching©2005Mulder9AMIBIOSBeforePOST(EarlyinitorBookblockcode)D1D0D2D3D4D5D6D7D8D9DAE1-E8EC-EEPOST(POSTcode)0304050608C0C1C2C5C6C70A0B0C0E1324302A2C2E333738393A3B3C4050526075787A7C8485878C8D8E90A0A1A4A7A8A9AAABACB100Onlyavailabletoteaching©2005Mulder10AMIBIOSPOSTcode08,C0-C7–CPUinitializes0A,0B,0C,0E–InputdeviceinitKB,Mouse,otherinputdevice13–initchipset30–SMIinit(SystemManagementInterrupt)2A–initotherdevice.Ex:PCI,ISAdevice2C–initVGA2E–initalloutdevice3B–Testmemory7A–initOptionROMOnlyavailabletoteaching©2005Mulder11謝謝!