TWI400654B - Display method for boot device sequence - Google Patents

Display method for boot device sequence Download PDF

Info

Publication number
TWI400654B
TWI400654B TW98122337A TW98122337A TWI400654B TW I400654 B TWI400654 B TW I400654B TW 98122337 A TW98122337 A TW 98122337A TW 98122337 A TW98122337 A TW 98122337A TW I400654 B TWI400654 B TW I400654B
Authority
TW
Taiwan
Prior art keywords
boot device
boot
sequence
random access
access memory
Prior art date
Application number
TW98122337A
Other languages
Chinese (zh)
Other versions
TW201102923A (en
Inventor
Sheng Hsin Lo
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW98122337A priority Critical patent/TWI400654B/en
Publication of TW201102923A publication Critical patent/TW201102923A/en
Application granted granted Critical
Publication of TWI400654B publication Critical patent/TWI400654B/en

Links

Landscapes

  • Stored Programmes (AREA)

Description

開機裝置序列的顯示方法Display method of boot device sequence

本發明係有關於一種開機裝置序列的顯示方法,特別是一種在開機(booting)階段時將開機裝置序列顯示的方法。The present invention relates to a display method for a boot device sequence, and more particularly to a method for displaying a boot device sequence during a booting phase.

隨著資訊技術的發展,以處理器為基礎之電子裝置,如各式各樣的計算機(Computer,又稱電腦)系統已經普遍地被企業與個人所運用。一般計算機系統的開機程序如下。開啟電源之後,系統會先執行開機自我檢測(Power On Self Test,POST)。計算機系統並載入基本輸出輸入系統(Basic Input/Output System,BIOS),以確定系統的最基本的硬體架構,並對硬體進行必要的初始化作業。BIOS接著執行開機載入程式(Boot Loader),依據開機裝置序列(boot device sequence,又稱boot order)載入啟動程序,例如電腦的作業系統的核心程式。當啟動程序載入之後,計算機系統的控制權便交由啟動程序處理,以完成整個計算機系統的開機作業。With the development of information technology, processor-based electronic devices, such as various computer (Computer) systems, have been widely used by enterprises and individuals. The boot process of a general computer system is as follows. After the power is turned on, the system performs Power On Self Test (POST) first. The computer system loads the Basic Input/Output System (BIOS) to determine the most basic hardware architecture of the system and performs the necessary initialization operations on the hardware. The BIOS then executes the Boot Loader to load the boot program, such as the core program of the computer's operating system, based on the boot device sequence (also known as the boot order). When the startup program is loaded, the control of the computer system is handled by the startup program to complete the booting of the entire computer system.

前述開機裝置係指內部可能存有啟動程序的硬體裝置,例如硬碟、光碟機或是快閃裝置(flash device)。開機裝置序列則指向至少一個開機裝置依照優先順序排列所得到的序列。BIOS依據開機裝置序列依序在各開機裝置中找尋啟動程序,以載入並啟動計算機。開機裝置序列能讓使用者自由更改設定,使用者可在計算機系統開機中執行BIOS時以按下熱鍵(例如鍵盤之F2按鍵)的方式進入設定選單(setup menu)以更改設定。The aforementioned boot device refers to a hardware device, such as a hard disk, a CD player, or a flash device, in which an boot program may be stored. The boot device sequence is directed to the sequence obtained by prioritizing the at least one boot device. The BIOS finds the startup program in each boot device in order according to the boot device sequence to load and start the computer. The boot device sequence allows the user to change the settings freely. The user can enter the setup menu by pressing a hotkey (such as the F2 button of the keyboard) to change the settings when the BIOS is booted from the computer system.

然而執行BIOS時,使用者能進入設定選單的時間不但非常短暫,而且時機難以掌握。為了進入設定選單以更改開機裝置序列,使用者可能在開啟電源之後不斷的連按預設的熱鍵,浪費許多無謂的力氣。此外,使用者除了進入設定選單以外無法得知開機裝置序列的內容。所以即使使用者僅想要確認當時的開機裝置序列,也必須在開機時進入設定選單進行確認,十分不便。However, when the BIOS is executed, the time that the user can enter the setting menu is not only very short, but also the timing is difficult to grasp. In order to enter the setup menu to change the boot sequence, the user may continually press the preset hotkey after turning on the power, wasting a lot of unnecessary effort. In addition, the user cannot know the contents of the boot device sequence other than entering the setup menu. Therefore, even if the user only wants to confirm the sequence of the boot device at the time, it is necessary to enter the setting menu to confirm at the time of booting, which is very inconvenient.

鑑於上述問題,本發明之目的在於提供一種開機裝置序列的顯示方法,能在BIOS執行時顯示開機裝置序列,使得使用者在開機時能夠不費力氣地得知開機裝置序列,並輕鬆掌握能以按熱鍵等方法進入設定選單的時機。In view of the above problems, an object of the present invention is to provide a display method for a boot device sequence, which can display a boot device sequence during BIOS execution, so that the user can easily learn the boot device sequence when booting, and can easily grasp Press the hotkey and other methods to enter the timing of the setup menu.

為了達成上述之目的,本發明提供一種開機裝置序列的顯示方法,適用於一計算機。計算機具有一基本輸入輸出系統記憶體、一隨機存取記憶體以及一顯示裝置,而BIOS記憶體內具有一BIOS。BIOS存取一開機裝置序列,且開機裝置序列指向至少一個開機裝置。其開機裝置序列的顯示方法包括:初始化隨機存取記憶體;讀取開機裝置序列;依據開機裝置序列,把至少一開機裝置圖示載入於隨機存取記憶體;初始化一視訊圖形陣列;以及藉由視訊圖形陣列,將儲存於隨機存取記憶體的開機裝置圖示顯示於顯示裝置。其中開機裝置圖示係被儲存於BIOS記憶體,且相對應於開機裝置序列中的開機裝置。In order to achieve the above object, the present invention provides a display method of a boot device sequence suitable for use in a computer. The computer has a basic input/output system memory, a random access memory and a display device, and the BIOS memory has a BIOS. The BIOS accesses a boot device sequence and the boot device sequence points to at least one boot device. The display method of the boot device sequence includes: initializing random access memory; reading the boot device sequence; loading at least one boot device icon into the random access memory according to the boot device sequence; initializing a video graphics array; The boot device stored in the random access memory is graphically displayed on the display device by the video graphics array. The boot device icon is stored in the BIOS memory and corresponds to the boot device in the boot device sequence.

根據本發明之一實施例,BIOS記憶體可為一唯讀記憶體,開機裝置序列則儲存於一互補式金屬氧化層板導體記憶體中。而上述開機裝置圖示可為一點陣圖,輸入裝置可為一鍵盤,而啟動程序可為一作業系統。According to an embodiment of the invention, the BIOS memory can be a read-only memory, and the boot device sequence is stored in a complementary metal oxide layer conductor memory. The boot device icon can be a bitmap, the input device can be a keyboard, and the boot program can be an operating system.

依據開機裝置序列,把至少一開機裝置圖示載入於隨機存取記憶體的步驟另可包括:解壓縮開機裝置圖示;以及把解壓縮後的開機裝置圖示載入隨機存取記憶體。The step of loading at least one boot device icon into the random access memory according to the boot device sequence may further include: decompressing the boot device icon; and loading the decompressed boot device icon into the random access memory .

又,藉由視訊圖形陣列,將儲存於機存取記憶體的該開機裝置圖示顯示於顯示裝置之後,另可包含:初始化一輸入裝置,並初始化一中斷。其中輸入裝置用以接收一使用者所輸入的一指令,而中斷包含一設定程序。初始化中斷之後,判斷是否指令被輸入。當指令被輸入時,判斷指令是否為一預定值;並當指令為預定值時,執行設定程序。Moreover, the booting device stored in the machine access memory is displayed on the display device by the video graphics array, and may further include: initializing an input device and initializing an interrupt. The input device is configured to receive a command input by a user, and the interrupt includes a setting program. After the initialization interrupt, it is judged whether the instruction is input. When the instruction is input, it is judged whether the instruction is a predetermined value; and when the instruction is a predetermined value, the setting program is executed.

當指令為預定值時,在執行設定程序之步驟之後另可包含:執行設定選單以提供更改開機裝置序列,並重新啟動計算機。When the command is a predetermined value, after the step of executing the setting program, the method may further include: executing a setting menu to provide a sequence of changing the booting device, and restarting the computer.

此外,藉由視訊圖形陣列,將儲存於隨機存取記憶體的開機裝置圖示顯示於顯示裝置之後,另可包含:依據開機裝置序列,載入一啟動程序;以及依據啟動程序,啟動計算機。In addition, the booting device stored in the random access memory is displayed on the display device by the video graphics array, and may further include: loading a booting program according to the booting device sequence; and starting the computer according to the booting program.

基於上述,根據本發明以對應各開機裝置的圖示,於開機中顯示開機裝置序列。是以上述的實施例可以讓使用者輕鬆的得知開機裝置序列的內容,並可在開機裝置圖示顯示的期間進入設定選單以更改其內容。Based on the above, according to the invention, the booting device sequence is displayed during startup in response to the illustration of the respective booting devices. In the above embodiment, the user can easily know the content of the boot device sequence, and can enter the setting menu to change the content during the display of the boot device icon.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art.

以下敘述之關於本發明的詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。The detailed features and advantages of the present invention are described in the following detailed description of the present invention, which is to be understood by those skilled in the art to understand the technical contents of the present invention, and in accordance with the disclosure, the scope of the application, and the drawings, The related objects and advantages of the present invention will be readily understood by those skilled in the art.

請參照「第1圖」,其係為根據本發明之計算機的架構示意圖。計算機20包括處理器30、BIOS記憶體50、隨機存取記憶體(Random Access Memory,RAM)40、視訊圖形陣列(Video Graphics Array,VGA)42、顯示裝置44以及至少一個開機裝置46。其中BIOS記憶體中存放有BIOS 52、開機裝置序列54以及至少一開機裝置圖示56。Please refer to "FIG. 1", which is a schematic diagram of the architecture of a computer according to the present invention. The computer 20 includes a processor 30, a BIOS memory 50, a random access memory (RAM) 40, a video graphics array (VGA) 42, a display device 44, and at least one boot device 46. The BIOS memory stores a BIOS 52, a boot device sequence 54 and at least one boot device icon 56.

處理器30可以是中央處理器(Central Processing Unit,CPU),用以處理計算機20之運算。計算機20的電源被開啟之後,處理器30進行開機自我檢測(POST)並載入BIOS 52。處理器30接著初始化計算機20的基本硬體,例如隨機存取記憶體40、視訊圖形陣列42以及顯示裝置44。The processor 30 can be a Central Processing Unit (CPU) for processing the operations of the computer 20. After the power of the computer 20 is turned on, the processor 30 performs a power-on self-test (POST) and loads the BIOS 52. The processor 30 then initializes the basic hardware of the computer 20, such as the random access memory 40, the video graphics array 42, and the display device 44.

隨機存取記憶體40能與處理器30直接交換資料。由於隨機存取記憶體40可隨時讀寫且速度很快,故在開機程序中會盡早被初始化以供後續使用。在開機的過程中,儲存於BIOS記憶體50的程式碼等亦會被複製至隨機存取記憶體40以待執行。The random access memory 40 can exchange data directly with the processor 30. Since the random access memory 40 can be read and written at any time and is fast, it will be initialized as early as possible for subsequent use in the boot process. During the boot process, the code stored in the BIOS memory 50 and the like are also copied to the random access memory 40 for execution.

視訊圖形陣列42係為一使用類比訊號的計算機顯示標準,一般個人電腦等裝置在載入自己的獨特驅動程式之前,都必須支援視訊圖形陣列42的標準。視訊圖形陣列42在開機時通常固定使用隨機存取記憶體40中定址位置為0xA0000到0xC0000之間的位置。雖然解析度和載色數不足,但視訊圖形陣列42與隨機存取記憶體40初始化之後,計算機便能顯示資訊於顯示裝置44上。The video graphics array 42 is a computer display standard that uses analog signals. A device such as a personal computer must support the standard of the video graphics array 42 before loading its own unique driver. The video graphics array 42 is typically fixed to use a location in the random access memory 40 that is addressed between 0xA0000 and 0xC0000 at power up. Although the resolution and the number of colors are insufficient, the computer can display information on the display device 44 after the video graphics array 42 and the random access memory 40 are initialized.

開機裝置46可為計算機的基本硬體,亦可是連線於計算機20的週邊裝置。在開機裝置46內可儲存用來完整啟動計算機20的啟動程序。舉例來說,開機裝置46可以是硬碟、光碟機或是快閃裝置。而啟動程序可以是但不限定是作業系統,或是作業系統的核心程序。The boot device 46 can be a basic hardware of a computer or a peripheral device connected to the computer 20. A boot program for fully booting the computer 20 can be stored in the boot device 46. For example, the boot device 46 can be a hard disk, a CD player, or a flash device. The startup program can be, but is not limited to, the operating system or the core program of the operating system.

BIOS記憶體50通常為一斷電後也不會失去資料內容的記憶體,例如唯讀記憶體(Read Only Memory,ROM),或是唯讀的快閃記憶體(flash memory)。而BIOS 52的程式內容儲存於BIOS記憶體50之中,用以控管計算機20的電源被啟動後到被啟動程序完全啟動計算機20之間的程序。The BIOS memory 50 is usually a memory that does not lose data contents after power-off, such as a read only memory (ROM) or a read-only flash memory. The program contents of the BIOS 52 are stored in the BIOS memory 50 for controlling the program between the power of the computer 20 and the startup program to completely start the computer 20.

開機裝置序列54按照順序指向至少一個開機裝置46。開機裝置序列54中可紀錄至少一個變數或指標,用以代表指向開機裝置46。而開機裝置序列54中的順序可為內建的順序,亦可由使用者自行更改。此外,開機裝置序列54的內容可以例如是光碟機-硬碟-快閃裝置。The boot device sequence 54 is directed to at least one boot device 46 in sequence. At least one variable or indicator may be recorded in the boot device sequence 54 to represent the pointing device 46. The sequence in the boot device sequence 54 can be in the built-in order or can be changed by the user. Furthermore, the content of the boot device sequence 54 can be, for example, a CD-hard drive-flash device.

BIOS 52存取開機裝置序列54,並依據開機裝置序列54中所紀錄的順序在各開機裝置46中找尋啟動程序,以載入並啟動計算機20。根據本發明,BIOS記憶體50可以是但不限定是唯讀記憶體,而開機裝置序列可儲存於一互補式金屬氧化層板導體記憶體(Complementary Metal-Oxide-Semiconductor,CMOS)中,或是其他斷電後資料也不會消失且非唯讀的記憶裝置,例如快閃記憶體中。The BIOS 52 accesses the boot device sequence 54 and looks up the boot program in each boot device 46 in accordance with the sequence recorded in the boot device sequence 54 to load and start the computer 20. According to the present invention, the BIOS memory 50 can be, but is not limited to, a read-only memory, and the boot device sequence can be stored in a Complementary Metal-Oxide-Semiconductor (CMOS), or Other data will not disappear after power-off and are not read-only memory devices, such as flash memory.

開機裝置圖示56的格式可以是點陣圖(bitmap,又稱BMP),且開機裝置圖示56被儲存於BIOS記憶體50。每一張開機裝置圖示56均對應且代表一個開機裝置46,例如硬碟或光碟機。藉由顯示開機裝置圖示56給使用者,使用者便能以顯示的開機裝置圖示56得知目前設定的開機裝置46與開機裝置序列54。The format of the boot device icon 56 may be a bitmap (also referred to as BMP), and the boot device icon 56 is stored in the BIOS memory 50. Each of the boot device icons 56 corresponds to and represents a boot device 46, such as a hard drive or a CD player. By displaying the boot device icon 56 to the user, the user can know the currently set boot device 46 and boot device sequence 54 with the displayed boot device icon 56.

請參照「第2圖」,其係為根據本發明一實施例進行開機之流程示意圖。由圖可以知悉,以開機裝置序列的顯示方法進行開機的步驟包括步驟S60:初始化隨機存取記憶體40;步驟S70:讀取開機裝置序列54;步驟S80:初始化視訊圖形陣列42;步驟S90:把開機裝置圖示56載入於隨機存取記憶體40;步驟S100:把儲存於隨機存取記憶體40的開機裝置圖示56顯示於顯示裝置44;步驟S170:依據開機裝置序列54載入啟動程序;以及步驟S180:啟動計算機20。Please refer to FIG. 2, which is a schematic diagram of a process of starting up according to an embodiment of the present invention. As can be seen from the figure, the step of booting in the display method of the boot device sequence includes step S60: initializing the random access memory 40; step S70: reading the boot device sequence 54; step S80: initializing the video graphics array 42; step S90: Loading the boot device icon 56 into the random access memory 40; step S100: displaying the boot device icon 56 stored in the random access memory 40 on the display device 44; step S170: loading according to the boot device sequence 54 Starting the program; and step S180: starting the computer 20.

於步驟S60,隨機存取記憶體40被初始化。以一般電腦為例,計算機20電源被開啟後,會依序初始化處理器30、北橋晶片(North bridge,未繪示)、隨機存取記憶體40以及南橋晶片(South bridge,未繪示)。隨機存取記憶體40被初始化後,處理器30即可利用隨機存取記憶體40進行後續程序的執行及運算。At step S60, the random access memory 40 is initialized. Taking a general computer as an example, after the power of the computer 20 is turned on, the processor 30, the north bridge (not shown), the random access memory 40, and the south bridge (not shown) are sequentially initialized. After the random access memory 40 is initialized, the processor 30 can perform the execution and calculation of the subsequent program by the random access memory 40.

處理器30在步驟S70讀取開機裝置序列54,並在步驟S80,視訊圖形陣列42被初始化。承上述一般電腦開機時的初始化順序,處理器30把南橋晶片初始化後,繼續初始化鍵盤控制器(Keyboard Controller,KBC)(未繪示)、視訊圖形陣列42以及週邊組件互連(Peripheral Component Interconnect,PCI)裝置(未繪示)等等硬體。在視訊圖形陣列42被初始化之後,顯示裝置44即會將上述隨機存取記憶體40中位址為0xA0000到0xC0000之資料顯示於顯示裝置44。也就是說,若使用者在開機後看到了畫面,即表示視訊圖形陣列42已經被初始化了。The processor 30 reads the boot device sequence 54 at step S70, and at step S80, the video graphics array 42 is initialized. In the initialization sequence of the above-mentioned general computer booting, the processor 30 initializes the south bridge chip, and then initializes the keyboard controller (KBC) (not shown), the video graphics array 42 and the peripheral component interconnect (Peripheral Component Interconnect, PCI) device (not shown) and the like. After the video graphics array 42 is initialized, the display device 44 displays the data of the address in the random access memory 40 of 0xA0000 to 0xC0000 on the display device 44. That is to say, if the user sees the screen after booting, it means that the video graphics array 42 has been initialized.

接著步驟S90把對應於開機裝置序列54的開機裝置圖示56載入隨機存取記憶體40。請同時參照「第3圖」,其係為根據本發明一實施例之步驟S90的流程示意圖。根據本發明,把至少一開機裝置圖示56載入於隨機存取記憶體40時另可包括步驟S92:解壓縮開機裝置圖示56;以及步驟S94:把解壓縮後的開機裝置圖示56載入隨機存取記憶體40。Next, in step S90, the boot device icon 56 corresponding to the boot device sequence 54 is loaded into the random access memory 40. Please refer to FIG. 3 at the same time, which is a schematic flowchart of step S90 according to an embodiment of the present invention. According to the present invention, when at least one boot device icon 56 is loaded into the random access memory 40, step S92 may be further included: decompressing the boot device icon 56; and step S94: decompressing the boot device icon 56 The random access memory 40 is loaded.

為了節省BIOS記憶體50的空間,開機裝置圖示56可以是被壓縮過後才被存入BIOS記憶體50的圖檔。則欲把開機裝置圖示56載入隨機存取記憶體40時,須把存在BIOS記憶體50中的壓縮圖檔解壓縮後再載入隨機存取記憶體40中。前述步驟S90、S92、及S94即是將被壓縮之開機裝置圖示56進行解壓縮後,再儲存於隨機存取記憶體40的定址位置為0xA0000到0xC0000中。視訊圖形陣列42在開機時通常固定使用隨機存取記憶體40中定址位置為0xA0000到0xC0000之間的位置,故可將開機裝置圖示56被載入上述位置,以等待被視訊圖形陣列42顯示於顯示裝置44上。此外,把開機裝置圖示56載入隨機存取記憶體40中的位置係對應於視訊圖形陣列42使用的記憶體位址。根據本發明,載入的位置亦不限於在隨機存取記憶體40中0xA0000到0xC0000位址,而可依據視訊圖形陣列42的設定而改變。In order to save space in the BIOS memory 50, the boot device icon 56 may be a file that is stored in the BIOS memory 50 after being compressed. When the boot device icon 56 is to be loaded into the random access memory 40, the compressed image stored in the BIOS memory 50 must be decompressed and then loaded into the random access memory 40. The foregoing steps S90, S92, and S94 are performed by decompressing the compressed boot device icon 56 and then storing the address locations of the random access memory 40 in the range of 0xA0000 to 0xC0000. The video graphics array 42 is normally fixed at the position where the address position in the random access memory 40 is between 0xA0000 and 0xC0000, so that the boot device icon 56 can be loaded into the above position to wait for the video graphics array 42 to be displayed. On the display device 44. In addition, the location in which the boot device icon 56 is loaded into the random access memory 40 corresponds to the memory address used by the video graphics array 42. According to the present invention, the loaded location is not limited to the 0xA0000 to 0xC0000 address in the random access memory 40, but may vary depending on the setting of the video graphics array 42.

視訊圖形陣列42被初始化後,處理器30在步驟S100把開機裝置圖示56顯示於顯示裝置44以供使用者參考。處理器30係依開機裝置序列54的順序把開機裝置圖示56載入隨機存取記憶體40中,並令視訊圖形陣列42把載入的開機裝置圖示56顯示出來。使得使用者可以在不進入設定選單,即能由顯示的開機裝置圖示56得知開機裝置序列54的內容。請同時參照「第4A圖」與「第4B圖」,其分別為根據本發明一實施例之第一顯示示意圖與第二顯示示意圖。如圖所示,至少一個開機裝置圖示56依照開機裝置序列54的順序顯示於顯示裝置44上。After the video graphics array 42 is initialized, the processor 30 displays the boot device icon 56 on the display device 44 for reference by the user in step S100. The processor 30 loads the boot device icon 56 into the random access memory 40 in the order of the boot device sequence 54 and causes the video graphics array 42 to display the loaded boot device icon 56. This allows the user to know the contents of the boot device sequence 54 from the displayed boot device icon 56 without entering the setup menu. Please refer to both FIG. 4A and FIG. 4B, which are respectively a first display schematic diagram and a second display schematic diagram according to an embodiment of the invention. As shown, at least one of the boot device icons 56 are displayed on the display device 44 in the order of the boot device sequence 54.

於步驟S170,處理器30依據開機裝置序列54依序去各開機裝置46找尋啟動程序,用以完整啟動計算機20。當在被設為第一優先的開機裝置46中找不到能夠使用的啟動程序時,處理器30會去第二順位的開機裝置46中找尋啟動程序。若是仍然找不到能夠使用的啟動程序,便繼續依開機裝置序列54去下一順位的開機裝置46中找尋。In step S170, the processor 30 sequentially searches the booting device 46 for the booting program according to the booting device sequence 54 to completely boot the computer 20. When the bootable program that can be used is not found in the boot device 46 that is set to the first priority, the processor 30 goes to the second boot device 46 to find the boot program. If the boot program that can be used is still not found, it continues to search for the next boot device 46 according to the boot device sequence 54.

找到啟動程序後,處理器30於步驟S180載入啟動程序,並把計算機20的控制權由BIOS 52交給啟動程序,而完成整個計算機20的開機作業。After the startup program is found, the processor 30 loads the startup program in step S180, and transfers the control of the computer 20 from the BIOS 52 to the startup program, thereby completing the booting operation of the entire computer 20.

請再參照「第1圖」,根據本發明之另一實施例,計算機20另可包括輸入裝置47與中斷(Interrupt)48。其中輸入裝置47用以接收使用者所輸入的指令,且輸入裝置47可以是但不限定是鍵盤。中斷48係指接收來自處理器30以外的硬體或來自軟體的信號後進行相應處理的模組。中斷48包含一設定程序,而設定程序可執行對設定選單的開啟,以提供使用者更改設定選單。Referring again to FIG. 1, in accordance with another embodiment of the present invention, computer 20 may further include input device 47 and an interrupt 48. The input device 47 is configured to receive an instruction input by a user, and the input device 47 can be, but is not limited to, a keyboard. The interrupt 48 is a module that receives a signal from a hardware other than the processor 30 or a signal from the software and performs corresponding processing. The interrupt 48 includes a setting program, and the setting program can perform the opening of the setting menu to provide the user to change the setting menu.

請參照「第5圖」,其係為根據本發明另一實施例進行開機之流程示意圖。請同時參照「第2圖」與「第5圖」,其中相同的標號係代表相類似的步驟。Please refer to FIG. 5, which is a schematic diagram of a process of booting according to another embodiment of the present invention. Please refer to "Fig. 2" and "5th figure" at the same time, wherein the same reference numerals denote similar steps.

由「第5圖」可以見悉,以開機裝置序列的顯示方法進行開機的步驟包括步驟S60:初始化隨機存取記憶體40;步驟S70:讀取開機裝置序列54;步驟S80:初始化視訊圖形陣列42;步驟S90:把開機裝置圖示56載入於隨機存取記憶體40;步驟S100:把儲存於隨機存取記憶體40的開機裝置圖示56顯示於顯示裝置44;步驟S110:初始化輸入裝置;步驟S120:初始化中斷;步驟S130:判斷是否指令被輸入;步驟S140:判斷指令是否為預定值;步驟S150:當指令為預定值時,執行設定程序;步驟S160:執行設定選單,以提供更改開機裝置序列,並重新啟動計算機;步驟S170:依據開機裝置序列54載入啟動程序;以及步驟S180:啟動計算機20。As can be seen from "Fig. 5", the step of booting in the display method of the boot device sequence includes step S60: initializing the random access memory 40; step S70: reading the boot device sequence 54; and step S80: initializing the video graphics array Step S90: loading the boot device icon 56 into the random access memory 40; step S100: displaying the boot device icon 56 stored in the random access memory 40 on the display device 44; step S110: initializing the input Step S120: initializing an interrupt; step S130: determining whether an instruction is input; step S140: determining whether the instruction is a predetermined value; step S150: executing a setting program when the instruction is a predetermined value; and step S160: executing a setting menu to provide Changing the boot device sequence and restarting the computer; step S170: loading the boot program according to the boot device sequence 54; and step S180: starting the computer 20.

步驟S60到步驟S100的內容大致如前一實施例所述。而在一般的電腦,初始化視訊圖形陣列42後,會接著進行步驟S110初始化鍵盤(可視為輸入裝置47之一),以及步驟S120初始化中斷(Interrupt)48。The contents of step S60 to step S100 are substantially as described in the previous embodiment. In the normal computer, after the video graphics array 42 is initialized, the keyboard is initialized in step S110 (which can be regarded as one of the input devices 47), and the interrupt 48 is initialized in step S120.

使用者看見以開機裝置圖示56顯示出的開機裝置序列54的內容後,可以根據需求自行決定是否要進入設定選單進行更改。則於步驟S130判斷是否有指令經由輸入裝置47被輸入,若有,於步驟S140判斷被輸入的指令是否為用以執行設定選單的預設值。例如當輸入裝置47為鍵盤,而預設值(即熱鍵)設為F2時,處理器30判斷使用者是否有按F2以進入設定選單。After the user sees the contents of the boot device sequence 54 displayed on the boot device icon 56, it is possible to decide whether or not to enter the setting menu to make changes according to the requirements. Then, it is determined in step S130 whether an instruction is input via the input device 47, and if so, it is determined in step S140 whether the input command is a preset value for executing the setting menu. For example, when the input device 47 is a keyboard and the preset value (ie, the hot key) is set to F2, the processor 30 determines whether the user has pressed F2 to enter the setting menu.

當指令被輸入且與預設值相同時,於步驟S150執行設定程序。執行程序可開啟設定選單,以提供使用者更改開機裝置序列54。執行設定選單後,於步驟S160計算機20會被重新啟動。計算機20回到電源剛被啟動的狀態,並由步驟S60重新執行。若使用者在設定選單中有更改開機裝置序列56,則計算機20重新開機時依據更改過的開機裝置序列54顯示開機裝置圖示56。When the instruction is input and is the same as the preset value, the setting procedure is executed in step S150. Executing the program opens the setup menu to provide the user with the ability to change the boot device sequence 54. After executing the setting menu, the computer 20 will be restarted in step S160. The computer 20 returns to the state in which the power source has just been activated, and is re-executed by step S60. If the user has changed the boot device sequence 56 in the setup menu, the boot device 56 is displayed in accordance with the modified boot device sequence 54 when the computer 20 is turned back on.

當使用者沒有輸入指令,或是輸入的指令並非用以執行設定選單的預設值時,處理器30執行前述的步驟S170與步驟S180。處理器30依據開機裝置序列54依序去各開機裝置46找尋啟動程序,並載入啟動程序以完整啟動計算機20。When the user does not input an instruction, or the input instruction is not a preset value for executing the setting menu, the processor 30 executes the aforementioned steps S170 and S180. The processor 30 sequentially searches the booting device 46 for the booting program according to the booting device sequence 54 and loads the booting program to completely boot the computer 20.

根據本發明之開機裝置序列的顯示方法,係依據開機裝置序列顯示被儲存於BIOS的開機裝置圖示。使用者即使不進入設定選單,也能藉由顯示出的開機裝置圖示得知當時開機裝置序列的內容。此外,從視訊圖形陣列被初始化後到開始載入啟動程序之前,均能顯示開機裝置圖示。因此當使用者有需要進入設定選單進行更改開機裝置序列或是其他作業時,便可在開機裝置圖示顯示的時間內輸入指令以進入設定選單,而不用擔心錯過進入設定選單的時機。According to the display method of the boot device sequence of the present invention, the boot device icon stored in the BIOS is displayed according to the boot device sequence. Even if the user does not enter the setting menu, the content of the booting device sequence at that time can be known by the displayed booting device icon. In addition, the boot device icon can be displayed from the time the video graphics array is initialized until the start of the boot loader. Therefore, when the user needs to enter the setting menu to change the booting sequence or other operations, the command can be input during the time indicated by the booting device icon to enter the setting menu without worrying about the timing of entering the setting menu.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

20...計算機20. . . computer

30...處理器30. . . processor

40...隨機存取記憶體40. . . Random access memory

42...視訊圖形陣列42. . . Video graphics array

44...顯示裝置44. . . Display device

46...開機裝置46. . . Boot device

47...輸入裝置47. . . Input device

48...中斷48. . . Interrupt

50...BIOS記憶體50. . . BIOS memory

52...BIOS52. . . BIOS

54...開機裝置序列54. . . Boot device sequence

56...開機裝置圖示56. . . Boot device icon

第1圖係為根據本發明之計算機的架構示意圖;Figure 1 is a schematic diagram of the architecture of a computer in accordance with the present invention;

第2圖係為根據本發明一實施例進行開機之流程示意圖;2 is a schematic flow chart of booting according to an embodiment of the present invention;

第3圖係為根據本發明一實施例之步驟S90的流程示意圖;3 is a schematic flow chart of step S90 according to an embodiment of the present invention;

第4A圖係為根據本發明一實施例之第一顯示示意圖;Figure 4A is a first schematic view showing an embodiment of the present invention;

第4B圖係為根據本發明一實施例之第二顯示示意圖;以及Figure 4B is a second schematic view showing an embodiment of the present invention;

第5圖係為根據本發明另一實施例進行開機之流程示意圖。Figure 5 is a flow chart showing the process of starting up according to another embodiment of the present invention.

Claims (9)

一種開機裝置序列的顯示方法,適用於一計算機,該計算機具有一基本輸入輸出系統(Basic Input/Output System,BIOS)記憶體、一隨機存取記憶體以及一顯示裝置,而該BIOS記憶體內具有一BIOS,該BIOS存取一開機裝置序列,且該開機裝置序列指向至少一個開機裝置,該方法包括:初始化該隨機存取記憶體;讀取該開機裝置序列;初始化一視訊圖形陣列;依據該開機裝置序列,把至少一開機裝置圖示載入於該隨機存取記憶體,其中該開機裝置圖示係被儲存於該BIOS記憶體,且相對應於該開機裝置序列中的該開機裝置;以及藉由該視訊圖形陣列,將儲存於該隨機存取記憶體的該開機裝置圖示顯示於該顯示裝置。A display method for a boot device sequence, which is applicable to a computer having a basic input/output system (BIOS) memory, a random access memory, and a display device, and the BIOS has a memory a BIOS, the BIOS accesses a boot device sequence, and the boot device sequence points to at least one boot device, the method comprising: initializing the random access memory; reading the boot device sequence; initializing a video graphics array; The booting device sequence loads at least one booting device icon into the random access memory, wherein the booting device icon is stored in the BIOS memory and corresponds to the booting device in the booting device sequence; And displaying, by the video graphics array, the boot device stored in the random access memory on the display device. 如請求項1所述之開機裝置序列的顯示方法,其中該BIOS記憶體為一唯讀記憶體,而該開機裝置序列儲存於一互補式金屬氧化層板導體記憶體中。The method for displaying a boot device sequence according to claim 1, wherein the BIOS memory is a read-only memory, and the boot device sequence is stored in a complementary metal oxide layer conductor memory. 如請求項1所述之開機裝置序列的顯示方法,其中依據該開機裝置序列,把至少一開機裝置圖示載入於該隨機存取記憶體的步驟另包括:解壓縮該開機裝置圖示;以及把解壓縮後的該開機裝置圖示載入該隨機存取記憶體。The method for displaying a boot device sequence according to claim 1, wherein the step of loading at least one boot device icon into the random access memory according to the boot device sequence further comprises: decompressing the boot device icon; And loading the decompressed boot device icon into the random access memory. 如請求項1所述之開機裝置序列的顯示方法,其中該開機裝置圖示係為一點陣圖。The display method of the boot device sequence as claimed in claim 1, wherein the boot device icon is a dot matrix. 如請求項1所述之開機裝置序列的顯示方法,其中藉由該視訊圖形陣列,將儲存於該隨機存取記憶體的該開機裝置圖示顯示於該顯示裝置之後,另包含:初始化一輸入裝置,該輸入裝置用以接收一使用者所輸入的一指令;初始化一中斷,該中斷包含一設定程序;判斷是否該指令被輸入;當該指令被輸入時,判斷該指令是否為一預定值;以及當該指令為該預定值時,執行該設定程序。The display method of the boot device sequence of claim 1, wherein the boot device icon stored in the random access memory is displayed after the display device by the video graphics array, and further comprises: initializing an input The device is configured to receive an instruction input by a user; to initialize an interrupt, the interrupt includes a setting program; determine whether the instruction is input; and when the instruction is input, determine whether the instruction is a predetermined value And when the instruction is the predetermined value, the setting procedure is executed. 如請求項5所述之開機裝置序列的顯示方法,其中在該當該指令為該預定值時,執行該設定程序之步驟之後,另包含:執行一設定選單,以提供更改該開機裝置序列,並重新啟動該計算機。The method for displaying a boot device sequence according to claim 5, wherein after the step of executing the setting program when the command is the predetermined value, the method further comprises: executing a setting menu to provide a change of the boot device sequence, and Restart the computer. 如請求項5所述之開機裝置序列的顯示方法,其中該輸入裝置為一鍵盤。The method for displaying a boot device sequence as claimed in claim 5, wherein the input device is a keyboard. 如請求項1所述之開機裝置序列的顯示方法,其中藉由該視訊圖形陣列,將儲存於該隨機存取記憶體的該開機裝置圖示顯示於該顯示裝置之後,另包含:依據該開機裝置序列,載入一啟動程序;以及依據該啟動程序,啟動該計算機。The method for displaying a boot device sequence according to claim 1, wherein the boot device icon stored in the random access memory is displayed on the display device by the video graphics array, and further includes: booting according to the boot device a sequence of devices, loading a startup program; and starting the computer in accordance with the startup program. 如請求項8所述之開機裝置序列的顯示方法,該啟動程序係為一作業系統。The display method of the boot device sequence as claimed in claim 8, wherein the boot program is an operating system.
TW98122337A 2009-07-01 2009-07-01 Display method for boot device sequence TWI400654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98122337A TWI400654B (en) 2009-07-01 2009-07-01 Display method for boot device sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98122337A TWI400654B (en) 2009-07-01 2009-07-01 Display method for boot device sequence

Publications (2)

Publication Number Publication Date
TW201102923A TW201102923A (en) 2011-01-16
TWI400654B true TWI400654B (en) 2013-07-01

Family

ID=44837664

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98122337A TWI400654B (en) 2009-07-01 2009-07-01 Display method for boot device sequence

Country Status (1)

Country Link
TW (1) TWI400654B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI446151B (en) 2011-06-01 2014-07-21 Wistron Corp Computer system and system reset method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336185B1 (en) * 1998-09-24 2002-01-01 Phoenix Technologies Ltd. Use of other processors during BIOS boot sequence to minimize boot time
TW200530919A (en) * 2004-03-12 2005-09-16 Acer Inc Method for installing an operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6336185B1 (en) * 1998-09-24 2002-01-01 Phoenix Technologies Ltd. Use of other processors during BIOS boot sequence to minimize boot time
TW200530919A (en) * 2004-03-12 2005-09-16 Acer Inc Method for installing an operating system

Also Published As

Publication number Publication date
TW201102923A (en) 2011-01-16

Similar Documents

Publication Publication Date Title
TWI479421B (en) Booting method and electronic device
US8667264B2 (en) Expedited computer boot system and method
JP5284946B2 (en) Direct boot configuration using NAND flash memory
USRE43716E1 (en) Method of fast switching control for different operation systems operated in computer
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US20050216722A1 (en) Computer system having multi-operation system and method for changing operating system in computer system
WO2004107168A1 (en) Booting from non-volatile memory
US20030145191A1 (en) Computer system and method of controlling the same
US20120042156A1 (en) Method of multiple boot manager
TW201407343A (en) Test system and test method thereof
US20110208955A1 (en) Machine-readable storage media for display of a basic input/output system (bios) productivity display
TWI534707B (en) Computer system, shutdown and boot method thereof
US9348603B2 (en) Electronic apparatus and booting method
JPH11231994A (en) Display device and controlling method for acquiring information related to display
US8745368B2 (en) Notebook computer for performing part of power-on self-test according to proximity sensor before displaying image after power switch is triggered
US7620758B2 (en) System and method for fast activation and playing using a multimedia playback control module to load and execute core program
TWI400654B (en) Display method for boot device sequence
TWI413934B (en) Booting method
US20020143844A1 (en) Computer system with two operating systems
TWI475487B (en) Booting method and electronic device
US8856666B2 (en) Chassis button to activate graphical user interface to enable user to select diagnostic and/or recovery
JP2002007131A (en) Display device for control
US20150317181A1 (en) Operating system switching method
JP2009176151A (en) Information processing apparatus and method of starting the same
US20070022283A1 (en) Method for fast activation of computer from a data disk with pre-installed operating system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees