This application makes reference to, incorporates the same herein, and claims all benefits accruing under 35 U.S.C .sctn.119 from an application entitled Method For Updating ROM BIOS earlier filed in the Korean Industrial Property Office on Mar. 10, 1997, and there duly assigned Ser. No. 97-7960 by that Office.
Background of the Invention
1. Field of the Invention
The present invention relates to a method for updating a ROM BIOS (read only memory basic input/output system). More particularly, the present invention relates to the method which updates a ROM BIOS image data corresponding to user information and then displays the updated image data while performing a power-on-self-test (POST) after a power-on reset operation.
2. Description of the Related Art
A ROM BIOS, or BIOS-ROM, is programmed by predetermined regulations so that sign on messages are displayed during a POST procedure when booting a computer. The sign on message typically includes the computer producer, information about the manufacturer of the ROM BIOS and the current version of the ROM BIOS. The conventional art concerning the ROM BIOS update has been limited to improving the ROM BIOS by updating only the function of the ROM BIOS without changing a previously made particular image. In order to change or update the BIOS it is known to use a flash memory which comprises write protected memory blocks and memory blocks which can be erased and rewritten. The following patents, incorporated herein by reference, discribe the use of flash memories as ROM BIOS: U.S. Pat. No. 5,388,267 to Wai-Ming R. Chan, et al. entitled Method And Apparatus For Updating And Restoring System BIOS Functions While Maintaining BIOS Integrrity; U.S. Pat. No. 5,473,775 to Makoto Sakai entitled Personal Computer Using Flash Memory As BIOS-ROM; U.S. Pat. No. 5,519,843 to Dov Moran, et al. entitled Flash Memory System Providing Both BIOS And User Storage Capability; U.S. Pat. No. 5,522,076 to Koichi Dewa, et al. entitled Computer System Having BIOS (Basic Input/Output System)-ROM (Read Only Memory) Writing Function; and U.S. Pat. No. 5,535,357 to Dov Moran, et al. entitled Flash Memory System Providing Both BIOS And User Storage Capability.
Accordingly, for computers produced by the same company the conventional ROM BIOS update art has a disadvantage in that the sign on messages do not contain user information to be displayed during the POST procedure.
Summary of the Invention
It is an object of the present invention to provide ROM BIOS having user informations stored therein and a method for updating ROM BIOS image data by first converting data regarding new user information input by a user into image data and then merging the image data of new user information with an old ROM BIOS image data, in order to substantially overcome the limitations and disadvantages of the prior art.
It is another object of the present invention to enable the user to recognize his computer through unique characteristics that are displayed on a monitor and make it easy to identify his/her computer by displaying the user information data while performing a power on self test (POST).
Additional objects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
To achieve the objects and in accordance with the purpose of the invention, as embodied and broadly described herein, the invention comprises the steps of reading a ROM BIOS image data from a ROM BIOS, reading a new ROM BIOS image data from an auxiliary memory, reading new user information, converting the new user information into image data; updating the ROM BIOS to store the image data corresponding to the new user information in the ROM BIOS.
Brief Description of the Drawings
A more complete appreciation of the present invention, and many of the attendant advantages thereof, will become readily apparent as the same becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings, wherein:
FIGS. 1A and 1B are a flowchart which illustrates a method for updating a ROM BIOS in accordance with the principles of the present invention;
FIG. 2 shows a memory map of a system memory used by the method for updating the ROM BIOS in accordance with the principles of the present invention;
FIG. 3 shows a more detailed memory map of the ROM BIOS update code area of the system memory shown in FIG. 2;
FIG. 4 is a memory map showing the state of the ROM BIOS image data before the update of the image data in accordance with the principles of the present invention;
FIG. 5 is a memory map showing that new user information is input into the user information area of the ROM BIOS update code area shown in FIG. 3 of the system memory;
FIG. 6 is a memory map showing the updated ROM BIOS in which the new user information is stored in accordance with the principles of the present invention;
FIG. 7 illustrates the memory map of the ROM BIOS after the image data which is divided into the user information and the company information is updated in accordance with a second embodiment of the present invention; and
FIG. 8 illustrates the memory map of the ROM BIOS before the image data is updated in accordance with the second embodiment of the present invention.
Detailed Description of the Preferred Embodiment
The following detailed description of the invention refers to the accompanying drawings that illustrate preferred embodiments consistent with the principles of this invention. Other embodiments are possible and changes may be made to the embodiments without departing from the spirit and scope of the invention. The following detailed description does not limit the invention. Instead, the scope of the invention is defined only by the appended claims.
First, the user information is defined to be any information the user desires to be displayed which can be readily identified to inform the user that the computer is his/her computer. This user information can be a sequence of characters, numbers or both which are displayed as any of a code, a social security number, a user's name, date of one's birth, sex, etc., when the computer is booted at power-on reset. And in a second embodiment, as shown in FIGS. 7 and 8, company information can also be stored in the ROM BIOS for display in a manner similar to that for the user information. Accordingly, in the method described below it should be understood that all reference to user information may also correspond to inclusion of company information.
Referring to FIGS. 1A and 1B, the operation for updating the user information begins with reading ROM BIOS image data from a ROM BIOS which is to be updated, and checking the system ID of the read ROM BIOS image data. The read ROM BIOS image data is stored in a system memory in the state of the memory map such as shown in FIG. 4, steps 101 to 103.
Next, new ROM BIOS image data is read from an auxiliary memory such as a floppy disk or a hard disk is loaded into the system memory, step 105, and then the checksum is read in step 107. Then, in order to determine whether there were any errors in the reading the new ROM BIOS image data, a check is made to determine whether the checksum is correct, step 109.
If the checksum is determined to be correct, the system ID of the new ROM BIOS image data is checked to determine whether the system ID of the new ROM BIOS image data is the same as that of the ROM BIOS image data to be updated, step 111. If the checksum is incorrect or the system ID of the new ROM BIOS image data is not equal to the system ID of the ROM BIOS image data to be updated, the process jumps to step 125 and ends.
If both of the system IDs are determined to be equal to each other, new user information input via a keyboard is read by a keyboard input read area of the system memory in step 113. Next, whether all the new user information is read or not is determined in step 115. If any new user information to be read yet remains, the remaining user information is then read by returning to step 113. When step 115 determines that the reading of new user information is finished, the read new user information is stored in a user information area of a temporary memory after being converted into image data by the flash ROM update code area, step 117, of the system memory. As a result, the user information area of the ROM BIOS update code area such as shown in FIG. 3 is converted to the new user information area such as shown in FIG. 5.
Then, the to-be-updated ROM BIOS image data corresponding to the old user information stored in the system memory in the state of the memory map such as shown in FIG. 4 is overwritten by the image data corresponding to the the new user information stored in the user information area. Therefore, the memory map of the ROM BIOS image data which is to be updated is changed from the state such as shown in FIG. 4 to the state such as shown in FIG. 6 since the old user information is overwritten by the image data corresponding to the new user information, step 119.
Then the checksum of the new ROM BIOS image data is updated in the ROM BIOS checksum area, step 121, and then the user information of the ROM BIOS is updated to the new image data and the new user information by utilizing the image data corresponding to the new user information stored in the system memory. As a result, the state of the memory map of the ROM BIOS before the update of the image data such as shown in FIG. 8 is converted into the state of the memory map of the ROM BIOS which is updated to the new user information sign on message and the company information sign on message such as shown in FIG. 7, step 125.
Therefore, the user information message which is of the sign on messages displayed during a POST operation displays the new user information newly inputted by the user. Consequently, the advantage of the present invention lies in that user information displayed during a POST operation will display information input by the user which can be readily identified to distinguish one's computer among many different computers for many reasons such as work station identification, security, theft recovery, etc.