201102922 六、發明說明: 【發明所屬之技術領域】 本發明係有關於—’方法,特別是—種在職(b〇〇ting) 階段時將第一開機圖式顯示的方法。 【先前技術】 隨著資訊技術的發展,以處理器為基礎之電子裝置,如各式 各樣的計算機(Computer,又稱電腦)已經普遍地被企業與個人所 運用。-般計算機關機程序如下。開啟電狀後,計算機先執 行開機自我檢測(Power On Self Test, POST)。計算機並載入基本輸 出輸入系統(Basic Input/Output System,BIOS),以確定最基本的硬 體架構’並對硬體進行必要的初始化作業。m〇s接著執行開機載 入矛王式(Boot Loader) ’依據開機襄置序列(b〇〇t device sequence,又 稱boot order)載入啟動程序,例如電腦的作業系統的核心程式。當 啟動程序載入之後,计鼻機的控制權便交由啟動程序處理,以完 成整個計算機的開機作業。 前述開機裝置係指内部可能存有啟動程序的硬體裝置,例如 硬碟、光碟機或是快閃裝置(flashdevice)。開機裝置序列則為藉由 至少一侧機指標,指肖至少一個開機|置且依照優錢序排列 所得到的序列。BIOS依據開機裝置序列依序在各開機裝置中找尋 啟動程序,以載入並啟動計算機。開機裝置序列能讓使用者自由 更改設定’使用者可在計算機系統開機中執行BI〇s時以按下熱鍵 (例如鍵盤之F2按鍵)的方式進入設定選單(_ρ menu)以更改設 201102922 定。 d而執行BIOS時’使用者能進人設定選單的時間不但非常短 且時機難以‘握。為了進入設定選單以更改開機裝置序列, 2用者可&在開啟電源之後稍的連按預設的熱鍵,浪費許多無 、力氣此外’使用者除了進入設定選單以外無法得知開機裝 置序列的内谷。所以即使使用者僅想要確認當時的開機裝置序 歹J也必須在開機時進入設定選單進行確認,十分不便。進入設 定選單之後無論衫有更關機裝置相,通料算機都會再度 重新啟動,亦非常地浪費時間。 【發明内容】 鑑於上述問題’本發明之目的在於提供—種開機方法,能在 BIOS執行時顯示—第—開機圖示,使得使用者在開機時能夠不 費力地得知被設為第—優絲位的開齡置。同時,使用者並能 輕鬆地在啟動程騎载人與執行前,鱗熱_方法更改指向第 -開機裝置的-第—開機指標。 本發明提供—_機方法,適驗—計算機。計算機具有一 基本輸入輸出系統記紐、―隨機存取記紐以及_顯示裝置, 而BIOS記憶體内具有一BI〇s。BI〇s存取一開機裝置序列,且開 機裝置序列具有第1鋪標。其_方法包括:初始化隨機存 取記憶體;讀取開機I置序列;初始化-視訊圖形陣列;把一第 一開機圖示載入於隨機存取記憶體;藉由視訊圖形陣列,將儲存 於隨機存取記憶體的第—義圖示顯示於顯示裝置;依據開機^ 201102922 置序列,載入一啟動程序;以及依據啟動程序,啟動計算機。其 中第一開機圖示係被儲存於BIOS記憶體,且對應於第一開機指 標。 曰 根據本發明,在由視訊圖形陣列將儲存於隨機存取記憶體的 第一開機圖示顯示於顯示裝置之後,且在依據開機裝置序列載入 一啟動程序之前,另可包含:初始化一輸入裝置,輸入裝置用以 接收一使用者所輸入的一指令;初始化一中斷,中斷包含一設定 程序,判斷否指令被輸入;當指令被輸入時,判斷指令是否為— 預定值;以及當指令為預定值時,執行設定程序。 而上述設定程序可包含:依據預設值,更改第一開機指標; 依據更改過的第一開機指標更改第一開機圖示,並把更改過的第 一開機圖示載入於隨機存取記憶體;以及藉由視訊圖形陣列,將 儲存於隨機存取記憶體的更改過的第一開機圖示顯示於顯示裝置 根據本發明之一實施例,BI0S記憶體可為一唯讀記憶體, 開機裝置序列_存於-互補式金屬氧化層板導體記憶體中。而 上述第-開機圖示可為一點陣圖,輸入裝置可為一鍵盤,而啟動 程序可為一作業系統。 此外,依據開機裝置序列,把第一開機圖示載入於隨機存取 記憶體的步㈣可包括:解魏第-開_示;以及祕壓縮後 的第一開機圖示載入隨機存取記憶體。 基於上述,根據本發明以對應開機裝置的圖示,於開機中顯 不第-開機減所指向關機裝置,使者能得知目前開機的 201102922 裝置為何纟_人,依據本發明之實關,使當使用者欲更改開機 裝置時使用者邊藉由熱鍵,在啟動程序(可為電腦之作業系統) 被載入之剛重新5又定第—開機指標。是以上述的實施例可以讓使 用者輕鬆的得知被指向的第—開機裝置騎,並可在第一開機圖 不顯示的_以熱鍵即時更改第__指標。 以下在實施方式巾詳細敘述本發明之詳細特徵以及優點,其 内谷足以使任何熟習蝴技藝者了解本發明之技術内容並據以實 施’且根據本說明書所揭露之内容、中請專利範圍及圖式,任何 熟!相關技藝者可輕純理解本發明_之目的及優點。 【實施方式】 以下敘述之關於本發明的詳細特徵以及優點,其内容足以使 任何熟習糊技藝者了解本發明之技躺容絲以實施,且根據 本說明書所揭露之内容、中請專利範圍及圖式,任何熟習相關技 藝者可輕易地理解本發明相關之目的及優點。 请參照「第1圖」,其係為根據本發明之計算機的架構示意 圖。計算機20包括處理器30、Bi〇S記憶體50、隨機存取記憶體 (Kandom Access Memoiy,RAM) 40、視訊圖形陣列(Video201102922 VI. Description of the Invention: [Technical Field to Which the Invention Is Applicable] The present invention relates to a method of displaying a first boot pattern with respect to a method, particularly a type of in-service (b〇〇ting). [Prior Art] With the development of information technology, processor-based electronic devices, such as various computers (Computers), have been widely used by enterprises and individuals. The general computer shutdown procedure is as follows. After turning on the power, the computer first performs Power On Self Test (POST). The computer loads the Basic Input/Output System (BIOS) to determine the most basic hardware architecture and performs the necessary initialization tasks for the hardware. M〇s then executes the boot loader (Boot Loader). The boot program is loaded according to the boot device sequence (b〇〇t device sequence, also called boot order), such as the core program of the computer's operating system. When the startup program is loaded, the control of the nose machine is handled by the startup program to complete the booting of the entire computer. The aforementioned boot device refers to a hardware device, such as a hard disk, a CD player or a flash device, which may have an activation program therein. The boot device sequence is a sequence obtained by at least one side machine indicator, which is at least one power-on and arranged according to the preferred money order. 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 freely change the settings. The user can enter the setup menu (_ρ menu) by pressing the hotkey (for example, the F2 button of the keyboard) to perform the BI〇s when the computer system is turned on to change the setting to 201102922. . d When the BIOS is executed, the time when the user can enter the menu is not only very short, but also the timing is difficult to hold. In order to enter the setup menu to change the boot device sequence, 2 users can & press the preset hotkey slightly after turning on the power, which wastes a lot of no effort, and the user cannot know the boot device sequence except entering the setup menu. Inner valley. Therefore, even if the user only wants to confirm the current boot device sequence J, he must enter the setup menu to confirm at the time of power-on, which is very inconvenient. After entering the setup menu, regardless of whether the shirt has a more shutdown device, the machine will be restarted again, which is also a waste of time. SUMMARY OF THE INVENTION In view of the above problems, the object of the present invention is to provide a booting method, which can display a -first boot icon during BIOS execution, so that the user can easily know that it is set to the first priority when booting. The opening position of the silk position. At the same time, the user can easily ride the manned and executed before the start-up process, and the scaly heat _ method changes to the --boot indicator of the first-boot device. The invention provides a method, a method, and a computer. The computer has a basic input/output system counter, a random access counter, and a display device, and the BIOS memory has a BI〇s. The BI〇s accesses a boot device sequence and the boot device sequence has a first spread. The method includes: initializing the random access memory; reading the boot I sequence; initializing the video graphics array; loading a first boot icon into the random access memory; and the video graphics array is stored in The first meaning of the random access memory is displayed on the display device; the startup program is loaded according to the startup sequence of 201102922; and the computer is started according to the startup program. The first boot icon is stored in the BIOS memory and corresponds to the first boot indicator. According to the present invention, after the first boot icon stored in the random access memory is displayed on the display device by the video graphics array, and before loading a boot program according to the boot device sequence, the method may further include: 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, to determine whether the instruction is input; when the instruction is input, determine whether the instruction is a predetermined value; and when the instruction is When the value is predetermined, the setting procedure is executed. The setting program may include: changing the first booting indicator according to the preset value; changing the first booting icon according to the changed first booting indicator, and loading the changed first booting icon into the random access memory Displaying the modified first boot icon stored in the random access memory on the display device according to an embodiment of the present invention, the BIOS memory can be a read-only memory, booting The device sequence is stored in a complementary metal oxide layer conductor memory. The above-mentioned first-boot icon can be a dot matrix, the input device can be a keyboard, and the startup program can be an operating system. In addition, according to the boot device sequence, the step (4) of loading the first boot icon into the random access memory may include: dissolving the first-on-display; and compressing the first boot icon to load the random access Memory. Based on the above, according to the illustration of the corresponding booting device, the first boot-down switch is turned to the shutdown device during the booting, and the messenger can know why the currently-opened 201102922 device is 纟_人, according to the actual When the user wants to change the boot device, the user uses the hotkey to reset the boot-start indicator (which can be the operating system of the computer). In the above embodiment, the user can easily know the pointed-on-powered device ride, and can change the __ indicator immediately by the hot key in the first boot map. The detailed features and advantages of the present invention are described in detail in the following embodiments, which are sufficient to enable any skilled artisan to understand the technical contents of the present invention and to implement the contents of the present disclosure, the scope of the patent application, and Schema, any cooked! The objects and advantages of the present invention will be readily understood by those skilled in the art. [Embodiment] The detailed features and advantages of the present invention described in the following are sufficient for any skilled practitioner to understand the present invention, and the content disclosed in the specification, the scope of the patent application, and The related objects and advantages of the present invention will be readily understood by those skilled in the art. 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 Bi〇S memory 50, a random access memory (Kandom Access Memoiy, RAM) 40, and a video graphics array (Video).
Graphics Array,VGA) 42、顯示裝置44以及至少一個開機裝置 46。其中BIOS記憶體中存放有BIOS 52、開機裝置序列54、第一 開機圖示56以及第一開機指標58。 處理器30可以是中央處理器(Central Processing Unit,CPU), 用以處理計算機20之運算。計算機2〇的電源被開啟之後,處理 器30進行開機自我檢測(p〇ST)並載入BIOS 52。處理器30接著 201102922 初始化計算機20的基本硬體,例如隨機存取記憶體4〇、視訊圖形 陣列42以及顯示裝置44。 隨機存取記憶體40能與處理器3〇直接交換資料。由於隨機存 取記憶體40可隨時讀寫且速度很快,故在開機程序中會盡早被初 始化以供後續使用。在開機的過程中,儲存於BI〇s記憶體5〇的 程式碼等亦會被複製至隨機存取記憶體4〇以待執行。 視訊圖形陣列42係為一使用類比訊號的計算機顯示標準,一 般個人電腦等裝置在載人自己的獨特驅動程式之前都必須支援 視訊圖形陣列42的標準。視訊圖形陣列42在開機時通常固定使 用隨機存取記憶體40中定址位置為〇χΑ〇〇〇〇到〇xC〇〇〇〇之間的 位置。雖然解析度和載色數不足,但視訊圖形陣列42與隨機存取 記憶體40初始化之後’計算機便能顯示資訊於顯示裝置44上。 開機裝置46可為計算_基本種,亦可是親於計算機2〇 的週邊裝置’甚至是藉由網路連接的遠端計算機。在開機農置奶 内可儲存用來完整啟動計算機2〇的啟動程序。舉例來說,開機裝 .置46可以是硬碟、光碟機或是快閃裝置。而啟動程序可以是但不 限定是作業系統,或是作業系統的核心程序。 BIOS記顏5G财為_斷紐也不會失去資·容的記憶 體’例如唯讀記憶體讲㈤⑸轉麵^⑽冲’或是唯讀的快閃 記憶體(flash memory)。而BI〇s 52的程式内容儲存於Bl〇s記憶 體5〇之中,用以控管計算機2〇的電源被啟動後到被啟動程序完 全啟動計算機20之間的程序。 疋 開機裝置序列54可具有至少一個_指標,且具有多個開機 201102922 指標時’這些開機指標按照優先順序指向不同的開機裝置私 開機裝置序列54中的順序可為内建的順序,亦可由使用者自= 改。此外,開機裝置序列54的内容可以例如是光碟機-硬^閃 裝置。 BIOS 52存取職裝置序列54,並依據開顧置序列$ 機指標所被紀錄的優先順序在各開機裝置4 汗 丁找哥啟動程序,以 載入並啟動計算機20。其中開機裝置序列M具有第—開機 58,用以指向優先順位被設為第一的開機裝置46(即第一 ^ 置)。處理器3〇欲載入啟動程序時,便首先在第—開機裝置中搜尋 啟動程序以載入並執行。 根據本發明,鹏記髓料妓料限枝唯讀記憶體, 而開機裝置序列可儲存於—互補式金屬氧化層板導體記憶體 (Complementary Metal-Ox.de-Sem.onductor,CMOS) t ^ 他斷電後㈣也不會消失且非唯讀的記縣置,例如快閃記^體 中。此外’腿記憶體%中可儲存有複數張開機圖示,且每— 開機圖示均對應且代表一個開齡置46,例如硬碟或光碟機。並 中對應到[開機裝置的開機圖示即稱為第—開機圖示兄。第二 開機圖不56及其他職圖示的格式可以是轉师如&卩,又稱 BMP)。藉_示第_開機圖示%給使用者,使用者便能從顯示 的第-開機@不56得知目前所奴的第—開機裝置是哪—個開機 月i…、第2圖」,其係為根據本發明一實施例進行開機之流 私不思圖。由圖可以知悉,以職裝置序列賴示方法進行開機 201102922 的步驟包括步驟S60 :初始化隨機存取記憶體4〇 ;步驟S70 :讀 取開機裝置序列54;步驟S80:初始化視訊圖形陣列42;步驟S90: 把第一開機圖示56載入於隨機存取記憶體4〇 ;步驟S100 :把儲 存於隨機存取記憶體4〇的第一開機圖示56顯示於顯示裝置44 ; 步驟S180 :依據開機裝置序列54载入啟動程序;以及步驟sl9〇 : 啟動計算機20。 於步驟S60 ’隨機存取記憶體4〇被初始化。.以一般電腦為例, 計异機20電源被開啟後,會依序初始化處理器3〇、北橋晶片 bndge ’未繪示)、隨機存取記憶體40以及南橋晶片(Southbridge, 未繪示)。隨機存取記憶體4〇被初始化後,處理器30即可利用隨 機存取記憶體40進行後續程序的執行及運算。 處理器30在步驟S70讀取開機裝置序列54,並在步驟S80, 把視訊圖形陣列42初始化。承上述一般電腦開機時的初始化順 序處理态30把南橋晶片初始化後,繼續初始化鍵盤控制器 (Keyboard Controller,KBC)(未繪示)、視訊圖形陣列42以及週邊 組件互連(Peripheral Component Interconnect,PCI)裝置(未纟會示)等 等硬體。在視訊圖形陣列42被初始化之後,顯示裝置44即會將 上述隨機存取記憶體40中位址為ΟχΑΟΟΟΟ到0xC0000之資料顯 示於顯示裝置44。也就是說,若使用者在開機後看到了晝面,即 表示視訊圖形陣列42已經被初始化了。 接著步驟S90把對應於第一開機裝置的第一開機圖示56载入 隨機存取記憶體40。請同時參照「第3圖」,其係為根據本發明 一實施例之步驟S90的流程示意圖。根據本發明,把第一開機圖 201102922 示56載入於隨機存取記憶體4〇時另可包括步驟S92 :解壓縮第一 開機圖不56 ;以及步驟S94 :把解壓縮後的第一開機圖示56載入 隨機存取記憶體40。 為了節省BIOS記憶體50的空間,第一開機圖示56可以是被 壓縮過後才被存人BIOS記憶體5〇的圖;^當。則欲把第一開機圖示Graphics Array (VGA) 42, display device 44, and at least one boot device 46. The BIOS memory stores a BIOS 52, a boot device sequence 54, a first boot icon 56, and a first boot indicator 58. The processor 30 can be a Central Processing Unit (CPU) for processing the operations of the computer 20. After the power of the computer 2 is turned on, the processor 30 performs a power-on self-detection (p〇ST) and loads the BIOS 52. The processor 30 then initializes the basic hardware of the computer 20, such as the random access memory 4, the video graphics array 42, and the display device 44, in accordance with 201102922. The random access memory 40 can exchange data directly with the processor 3. Since the random access memory 40 can be read and written at any time and is fast, it is initialized as early as possible for subsequent use in the boot process. During the boot process, the code stored in the BI〇s memory 5 is also copied to the random access memory 4 for execution. The video graphics array 42 is a computer display standard that uses analog signals. Generally, a device such as a personal computer must support the standard of the video graphics array 42 before carrying its own unique driver. The video graphics array 42 is typically fixed at the location where the addressed location in the random access memory 40 is between 〇χΑ〇〇〇〇xC〇〇〇〇 at boot time. 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. The boot device 46 can be a computational_basic species, or a peripheral device that is remote to the computer 2' or even a remote computer connected via a network. The startup program for completely starting the computer can be stored in the boot farm milk. 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. The BIOS remembers that 5G is a _ break, and it will not lose its memory. For example, read-only memory (5) (5) turn surface ^ (10) rush' or read-only flash memory. The contents of the BI〇s 52 program are stored in the Bls memory 5 to control the program between the computer 2's power supply and the startup program to completely start the computer 20. The boot device sequence 54 may have at least one indicator, and when there are multiple boot 201102922 indicators, the order in which the boot indicators are directed to different boot devices in the private boot device sequence 54 may be in the built-in order, or may be used. From = change. Further, the contents of the boot device sequence 54 may be, for example, a disc player-hard flash device. The BIOS 52 accesses the device sequence 54 and initiates a program at each of the boot devices 4 to load and start the computer 20 in accordance with the priority order in which the device indicators are recorded. The boot device sequence M has a first-on switch 58 for pointing to the boot device 46 (ie, the first switch) whose priority order is set to the first. When the processor 3 wants to load the boot program, it first searches for the boot program in the first boot device to load and execute. According to the present invention, the Pengji linguistic material is limited to read-only memory, and the boot device sequence can be stored in a Complementary Metal-Ox.de-Sem.onductor (CMOS) t ^ After he loses power (4), he will not disappear and will not be read only by the county, such as flashing in the body. In addition, the 'leg memory % can store a plurality of boot icons, and each of the boot icons corresponds to and represents an open age 46, such as a hard disk or a CD player. The corresponding boot to the [boot device boot icon is called the first - boot icon brother. The second boot image is not 56 and the format of other job icons can be a transfer teacher such as & amp, also known as BMP). By l_ _ _ boot icon % to the user, the user can know from the displayed first - boot @ not 56 - the current slave - the boot device is - a boot month i ..., 2," It is a private operation according to an embodiment of the present invention. It can be known from the figure that the step of booting 201102922 by the device sequence method includes step S60: initializing the random access memory 4; step S70: reading the boot device sequence 54; step S80: initializing the video graphics array 42; S90: loading the first boot icon 56 into the random access memory 4〇; step S100: displaying the first boot icon 56 stored in the random access memory 4〇 on the display device 44; step S180: The boot device sequence 54 loads the boot program; and the step sl9: starts the computer 20. The random access memory 4 is initialized in step S60'. Taking a general computer as an example, after the power of the metering machine 20 is turned on, the processor 3〇, the north bridge chip bndge 'not shown', the random access memory 40, and the south bridge chip (not shown) are sequentially initialized. . After the random access memory 4 is initialized, the processor 30 can perform the execution and calculation of the subsequent program by using the random access memory 40. The processor 30 reads the boot device sequence 54 at step S70, and initializes the video graphics array 42 at step S80. In the initialization sequence processing state of the above-mentioned general computer booting, after initializing the south bridge wafer, the keyboard controller (KBC) (not shown), the video graphics array 42 and the peripheral component interconnect (PCI) are continuously initialized. ) The device (not shown) and so on. After the video graphics array 42 is initialized, the display device 44 displays the data in the random access memory 40 with the address ΟχΑΟΟΟΟ to 0xC0000 on the display device 44. That is to say, if the user sees the face after powering on, it means that the video graphics array 42 has been initialized. Next, in step S90, the first boot icon 56 corresponding to the first booting device 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 the first boot map 201102922 is displayed 56 in the random access memory 4, the method may further include the step S92: decompressing the first boot image 56; and the step S94: decompressing the first boot The figure 56 loads the random access memory 40. In order to save space in the BIOS memory 50, the first boot icon 56 may be a map that is stored in the BIOS memory after being compressed; Then want to put the first boot icon
56載入隨機存取記憶體4〇時,須把存在BI〇s記憶體%中的壓 縮圖槽解壓縮後再載入隨機存取記憶體4〇巾。前述步驟s9〇、 S92及S94即疋將被壓縮之第一開機圖示%進行解壓縮後,再 儲存於隨赫取記賴40狀錄置為GxA_則χαχχ)()中。 視訊圖形陣列42在開機時通常固定使用隨機存取記憶體4〇中定 址位置為ΟχΑΟΟΟΟ到0xC0_之間的位置,故可將第一開機圖示 56 «人上述位址,以等待被視訊圖形陣列^顯示於顯示裝置 44上。此外,把第-開機圖示56载入隨機存取記缝4〇中的位When 56 is loaded into the random access memory, the compressed groove in the memory of % BI s is decompressed and then loaded into the random access memory 4 wipe. The foregoing steps s9〇, S92 and S94 are decompressed by the compressed first boot image %, and then stored in the GxA_ χαχχ)(). The video graphics array 42 is usually fixed at the time of booting, and the address in the random access memory 4 is located between 0xC0_, so the first boot icon 56 «the above address can be used to wait for the video graphics. The array ^ is displayed on the display device 44. In addition, the first-boot icon 56 is loaded into the bit in the random access slot 4〇
置係對應於視訊__ 42使_記鐘位址。根據本發明,载 入的位置亦不限於在隨機存取記憶體4〇中〇χΑ〇〇〇〇到 位址,而可依據視訊圖形陣列42的設定而改變。 第-開機_ 56載人隨機存取記憶體4()後,處理㈣在+ =⑽把第-開機圖示56顯示於顯购44以供使用者二 處理器㈣依開機裝置序列54的第—開機指標抑第一開 不56载入隨機存取記憶體4〇中,並 第一開機圖示56顯示出來。使得使用者可以在不的 =由顯示的第-開機圖示56得知第—開機指標%的内容。过 ^弟4圖」’其係為根據本發明-實施例之顯示示意圖。2 201102922 圖所示,第-開機圖示56表示出第一開機指標58所指向的開機 裝置46而顯示於顯示裝置44上。 於步驟S180,處理器%依據開機裝置序列54依序去各開機 裝置46找尋啟動程序’用以完整啟動計算機2〇。當在第—開機指 標。所指向的開機裝置46中找不到能夠使用的啟動程序時,處 理盗30會去第二順位的開機裝置%中找尋啟動程序。若是仍然 找不到祕使關啟動程序,便繼續依_裝置序列54去下一順 位的開機裝置46中找尋。 ^到啟動程序後’處理器3〇於步驟㈣載入啟動程序,並把鲁 。十^機2〇的控制權由BI〇S52交給啟動程序,而完成整個計算機 20的開機作業。 月再 >’、、、第1圖」,根據本發明之另一實施例,計算機20另 可b括輸入裝置47與中斷(Interr_ 48。其中輸入裝置用以接 收使用者所輸入的指令, ^ , 且輪入裝置47可以是但不限定是鍵盤。 中斷48係指接收來自處理哭如 °。30以外的硬體或來自軟體的信號後 進仃相應處理的模組,且中 , 肀斷48包含一設定程序。輸入裝置47 中了L 3至少一個熱鍵,每— 啤個熱鍵被設定為對應一個開機裝置 46。母個熱鍵均可藉由中 ,〇 φ .. 斷48觸發設定程序,以把第一開機指標 58更改為熱鍵所對應的開機裴置邾。 請參照「第5圖」,其传 ^ 〜馬根據本發明另一實施例進行開機之 /瓜矛王不思圖。請同時參照「 只 枵轳孫冲主4‘、、、乐2圖」與「第5圖」,其中相同的 心就係代表相類似的步驟。 由「第5圖」可以見淨,p …’開機方法包括步驟s6〇 :初始化隨機 12 201102922 憶體4〇 ;步驟S70 :讀取開機裝置序列54 ;步驟S8〇 :初 触視訊_陣列42 ;步驟陳·把第—剛_ %载入於隨機 存取S己憶體⑼;步驟测:把齡於_存取記憶體4〇的第〆 開機圖不56顯示於顯示裝置44 ;步驟测:初始化輸入裝置^ ; 步驟㈣:初始化中斷48 ;步驟⑽:卿是否指令被輸入; 步驟隊判斷指令是否為縱值;步驟⑽:更改第一開機指 私58’步驟S160:更改第一開機圖示兄,並把更改過的第一開機 圖示56載人於隨機存取記憶购;步驟㈣:將儲存於隨機存 取德體40的更改過的第一開機圖示%顯示於顯示裂置化步 驟遞:依制置賴54載人雌程序;以及步驟sl9〇 : 啟動計算機20。 步驟S60到步驟S1⑻的内容大致如前—實施例所述。而在一 般的電腦’初始化視訊圖形陣列42後,會接著進行步驟叫〇初 始化鍵盤(可視為H置47之―),以及倾_初始化中斷 (Interrupt) 48 ° 使用者看見第-開機圖示56後,可以根據需求自行決定是否 要更改第-開機指# 58。則於步驟sl3〇判斷是否有指定經由輸入 裝置47被輸入,若有,於步驟賴判斷被輸入的指令是否為對 應各開機裝置46的預設值。例如當輸人裝置47為鍵盤,而代表 要把第職才曰才示58改為光碟機的預設值(即熱鍵)設為π時,處 理器3〇判斷使用者是否有按F2以把第-開機指標58指向為光碟 機。 當使用者輸入的指令與預設值相同時,表示使用者欲藉由熱鍵 13 201102922 更改第一開機指標58所代表的第一開機裝置。故於步_〇,第 一開機指標58被改為指向指令所對應到的開機裝置46。接著,進 =了,依據變更過的第—開機指標%更改第,_ 二把更改過的第—開機圖示%载人於隨機存取記憶體你隨 後在步驟S170,把重新載入於儲存於隨機存取記憶體40的第一開 機圖:56顯示於顯示裝置-如此-來,使用者便能藉心 不的第-開機圖示56得知第一開機指標似變更成功與否。 ^時參照「第4圖」與「第6圖」,「第6圖」係為根據本發 俨58 例Z改顯示示意圖。舉例來說’原先的第-開機指 t向^碟時’如「第4圖」所示,顯示裝置44顯示出對 ^硬碟的第-開機圖示56。而在使用者藉由輸入熱鍵的方式將 第-開機指標58更改為光碟機時,如「第6圖」所示,顯示結果 亦會Ik著更改為代表辆機的第—職圖示56。 第一開機指標58被變更完畢後,處理器3〇執行前述的步驟 S170與步驟S18G,在被更改過的第—開機裝置搜尋啟動程式並執 行。 而當使用者沒有輸人指令,或是輸人的指令並翻以更改第一 開機指標58 _設辦,處理㈣執行魏的步驟咖與步驟 S190。處理器30依據開機裝置序列μ依序去各開機裝置奶找尋 啟動程序’域人啟動程序以完整雌計算機20。 根據本發明之開機方法,倾·機裝置相_被儲存於 BIOS的第-職圖示。使用者即使不進人設定選單,也能藉由顯 不出的第-開機圖示得知當時第—開機指標的内容。此外,從視 14 201102922 訊圖形陣列被初始化後到開始載入啟動程序之前,均能顯示第一 開機圖示’並提供熱鍵以更改第一開機指標。因此當使用者有需 要更改第一開機指標時,便可在第一開機圖示顯示的時間内輸入 對應各開機裝置的熱鍵來變更。由於在啟動程序载入前便更改第 一開機指標,故能直接去被指向的新的第一開機裝置尋找啟動程 序並啟動計算機,而不需於變更設定後重頭啟動計算機。 雖然本發明以前述之較佳實施例揭露如上,然其並非用以限 疋本發明,任何熟習相像技藝者’在视縣發明之精神和範圍 内」、當可作些許之更動與潤飾,因此本㈣之專娜護範圍須視 本"兒明書所附之申請專利範圍所界定者為準。 【圖式簡單說明】 第1圖係為根據本㈣之計算機的_示意圖; 第2圖係為根據本發明—實麵進行開機之流程示意圖;The setting corresponds to the video__42 making the _clock address. According to the present invention, the position to be loaded is not limited to the address in the random access memory 4, but may vary depending on the setting of the video pattern array 42. After the first-boot_56 manned random access memory 4(), the processing (4) displays the first-boot icon 56 on the display 44 for the user's second processor (four) according to the boot device sequence 54 at +=(10) - The boot indicator is not loaded into the random access memory 4〇, and the first boot icon 56 is displayed. This allows the user to know the content of the first-on indicator % from the displayed first-boot icon 56. A diagram of a display according to the present invention - an embodiment is shown. 2 201102922 The first boot icon 56 shows the boot device 46 pointed to by the first boot indicator 58 and is displayed on the display device 44. In step S180, the processor % sequentially goes to each boot device 46 to find the boot program according to the boot device sequence 54 to completely boot the computer. When in the first - boot indicator. When the boot program that can be used is not found in the boot device 46 pointed to, the hacker 30 will go to the second boot device to find the boot program. If the secret activation procedure is still not found, the device sequence 54 continues to be searched for by the next device. ^ After the startup program, the processor 3 步骤 in step (4) loads the startup program and puts Lu. The control of the ten machine 2 is handed over to the startup program by the BI〇S52, and the startup operation of the entire computer 20 is completed. According to another embodiment of the present invention, the computer 20 may further include an input device 47 and an interrupt (Interr_48. wherein the input device is configured to receive an instruction input by the user, ^ , and the wheeling device 47 can be, but is not limited to, a keyboard. The interrupt 48 refers to a module that receives processing from a hardware or a software other than the hardware that is crying, such as a crying. A setting program is included. The input device 47 has at least one hotkey of L3, and each of the hotkeys of the beer is set to correspond to a booting device 46. The parent hotkey can be triggered by the middle, 〇φ.. The program is to change the first power-on indicator 58 to the power-on device corresponding to the hot key. Please refer to "figure 5", which is transmitted according to another embodiment of the present invention. Please also refer to "only 枵轳孙冲主4', 乐乐2图" and "5th picture", in which the same heart represents a similar step. From "5th picture" you can see the net, p ... 'boot method includes step s6 〇: initialization random 12 201102922 memory 4 Step S70: reading the boot device sequence 54; step S8: first touch video_array 42; step Chen · loading the first - just_% into the random access S memory (9); step measurement: age _ The first boot map 56 of the access memory 4 is displayed on the display device 44; the step test: initialize the input device ^; step (4): initialize the interrupt 48; step (10): whether the command is input; the step team determines whether the command is vertical Value; Step (10): Change the first boot finger private 58' Step S160: Change the first boot icon brother, and change the first boot icon 56 to the random access memory purchase; Step (4): will be stored in The modified first boot icon % of the random access body 40 is displayed in the display splitting step: the dependent-loading 54-person female program; and the step sl9: starting the computer 20. Steps S60 to S1(8) The content is substantially as described in the previous embodiment. After the general computer 'initializes the video graphics array 42, the next step is to call the initialization keyboard (which can be regarded as H-47), and the _ initialization interrupt (Interrupt) 48 ° User sees the first - boot icon 5 After 6th, it is possible to decide whether to change the first-power-on finger #58 according to the demand. Then, in step sl3, it is judged whether or not the designation is input via the input device 47, and if so, whether the command input is determined to correspond to each booting. The preset value of the device 46. For example, when the input device 47 is a keyboard, and the preset value (ie, hot key) of the CD player is changed to π, the processor 3 determines. Whether the user has pressed F2 to point the first-on indicator 58 to the optical disk drive. When the user inputs the same command as the preset value, it indicates that the user wants to change the first power-on indicator 58 by the hot key 13 201102922. The first boot device. Therefore, in step 〇, the first power-on indicator 58 is changed to point to the boot device 46 to which the command corresponds. Then, enter =, according to the changed first - boot indicator % change the first, _ two changed the first - boot icon % manned in the random access memory you then in step S170, reloaded in the store The first boot map of the random access memory 40: 56 is displayed on the display device - so that the user can use the first boot icon 56 to know whether the first boot indicator is changed successfully or not. ^ Refer to "4th" and "6th", and "6th" is a schematic diagram showing the change of 58 cases according to the present invention. For example, the 'original first-boot-to-tray' is as shown in Fig. 4, and the display device 44 displays the first-on-power icon 56 for the hard disk. When the user changes the first-on indicator 58 to the optical disk drive by inputting a hotkey, as shown in "Fig. 6," the display result will be changed to the first job icon representing the aircraft. . After the first power-on indicator 58 has been changed, the processor 3 executes the aforementioned steps S170 and S18G to search for and execute the startup program on the changed first-boot device. When the user does not input the instruction, or enters the instruction and changes to the first boot indicator 58 _ set, the processing (4) executes the step of the Wei and the step S190. The processor 30 sequentially searches the boot device for each boot device based on the boot device sequence μ to start the program to the full female computer 20. According to the booting method of the present invention, the tilting device phase_ is stored in the first job icon of the BIOS. Even if the user does not enter the setting menu, the user can know the contents of the first-starting indicator by the displayed first-boot icon. In addition, the first boot icon can be displayed and the hotkey can be changed to change the first boot indicator from the time when the graphics array is initialized to the start of loading the boot program. Therefore, when the user needs to change the first power-on indicator, it can be changed by inputting a hot key corresponding to each booting device within the time indicated by the first power-on icon. Since the first boot indicator is changed before the boot program is loaded, the new first boot device pointed to can be directly searched for the boot program and the computer can be started without restarting the computer after changing the settings. Although the present invention has been disclosed above in the foregoing preferred embodiments, it is not intended to limit the present invention, and any skilled artisan will be able to make some modifications and refinements when in the spirit and scope of the invention. The scope of the special protection of this (4) shall be subject to the definition of the patent application scope attached to this book. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a computer according to the present invention (4); and FIG. 2 is a schematic diagram of a flow of starting a virtual surface according to the present invention;
以及 2圖係為根據本發明—實施例之步驟S90的流程示意圖 第4圖係為根據本翻1施例之顯麵音圖. 第5圖係為根據本發料—實施例進行卩«之流程示意圖 第6圖係為根據本發明另_實施例之更改 【主要元件符號說明】 20 計算機 30 處理器 40 隨機存取記憶 42 視訊圖形陣列 顯示示意圖 15 201102922 44 顯示裝置 46 開機裝置 47 輸入裝置 48 中斷 50 BIOS記憶體 52 BIOS 54 開機裝置序列 56 第一開機圖示 58 第一開機指標2 is a flow chart according to the present invention - step S90 of the embodiment. FIG. 4 is a display sound map according to the embodiment of the present embodiment. FIG. 5 is a diagram of the present invention according to the present invention. Figure 6 is a modification of another embodiment according to the present invention. [Main component symbol description] 20 Computer 30 Processor 40 Random access memory 42 Video graphics array display diagram 15 201102922 44 Display device 46 Power-on device 47 Input device 48 Interrupt 50 BIOS memory 52 BIOS 54 boot device sequence 56 first boot icon 58 first boot indicator
1616