JPH07129396A - Method for patching read-only storage device - Google Patents
Method for patching read-only storage deviceInfo
- Publication number
- JPH07129396A JPH07129396A JP5277208A JP27720893A JPH07129396A JP H07129396 A JPH07129396 A JP H07129396A JP 5277208 A JP5277208 A JP 5277208A JP 27720893 A JP27720893 A JP 27720893A JP H07129396 A JPH07129396 A JP H07129396A
- Authority
- JP
- Japan
- Prior art keywords
- data
- read
- storage device
- rom
- patch
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は読み出し専用記憶装置の
パッチ方法に関し、特にコンピュータシステムに用いら
れる書き換え不可能な記憶装置のデータを疑似的に書き
換え可能とするパッチ方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a patch method for a read-only storage device, and more particularly to a patch method for making data in a non-rewritable storage device used in a computer system pseudo rewritable.
【0002】[0002]
【従来の技術】従来、書き換え不可能な読み出し専用記
憶装置(例えば、ROMやCD−ROMなどであって、
以下、ROMと称する)に記憶されたデータを修正する
技術は特になく、従って、機能向上もしくは障害修正等
の必要がある場合には、その修正量の多少にかかわらず
ROMそのものを交換していた。2. Description of the Related Art Conventionally, a non-rewritable read-only storage device (for example, a ROM or a CD-ROM,
There is no particular technique for correcting the data stored in the ROM (hereinafter, referred to as ROM). Therefore, when it is necessary to improve the function or correct the trouble, the ROM itself is replaced regardless of the correction amount. .
【0003】[0003]
【発明が解決しようとする課題】上述した従来の技術で
は、ROMに格納したデータを修正する場合には、それ
らを新しい読み出し専用記憶装置と交換することになる
ため、新規のROMの入手や、交換作業等に多くの費用
や時間がかかるという欠点がある。In the above-mentioned conventional technique, when the data stored in the ROM is modified, it is replaced with a new read-only storage device, so that a new ROM is obtained, There is a drawback that it takes a lot of money and time for replacement work.
【0004】本発明の目的は、このような課題を解決す
るものであって、ROMなどの記憶装置を交換すること
なく、疑似的に内容の修正を可能にし、修正のための費
用や時間を削減するパッチ方法を提供することにある。An object of the present invention is to solve such a problem and to enable pseudo modification of contents without replacing a storage device such as a ROM, thereby reducing the cost and time required for the modification. It is to provide a patch method to reduce.
【0005】[0005]
【課題を解決するための手段】本発明の読み出し専用記
憶装置のパッチ方法は、書き換え不可能なROMと、書
き換え可能な記憶装置とを備えるコンピュータシステム
において、あらかじめ前記書き換え可能な記憶装置に修
正データを格納しておき、前記ROMのデータ修正が必
要な場合は、前記ROMから該当データを読み出すとと
もに前記修正データを用いて修正し、前記ROMに格納
した前記データを疑似的に修正し更新することを特徴と
する。また、磁気ディスク装置もしくは不揮発性RAM
であってもよい。A patch method for a read-only storage device according to the present invention is a computer system including a non-rewritable ROM and a rewritable storage device. If it is necessary to modify the data in the ROM, read the corresponding data from the ROM, modify the data using the modified data, and artificially modify and update the data stored in the ROM. Is characterized by. Also, a magnetic disk device or a non-volatile RAM
May be
【0006】[0006]
【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の一実施例を実現する構成図であ
る。本実施例は、図1に示すように、書き換え不可能な
記憶装置であるCD−ROM装置(以下、ROM装置と
称する)3および書き換え可能な記憶装置である磁気デ
ィスク装置4を備えるとともに、ROM装置3を制御す
るためのCD−ROM制御BIOS(以下、BIOSと
称する)2を有するコンピュータシステムである。BI
OS(Basic I/O System:基本入出力
制御システム)は、オペレーションシステム(OS)の
中のハードウェアに依存する基本機能を制御する制御プ
ログラムでありソフトウェアに内蔵されている。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram for realizing an embodiment of the present invention. As shown in FIG. 1, this embodiment is provided with a CD-ROM device (hereinafter referred to as a ROM device) 3 which is a non-rewritable storage device and a magnetic disk device 4 which is a rewritable storage device, and a ROM. A computer system having a CD-ROM control BIOS (hereinafter referred to as BIOS) 2 for controlling the device 3. BI
The OS (Basic I / O System: Basic Input / Output Control System) is a control program for controlling the basic functions depending on the hardware in the operation system (OS), and is incorporated in the software.
【0007】磁気ディスク装置4には、あらかじめ対応
するROM装置の修正アドレスを示すパッチアドレス、
および修正データを記憶するパッチデータが書き込まれ
ているものとする。また、パッチアドレスよおびパッチ
データは、ROM装置3に搭載したCD−ROM媒体
(以下、ROM媒体と称する)の修正位置情報および修
正データであり、あらかじめ搭載するROM媒体に対応
するデータをフロッピィディスク装置(図示せず)など
から読み込んでおく。さらに、パッチテーブルは、対応
するROM媒体の修正アドレスおよび修正範囲、パッチ
データ上の修正データの記憶されているアドレスを対応
づけるものである。The magnetic disk device 4 has a patch address indicating the correction address of the corresponding ROM device in advance,
It is also assumed that patch data for storing correction data is written. The patch address and patch data are correction position information and correction data of a CD-ROM medium (hereinafter referred to as a ROM medium) mounted on the ROM device 3, and data corresponding to the ROM medium mounted in advance is stored on the floppy disk. It is read from a device (not shown) or the like. Further, the patch table associates the correction address and the correction range of the corresponding ROM medium with the address where the correction data on the patch data is stored.
【0008】ここで、本実施例のコンピュータシステム
において、アプリケーションプログラム1がBIOS2
に対しデータリードの要求を行うと、BIOS2はRO
M装置3に対してリード制御を行い(リード制御)、ア
プリケーションプログラム1から要求されたアドレスの
データを転送してリードバッファ21に読み込む(デー
タ転送)。次に、BIOS2はリードバッファ21に読
み込んだデータに対して修正データの有無を確認するた
め、磁気ディスク装置4からパッチテーブル23を読み
込む(パッチテーブルリード)。In the computer system of this embodiment, the application program 1 is the BIOS 2
When a data read request is made to the
Read control is performed on the M device 3 (read control), data at the address requested by the application program 1 is transferred and read into the read buffer 21 (data transfer). Next, the BIOS 2 reads the patch table 23 from the magnetic disk device 4 (patch table read) in order to confirm the presence / absence of correction data in the data read in the read buffer 21.
【0009】次に、アプリケーションプログラム1が要
求した読み込みアドレスに対する修正データがある場
合、BIOS2は、さらに、磁気ディスク装置4からパ
ッチデータ22、もしくはパッチデータ22中の対応す
る修正データを読み込み(パッチデータリード)、リー
ドバッファ21に読み込んだROM媒体のデータの修正
位置に対して修正(パッチ投入)を行う。続いて、BI
OS2は修正したリードバッファ21のデータをアプリ
ケーションプログラム1が要求したバッファアドレスへ
転送し複写する。以上の処理によりROM媒体のデータ
を修正し更新する。Next, when there is correction data for the read address requested by the application program 1, the BIOS 2 further reads the patch data 22 or the corresponding correction data in the patch data 22 from the magnetic disk device 4 (patch data). Read), and correction (patch input) is performed on the correction position of the ROM medium data read into the read buffer 21. Then BI
The OS 2 transfers the modified data in the read buffer 21 to the buffer address requested by the application program 1 and copies it. Through the above processing, the data on the ROM medium is corrected and updated.
【0010】なお、本実施例では書き換え可能な記憶装
置として磁気ディスク装置を用いた場合について説明し
たが、不揮発性RAMを用いても同様に実施可能であ
る。Although a magnetic disk device is used as a rewritable storage device in the present embodiment, it is also possible to use a nonvolatile RAM.
【0011】[0011]
【発明の効果】以上説明したように本発明によれば、コ
ンピュータシステムに接続された書き込み不可能な記憶
装置であるROMやCD−ROMに格納したデータを修
正する場合、ROMやCD−ROMそのものを交換する
ことなく、磁気ディスク装置に格納した修正データを用
いて疑似的に修正し更新するため、修正のための費用や
時間を削減できるという効果がある。As described above, according to the present invention, when the data stored in the ROM or the CD-ROM, which is a non-writable storage device connected to the computer system, is corrected, the ROM or the CD-ROM itself. Since it is pseudo-corrected and updated using the correction data stored in the magnetic disk device without exchanging the data, there is an effect that the cost and time for the correction can be reduced.
【図1】本発明の一実施例の概要を示す構成図である。FIG. 1 is a configuration diagram showing an outline of an embodiment of the present invention.
【符号の説明】 1 アプリケーションプログラム 2 CD−ROM制御BIOS(BIOS) 3 CD−ROM装置(ROM装置) 4 磁気ディスク装置 21 リードバッファ 22 パッチデータ 23 パッチテーブル[Explanation of Codes] 1 application program 2 CD-ROM control BIOS (BIOS) 3 CD-ROM device (ROM device) 4 magnetic disk device 21 read buffer 22 patch data 23 patch table
Claims (2)
(ROM)と、書き換え可能な記憶装置とを備えるコン
ピュータシステムにおいて、あらかじめ前記書き換え可
能な記憶装置に修正データを格納しておき、前記読み出
し専用記憶装置のデータ修正が必要な場合は、前記読み
出し専用記憶装置から該当データを読み出すとともに前
記修正データを用いて修正し、前記読み出し専用記憶装
置に格納した前記データを疑似的に修正し更新すること
を特徴とする読み出し専用記憶装置のパッチ方法。1. In a computer system comprising a non-rewritable read-only storage device (ROM) and a rewritable storage device, correction data is stored in advance in the rewritable storage device, and the read-only storage is stored. When the data correction of the device is necessary, it is necessary to read the corresponding data from the read-only storage device, correct the data using the correction data, and artificially correct and update the data stored in the read-only storage device. A method of patching a read-only storage device characterized.
装置もしくは不揮発性RAMであることを特徴とする請
求項1記載の読み出し専用記憶装置のパッチ方法。2. The patch method for a read-only storage device according to claim 1, wherein the rewritable storage device is a magnetic disk device or a non-volatile RAM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5277208A JPH07129396A (en) | 1993-11-08 | 1993-11-08 | Method for patching read-only storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5277208A JPH07129396A (en) | 1993-11-08 | 1993-11-08 | Method for patching read-only storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07129396A true JPH07129396A (en) | 1995-05-19 |
Family
ID=17580322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5277208A Pending JPH07129396A (en) | 1993-11-08 | 1993-11-08 | Method for patching read-only storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07129396A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6330712B1 (en) * | 1997-11-12 | 2001-12-11 | Nec Corporation | Compressed data patch system |
KR100717110B1 (en) * | 2006-02-21 | 2007-05-10 | 삼성전자주식회사 | Rom data patch circuit, embedded system including the same and method of patching rom data |
-
1993
- 1993-11-08 JP JP5277208A patent/JPH07129396A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6330712B1 (en) * | 1997-11-12 | 2001-12-11 | Nec Corporation | Compressed data patch system |
KR100717110B1 (en) * | 2006-02-21 | 2007-05-10 | 삼성전자주식회사 | Rom data patch circuit, embedded system including the same and method of patching rom data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3439033B2 (en) | Interrupt control device and processor | |
US20030043634A1 (en) | Semiconductor memory device with block-unit erase type nonvolatile memory | |
JPH0810437B2 (en) | Guest execution control method for virtual machine system | |
JPH07129396A (en) | Method for patching read-only storage device | |
US5386553A (en) | Disk file updating control device and method using updating data stored in a first-in-first-out queue | |
US7107407B2 (en) | Arithmetic unit with reduced startup time and method of loading data | |
JP3425724B2 (en) | System uninterrupted program switching method | |
JP3114907B2 (en) | How to change the sequence program of the programmable controller | |
JPS6252333B2 (en) | ||
JPH03103951A (en) | Memory patrol control system | |
JPS6310234A (en) | Interruption processor | |
JP2604604B2 (en) | Stack control device | |
JP2003187583A (en) | Semiconductor memory device and controller | |
JPS59144955A (en) | Information processor | |
JPH01201728A (en) | Program correcting system | |
JPH02165354A (en) | Auxiliary storage device | |
JPH1027153A (en) | Bus transfer device | |
JPH03110641A (en) | Dump output control method | |
JPH0667914A (en) | Control storage read error correcting system | |
JPS6345603A (en) | Program storing system for programmable controller | |
JPH08185319A (en) | Microcomputer and its program correction method | |
JPH03233760A (en) | Document generating machine | |
JPH04361320A (en) | Computer system | |
JPH04119443A (en) | Computer network system | |
JPH04312126A (en) | Data processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19981104 |