201030614 六、發明說明: 【發明所屬之技術領域】 本案係為-種基本輸入輪出系統的控制方法,尤指一 種於基本輸入輸出系統利用一圖形化使用者介面來調整系 統參數的控制方法。 【先前技術】 目别電腦系統關機時,_用—巾央處理^ (c她ai Proce赚Unit ’ CPU)來執倾存在外部記紐内之基本 輸出入系統(Basic Input/〇utpm System,以下簡稱為m〇s ) 程式以完成開機的動作。此外部記憶體一般為非揮發性記 憶體(N〇n-volatile mem〇ry),而BI〇s程式則是主機板硬 體系統上最基本的韌體程式(flrmwarepr〇gram)碼,主要 的功能為電腦系統開機時的自我測試(ρ_Γ 〇n娜侧, POST)、初始化動作(lnitialize)、記錄電腦系統設定值、 以及提供常駐程式庫。201030614 VI. Description of the Invention: [Technical Field of the Invention] This case is a control method for a basic input wheeling system, and more particularly a control method for adjusting a system parameter using a graphical user interface in a basic input/output system. [Prior Art] When the computer system is shut down, _ use the towel to process ^ (c her ai Proce earn Unit 'CPU) to implement the basic input and output system in the external memory (Basic Input / 〇utpm System, below Referred to as m〇s) program to complete the boot action. The external memory is generally non-volatile memory (N〇n-volatile mem〇ry), and the BI〇s program is the most basic firmware program (flrmwarepr〇gram) code on the motherboard hardware system. The function is self-test (ρ_Γ 娜n na side, POST), initialization action (lnitialize), recording computer system settings, and providing a resident library when the computer system is powered on.
請參見第-圖,其所緣示為習用之電腦系統功能方塊 不思圖。該電腦系統主要包含:一中央處理器12、一晶片 組13(例如包括北橋晶片14及南橋晶片16)以及一 外部記憶體18。其中,BIOS外部記憶體18係用以儲存 BIOS程式。一般來說,將BI〇s程式壓縮後會儲存於bi〇s 外部圮憶體18 ;因此,當使用者將電腦系統啟動開關壓下 後’中央處理器12會先從BIOS外部記憶體18中提取BIOS 201030614 程式並解壓縮至-動態隨機存取記憶體(Dy_icRand〇m Access Mem〇ry,DRAM) 15 ’接著執行 m〇s 程式,並偵 測電腦系統中的硬體貧訊,例如中央處理器資料、開機順 序、硬碟大小、晶片組工作狀態以及記憶體的時脈等;於 此階段中,刪程式也會對基本硬體,如記憶體(Computer memory)、顯示卡㈤e〇咖,細邮以以及主機 板晶片組做初始化動作,並開始執行開機自我測試。在執 ❹ 行賴機自我賴後,BIGS程式開機成功,此時電腦系統 即可啟動作業系統。 簡單來說BIOS程式就是與硬體溝通的核心微小作業 ‘祕;由於現今制軟硬體的發展日新月異,腿s程式的 功能也隨之演進及增加。雖然BI〇s程式在功能上有所增 加,但是其基本介面與應用方式卻都沒有太大的改變。^ 例來說’請參見第二圖’其所缘示為習用BI〇s程式之超 頻使用者介面。如圖中所示’習用之BI〇s程式超頻介面 Φ 純粹是以文字的方式呈現,當使用者選擇調整中央處理器 12的電壓時,所面對的也是生硬的文字選項,如圖中視窗 -内所標示的議v、〇.贿、咖v等文字選項、。相 - 同地,其它的選項例如CPU倍頻、CPU外頻、dram電 壓等’所能呈現的也僅是文字而已。 私 【發明内容】 本發明之-實施例係提出-種基本輸入輪出系統的控 制方法,應用於一電腦系統,該方法包含下列步驟:於電 5 201030614 數 而對應出 腦系統開機過財,因應—使用者觸發 ,程式事件,進而執行—圖形化效能奴能 f能設定程式取得電腦系統之效能參數並產生二: 頻圖形卡基本輪出輸入系統 電腦系統之效能參數_化輸出至—顯示的 一使用者超頻介面。 進而產生Please refer to the figure, which is the function of the computer system function block. The computer system mainly comprises a central processing unit 12, a chip set 13 (including, for example, a north bridge wafer 14 and a south bridge wafer 16) and an external memory 18. The BIOS external memory 18 is used to store the BIOS program. In general, the BI〇s program is compressed and stored in the external memory 18; therefore, when the user presses the computer system startup switch, the central processing unit 12 will first access the external memory 18 from the BIOS. Extract the BIOS 201030614 program and decompress it into -Dynamic Random Access Memory (Dy_icRand〇m Access Mem〇ry, DRAM) 15 ' Then execute the m〇s program and detect the hardware poor in the computer system, such as central processing Device data, boot sequence, hard disk size, chipset working status, and memory clock; in this stage, the program will also be used for basic hardware, such as memory (Computer memory), video card (5) e〇, The fine mail and the motherboard chipset are initialized and the boot self test is started. After the implementation of the BIGS program, the BIGS program is successfully booted, and the computer system can start the operating system. Simply put, the BIOS program is the core micro-operation with the hardware. ‘Secure; due to the rapid development of today’s software and hardware, the function of the leg s program has evolved and increased. Although the BI〇s program has increased in functionality, its basic interface and application methods have not changed much. ^ For example, please refer to the second figure, which is shown as the overclocking user interface of the conventional BI〇s program. As shown in the figure, the conventional BI〇s program overclocking interface Φ is purely presented in text. When the user chooses to adjust the voltage of the central processing unit 12, it is also faced with a blunt text option, as shown in the figure. - Text options such as v, 〇, bribe, coffee v, etc. In the same place, other options such as CPU multiplier, CPU FSB, dram voltage, etc. can only be presented as text. [Invention] The present invention provides a control method for a basic input wheeling system, which is applied to a computer system. The method includes the following steps: the power of the brain is turned on, and the brain system is turned on. In response to user triggers, program events, and then execution - graphical performance slaves can set the program to obtain the performance parameters of the computer system and generate two: frequency graphics card basic round input system performance parameters of the computer system _ output to - display A user overclocking interface. Generate
本發明基本輪入輸出系統的控制方法, 發啟動_化效缺定程式事件時,_^^觸 疋程式來取得崎電㈣朗效能參數 電腦系統錢參如__方式糾錢轉i的現盯 為讓本發明之上述特徵和優點能更明顯易懂 舉較佳實施例,並配合所附圖式,作詳細說明如下。文特 【實施方式】 見第―® ’其所繪示為本發日月所提出電腦系統之 一較佳#_功能方塊示意圖。該電㈣統主要包含:一 中央處理器(CPU) 3G、-輸人裝置(InputDeviee) 35、 一顯示裝置(D_yDeviee) 36、—動賊機存取記憶體 (Dynamic Random Access Memory ’ 以下簡稱 dram ) 34、 一 BIOS外部記憶體38以及信號連接於上述裝置之一晶片 組32(例如包括北橋晶片及南橋晶片入其中bi〇s外部記 憶體38内部儲存一基本輸出入系統(BI〇s)程式以及壓 縮的一圖形化效能設定程式381。 201030614 而本發明所提出之圖形化超頻使用者介面的方法便係 利用圖形化效能設定程式381來改變習用之BIOS程式的 超頻使用者介面。 首先,制盯一應用程式介面(Application Programming Interface ’ API),使其作為BI0S程式與圖形化效能設定程 式381的中介軟體(middleware)。圖形化效能設定程式381 可透過此應用程式介面取得現行的電腦系統效能參數或現 有電腦系統可支援的最高效能狀態,而該電腦系統效能參 數通常儲存於電腦系統中一互補式金屬氧化半導體儲存器 (Complementary Metal Oxide Semiconductor RandomThe basic wheel-in and output system control method of the invention, when the start-up _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The above-described features and advantages of the present invention will become more apparent from the detailed description of the invention. Venter [Embodiment] See the ―® ’, which is a schematic diagram of a preferred #_ function block of the computer system proposed in this issue. The electric (four) system mainly includes: a central processing unit (CPU) 3G, an input device (InputDeviee) 35, a display device (D_yDeviee) 36, a dynamic random access memory (hereinafter referred to as dram) 34. A BIOS external memory 38 and a signal connected to one of the above-mentioned devices, the chipset 32 (for example, including a north bridge chip and a south bridge chip into which a basic input/output system (BI〇s) program is stored inside the external memory 38. And a compressed graphical performance setting program 381. 201030614 The method of the graphical overclocking user interface proposed by the present invention uses the graphical performance setting program 381 to change the overclocking user interface of the conventional BIOS program. An application programming interface (API) is used as a middleware for the BI0S program and the graphical performance setting program 381. The graphical performance setting program 381 can obtain the current computer system performance through the application interface. The highest performance status supported by the parameters or the existing computer system, and the performance of the computer system A computer system is typically stored in a Complementary Metal Oxide Semiconductor reservoir (Complementary Metal Oxide Semiconductor Random
Access Memory,CMOS RAM,以下簡稱 CMOS )。例如中 央處理器30的電壓、溫度、使用率以及運作頻率等相關的 電腦系統效能參數。 其次,當電腦系統開啟後,BIOS程式會開始進行自我 測試(POST)以及進行初始化的動作,包含將晶片組32 或顯示卡内部所儲存的視頻圖形卡基本輸出輸入系統 (VGA BIOS » Video Graphics Adapter Basic Input and Output System )解壓縮至DRAM 34並初始化顯示卡(Video Graphics Array ’ VGA)圖形晶片、初始化輸入裝置35及 其他週邊裝置等動作。並且於上述的過程中,BIOS程式會 持續檢查使用者是否觸發啟動圖形化效能設定程式381的 事件,一旦使用者觸發啟動圖形化效能設定程式381的事 件時(例如使用者按壓一熱鍵(Hotkey )),BIOS程式便會 將圖形化效能設定程式381解壓縮至DRAM 34並執行。 承上述,當圖形化效能設定程式381啟動後便會透過 7 201030614 先前所制訂的應用程式介面(API)向CMOS取得現行電 腦系統效能參數,並產生一中斷函數;其中該中斷函數至 少包含一 INTlOh中斷向量(第1〇號中斷)。並利用所產 生的INTlOh中斷向量呼叫VGABIOS對應此INTlOh中斷 向量所提供的中斷服務程式,並藉由此中斷服務程式將文 字模式(textmode)改為圖形模式(graphic mode)並將現 行電腦系統效能參數以圖形化的方式呈現於顯示裝置 36,進而產生一圖开^化的使用者超頻介面。如第四圖所示, 其所繪示為圖形化超頻使用者介面之一較佳實施例示意 圖。如圖巾所示,圖形化效能設定程式381藉由應用程式 介面(API)取得現行電腦系統效能參數並利用ν(}ΑΒ·Access Memory, CMOS RAM, hereinafter referred to as CMOS). For example, the voltage, temperature, usage rate, and operating frequency of the central processor 30 are related to computer system performance parameters. Secondly, when the computer system is turned on, the BIOS program will start self-test (POST) and perform initialization operations, including inputting the basic output of the video graphics card stored in the chipset 32 or the display card into the system (VGA BIOS » Video Graphics Adapter). The Basic Input and Output System is decompressed to the DRAM 34 and initializes the display card (Video Graphics Array ' VGA) graphics chip, the initialization input device 35, and other peripheral devices. In the above process, the BIOS program continuously checks whether the user triggers the event of starting the graphical performance setting program 381, and once the user triggers the event of starting the graphical performance setting program 381 (for example, the user presses a hot key (Hotkey) )), the BIOS program will decompress the graphical performance setting program 381 to the DRAM 34 and execute it. In the above, when the graphical performance setting program 381 is started, the current computer system performance parameter is obtained from the CMOS through the application interface (API) previously developed by 7 201030614, and an interrupt function is generated; wherein the interrupt function includes at least one INTlOh Interrupt vector (1st nickname interrupt). And use the generated INTlOh interrupt vector to call the VGABIOS corresponding to the interrupt service program provided by the INTlOh interrupt vector, and thereby change the text mode (graphic mode) to the graphic mode and the current computer system performance parameter by the interrupt service program. The display device 36 is presented in a graphical manner to generate a user overclocking interface. As shown in the fourth figure, it is illustrated as a schematic diagram of a preferred embodiment of a graphical overclocking user interface. As shown in the figure, the graphical performance setting program 381 obtains the current computer system performance parameters through the application interface (API) and utilizes ν(}ΑΒ·
所提供的巾斷服務程式將所取得的現行電腦钱效能參數 以圖形化的方式呈現。例如时麟示的電壓監控視窗 、溫度監控視窗402、風扇轉速視窗4〇3、主杵制功能 鍵404、處理器使用資源4〇5、處理器運作頻率4(^等。使 用者便可於此圖形化使用者超齡面調整各項電腦系統效 能參數’當制者碰完錢儲存其設定後,圖形化效能 設定程式381便可自行或透過應用程式介面(A⑴來相 對改變電腦㈣㈣的效能參數設定,並於提示使用者重 新開機的訊息後自動重啟電腦系統。 _ 一…从此5又疋程式381的前 挺必須是顯不卡圖形晶片與輸人裝置%初始化。也就是 說,當上述兩者已初始化且使用者已觸發啟動圖形化= 設定程式划的事件,腦程式才會將圖形 式381解壓縮至舰Μ 34並執行。而在初始化的過程中 8 201030614 BIOS程式可藉由-旗標(Fiag)來判別使用者是否觸發啟 動圖开y化效身b„又疋程式381的事件。當使用者未觸發啟動 圖形化效能設定料381的事件時,旗觸為—低準位 ;當使用者觸發啟動圖形化效能設定程式μ〗的事件 % (例如使用者按壓—熱鍵),旗標係為一高準位(ή)。 舉例來說,若使用者於輸人裝置%已初始化靖示卡圖形 晶片未初始化時觸發啟動圖形化效能設定程式381的事件 (例如使用者按麼一熱鍵),旗標便會切換為高準位(Η) 狀/i ’當顯示卡圖形晶片初始化後,励8程式便會因應旗 標處於高準位狀態而將圖形化效能設定程式381解壓縮至 DRAM 34並執行。也就是說,觸發啟動圖形化效能設定程 式381事件的前提必須是輸入裝置35已初始化;而bi〇s 程式將圖形化效能設定程式381解壓縮至DRAM 34並執 行的前提必須是輸入裝置35及顯示卡圖形晶片已初始化。 另外,所述之熱鍵可為一般電腦系統之輸入裝置35 上之一按鈕(例如一般常見之電腦鍵盤),或電腦主機機殼 上一仏號連接至晶片組32所包含之通用輸入輸出(GeneralThe provided towel service program presents the current computer money performance parameters in a graphical manner. For example, the voltage monitoring window of the time display, the temperature monitoring window 402, the fan speed window 4〇3, the main control function key 404, the processor using the resource 4〇5, the processor operating frequency 4 (^, etc., the user can This graphical user overages adjusts the performance parameters of various computer systems. After the system has finished storing the settings, the graphical performance setting program 381 can change the performance parameters of the computer (4) (4) by itself or through the application interface (A(1). Set, and automatically restart the computer system after prompting the user to restart the message. _ A... From then on, the program 381 must be initialized with the graphics chip and the input device %. That is, when the above two The user has initialized and the user has triggered the start of the graphical = set program event, the brain program will decompress the graphical form 381 to the ship 34 and execute. In the process of initialization 8 201030614 BIOS program can be used by - flag The flag (Fiag) is used to determine whether the user triggers the event of starting the graph and the program 381. When the user does not trigger the event of starting the graphical performance setting 381 The flag is the low level; when the user triggers the event % of starting the graphical performance setting program μ (for example, the user presses the hot key), the flag is a high level (ή). For example, If the user triggers the event of starting the graphical performance setting program 381 when the input device % has initialized the avatar graphics chip is not initialized (for example, the user presses a hot key), the flag will switch to the high level (Η) ) /i ' When the graphics card graphics chip is initialized, the excitation 8 program decompresses the graphical performance setting program 381 to the DRAM 34 and executes it in response to the flag being at a high level. That is, triggering the startup graphics The premise of the performance setting program 381 event must be that the input device 35 has been initialized; and the bi〇s program decompresses the graphical performance setting program 381 to the DRAM 34 and must be executed on the premise that the input device 35 and the graphics card graphics chip have been initialized. The hotkey can be a button on the input device 35 of a general computer system (for example, a commonly used computer keyboard), or an nickname on the computer mainframe casing is connected to the chipset 32. GPIO (General
Purpose Input/Output,GPI0)接腳的按叙。 請參見第五圖,其所繪示為圖形化超頻使用者介面之 一較佳實施例步驟流程圖。當電腦系統開啟後(步驟 501)’ BIOS程式開始初始化電腦系統之週邊裝置,包含初 始化顯示卡圖形晶片及輸入裝置(步驟502)。並於顯示卡 圖开>晶片及輪入裝置初始化完成後,檢查使用者是否觸發 啟動圖形化效能設定程式381事件,例如檢查一旗標之準 位狀態(步驟503)。若旗標處於低準位(L)狀態,代表 201030614 使用者未觸發啟動圖形化效能設定程式381的事件,則 BIOS程式繼續執行後續的開機自我測試(步驟5〇6)。反 之’若旗標處於高準位(H)狀態,則代表使用者已觸發 啟動圖形化效能設定程式381的事件(例如使用者按壓一 熱鍵)’ BIOS程式便將圖形化效能設定程式381解壓縮至 DRAM 34並執行;爾後,圖形化效能設定程式381便透過 應用程式介面(API)取得現行電腦系統效能參數並利用 VGA BIOS所提供的iNTl〇h中斷服務程式將文字模式 (text mode )改為圖形模式(m〇de )並將所取得的 現行電腦系統效能參數以圖形化的方式輸出至顯示裝置 36供使用者調整(步驟5〇4)。此時,使用者便可於此圖形 化的超頻使用者介面調整各項電腦系統效能參數,圖形化 效能設定程式381便可透過應用程式介面(Αρι)而相對 改變電腦系統内部的效能參數設定。當使用者調整完畢並 儲存其設定後,圖形化效能設定程式381可提示使用者重 新開機的訊息並自動重啟電腦系統(步驟5〇7)。若使用者 未對電腦系統的效能參數進行調整,則圖形化效能設定程 式381結束後可再次變更為文字模式,並由BI〇s程式繼 續執行後續的開機自我測試(步驟5〇6)。 綜上所述,本發明所提出之圖形化超頻使用者介面的 方法最主要的技術特徵便係當使用者觸發啟動圖形化效能 設定程式事件時,利用一圖形化效能設定程式來取得現行 電腦系統的效能參數並將所取得的現行電腦系統效能參數 以圖形化的方式輪出至顯示裝置。 雖然本發明已以較佳實施例揭露如上,然其並非用以 201030614 限定本發明,任何所屬技術領域中具有通常知識者, 2離本發明之精神和範_,#可作些許之更動與潤飾, 因此本發明之倾難當錢附之”翻細所界定者 為準。另外’本發明的任一實施例或申請專利範圍不須達 成本發明所揭露之全部目的或優點或特點。此外,摘要部 刀和標題僅疋絲伽專敎件搜尋之用,並非用來限制 本發明之權利範圍。 【圖式簡單說明】 本案得藉由下列圖式及說明,俾得一更深入之了解: 第一圖為習用之電腦系統功能方塊示意圖。 第二圖為習用BIOS程式之超頻使用者介面。 第三圖為本發明所提出電腦系統之一較佳實施例功能方塊 示意圖。 第四圖為圖形化超頻使用者介面之一較佳實施例示意圖。 第五圖為圖形化超頻使用者介面之一較佳實施例步驟流程 圖。 【主要元件符號說明】 本案圖式中所包含之各元件列示如下: 中央處理器12、30 北橋晶片14 南橋晶片16 BIOS外部記憶體18 動態隨機存取記憶體15、34 晶片组13、32 11 201030614 視窗20 圖形化效能設定程式381 顯示裝置36 溫度監控視窗402 主控制功能鍵404 • 處理器運作頻率406 BIOS外部記憶體38 輸入裝置35 電壓監控視窗401 風扇轉速視窗403 處理器使用資源405Purpose Input/Output, GPI0) The reference of the pin. Please refer to the fifth figure, which is a flow chart of a preferred embodiment of a graphical overclocking user interface. When the computer system is turned on (step 501), the BIOS program starts initializing the peripheral devices of the computer system, including initializing the graphics card graphics chip and the input device (step 502). After the initialization of the display card & the wafer and the wheeling device is completed, it is checked whether the user triggers the activation of the graphical performance setting program 381 event, for example, checking the status of a flag (step 503). If the flag is in the low level (L) state, indicating that the 201030614 user has not triggered the event to start the graphical performance setting program 381, the BIOS program continues to perform the subsequent power-on self-test (steps 5-6). Conversely, if the flag is in the high level (H) state, it means that the user has triggered the event of starting the graphical performance setting program 381 (for example, the user presses a hotkey). The BIOS program will decode the graphical performance setting program 381. Compressed to DRAM 34 and executed; then, the graphical performance setting program 381 obtains the current computer system performance parameters through the application interface (API) and uses the iNTl〇h interrupt service program provided by the VGA BIOS to change the text mode (text mode). The graphics mode (m〇de) is graphically outputted to the display device 36 for user adjustment (step 5〇4). At this time, the user can adjust various computer system performance parameters through the graphical overclocking user interface, and the graphical performance setting program 381 can relatively change the performance parameter setting inside the computer system through the application interface (Αρι). After the user has adjusted and saved its settings, the graphical performance setting program 381 can prompt the user to restart the message and automatically restart the computer system (step 5:7). If the user does not adjust the performance parameters of the computer system, the graphical performance setting program 381 can be changed to the text mode again, and the subsequent startup self-test is continued by the BI〇s program (steps 5-6). In summary, the main technical feature of the method for graphical overclocking user interface proposed by the present invention is to use a graphical performance setting program to obtain the current computer system when the user triggers the activation of the graphical performance setting program event. The performance parameters and the obtained current computer system performance parameters are graphically rotated out to the display device. Although the present invention has been disclosed above in the preferred embodiments, it is not intended to limit the present invention to 201030614, and any one of ordinary skill in the art, 2 may make some modifications and refinements from the spirit and scope of the present invention. Therefore, the invention is not limited to the scope of the invention, and the scope of the invention is not required to achieve all the objects or advantages or features disclosed herein. Knives and headings are only used for the search of the 疋 伽 敎 , , , , 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 The figure shows a functional block diagram of a computer system. The second figure is an overclocking user interface of a conventional BIOS program. The third figure is a functional block diagram of a preferred embodiment of the computer system of the present invention. The fourth figure is a graphical overclocking. A schematic diagram of a preferred embodiment of the user interface. The fifth figure is a flow chart of the steps of a preferred embodiment of the graphical overclocking user interface. Explanation: The components included in the diagram of the present invention are listed as follows: CPU 12, 30 Northbridge wafer 14 Southbridge wafer 16 BIOS external memory 18 Dynamic random access memory 15, 34 Chipset 13, 32 11 201030614 Window 20 Graphical performance setting program 381 Display device 36 Temperature monitoring window 402 Main control function key 404 • Processor operating frequency 406 BIOS external memory 38 Input device 35 Voltage monitoring window 401 Fan speed window 403 Processor usage resource 405
1212