1328190 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種唯讀記憶體之寫入保護方法,特別是 關於一種燒錄有基本輸入輸出系統(Basic丨叩^/〇utpUt System,BIOS)之唯讀記憶體之寫入保護方法。 【先前技術】 近年來’由於電子科技快速的發展,消費性電子產品除 了電腦之外例如行動電話、個人數位助理(pDA)等都具有 智慧型系統,且可執行電腦所具有的部分功能,提供了使 用者更多使用的便利性。 以電腦為例,在電腦系統中是具有一較低階的韌體,一 般熟知為基本輸出入系統(BI0S,Basic Input/〇utput1328190 IX. Description of the Invention: [Technical Field] The present invention relates to a write-protection method for read-only memory, and more particularly to a basic input/output system (Basic丨叩^/〇utpUt System, BIOS) The write-protection method of read-only memory. [Prior Art] In recent years, due to the rapid development of electronic technology, consumer electronic products, in addition to computers, such as mobile phones, personal digital assistants (pDA), etc., have intelligent systems and can perform some functions of computers. The convenience of the user to use more. Taking a computer as an example, it has a lower-order firmware in a computer system, and is generally known as a basic input/output system (BI0S, Basic Input/〇utput).
System)其是伴隨電腦主機而來的,並且是存放於唯讀記 憶體(ROM,Read Only Memory)上面的一段程式,上面包 含了許多電腦輸出入的基本副程式,以及電腦電源開啟之 後會先執行基本輸出入系統以進行初始值設定及開機自 我測試(即POST,Power-on Self Test),並且,讀取互 補式金屬氧化物半導體(CM0S,C〇mpiementary 貝System) is a program that comes with the host computer and is stored on the Read Only Memory (ROM). It contains a number of basic sub-programs that are input and output from the computer. Perform basic input and output into the system for initial value setting and power-on self test (ie, POST, Power-on Self Test), and read complementary metal oxide semiconductor (CM0S, C〇mpiementary
Metal-Oxide Semiconductor)中的資料(硬碟大小、是否 有光碟機、系統時間、是否使用映射隨機存取記憶體 (Shadow RAM)等資訊)。 " 電腦在完成開機後,會载人-作業系統由使用者開始操 作電腦。由於網路的應用已相當廣泛,使用者可藉由;路 去獲得各項資訊。然而,電腦系統也會因為網路而受到病 326^ 利說明書(補件)\96-04\TF964504 5 1328190 . · 電腦在開機(Power0n)後,電腦系統10執 :失^、M 16之基本輸人輪出系統的副程式及讀取各 種參數以進行開機自我測試( 各 10中之p r 以驟S30),以測試電腦系統 中之各個裝置疋否功能正常或是否有裝設。 在開機程序巾任何—個料執行結束之後, 行燒錄於ROM 16中用以更改寫入裎4呢皮 2執 拙"姑4口斗、s ”’、細作順序之一程式碼。 執订該知式碼,將燒錄於_ 16中之一更改 I料載入於PU 24中(步驟S32)。 、、序貝 丨姑接f,將該更改操作順序資料載入於PLA 24之後,在 接下來操作電腦系統1〇時,若 在 出系統進行更新或修改,必須執寫 &本輸入輸 .^ , 、轨仃寫入5亥更改後之据作丨値 序貝料,才允許對R〇M 16之美太蛉 ’、乍丨頁 或修改。 土輸入輸出系統進行更新 之後,持續進行電腦開機程序,或者進行载 統,以完成整個開機程序。 蒹糸 在完成用以更新或修改職16之基 更改操作順序資料的载入之後,該;輸出錢之 有開:基本輸入輸出系統的程式設計師4 = = 壞之R使用手冊之所預設的操作順序資 ‘改或破壞_ 16之基本輸入輸出系統。 當電腦關機後,載入在pu 2 將會消失,在下-⑽胸―更_作順序資料 士去 開機後,在電腦系統10的開機箱庠 中重新載入該更改操作順序資料於…24中。浐序 本發明的優點在於提供一種唯讀記憶體之寫入保護方 32价專利說明書(補件)\96-04\TF964504 0 Ο 法’在病毒㉔客人侵電腦线,且得知唯讀記憶 =的寫人操作順序資料時,該方法以更改寫人操作^ 可程式邏輯陣列中,使病毒或骇客無法以原始操作 順序貧料來對燒錄於唯讀記憶體中之基本輸人輸出系統 惡意的更改或破壞。 雖然本發明已參照較佳具體例及舉例性附圖敘述如 上’惟其應不被視為係限制性者。熟悉本技藝者對其形雜Information in Metal-Oxide Semiconductor (hard disk size, whether there is an optical drive, system time, whether to use information such as mapped random access memory (Shadow RAM)). " After the computer is turned on, it will carry the person-operating system and the user starts to operate the computer. Since the application of the Internet is quite extensive, users can use the road to obtain various information. However, the computer system will also be affected by the network 326 ^ Lee manual (supplement) \96-04\TF964504 5 1328190. · After the computer is turned on (Power0n), the computer system 10: Lose ^, M 16 basic The input program of the input system and the reading of various parameters for boot self-test (each of 10 pr to step S30) to test whether the various devices in the computer system are functioning properly or whether they are installed. After the execution of any of the booting wipes, the program is burned in the ROM 16 to change the code of the 裎4 皮 2 2 拙 姑 姑 姑 姑 姑 姑 姑 姑 姑 姑 姑 姑 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 、 The knowledge code is set, and one of the changed I materials is loaded into the PU 24 (step S32). The sequence information is loaded into the PLA 24 after the change operation sequence data is loaded. In the next operation of the computer system, if the system is updated or modified, it must be written & this input and input. ^, , the track is written after the 5 Hai change, according to the order, Allow the beauty of R〇M 16 to be too ',' or change the page. After the earth input and output system is updated, continue the computer boot process, or carry out the system to complete the boot process. 蒹糸Complete to update or After modifying the job of the job change order of the job, the output of the data is open: the programmer of the basic input and output system 4 = = the default operation sequence of the bad R manual is changed or destroyed. _ 16 basic input and output system. When the computer is turned off, load The pu 2 will disappear, and after the next - (10) chest - more _ order of the data to boot, reload the change operation sequence data in the open file of the computer system 10 in ... 24. The advantages of the present invention Is to provide a read-only memory write protection party 32 price patent specification (supplement) \96-04\TF964504 0 Ο law 'in the virus 24 guests invade the computer line, and learn the read-only memory = the order of the writer In the case of data, the method is to change the write operation of the programmable logic array so that the virus or the hacker cannot use the original operation order to make malicious changes or damage to the basic input output system burned in the read-only memory. The present invention has been described above with reference to the preferred embodiments and the accompanying drawings, which should not be considered as limiting.
及具體例之内容做各種修改、省略及變化,均不離開本^ 明之範圍。 χ 【圖式簡單說明】 圖1為本發明之電腦系統的示意圖;以及 圖2為本發明之唯讀記憶體之寫入保護方法的流程圖。 【主要元件符號說明】Various modifications, omissions and changes may be made without departing from the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a computer system of the present invention; and FIG. 2 is a flow chart of a write protection method for a read-only memory of the present invention. [Main component symbol description]
10 電腦系統 12 CPU 14 儲存裝置 16 ROM 18 RAM 20 I/O單元 22 匯流排 24 PLA 326^ 利說明書(補件)\96-04\TF964504 910 Computer system 12 CPU 14 Storage device 16 ROM 18 RAM 20 I/O unit 22 Busbar 24 PLA 326^ Benefits manual (supplement)\96-04\TF964504 9